Availability |
Obsolete for OPN-2500 and OPN-6000 |
Description |
This function changes the remote Bluetooth address and stores it in flash memory. |
Syntax |
void SetBltAddress( const char *address ); |
Arguments |
const char *address
Address holds the 12 (hex) digit unique Bluetooth address of the remote device to which the terminal will connect.
|
Returns |
None |
Remarks |
- GetBltAddress() retrieves the Bluetooth address.
|
Example |
#include <stdio.h>
#include "lib.h"
void main( void )
{
for(;;)
{
printf("\nchange address\n%s\nto\n008098344e59", GetBltAddress());
ResetKey();
while( !kbhit() )
Idle();
SetBltAddress("008098344e59");
printf("\nBlt Address:\n%s", GetBltAddress() );
ResetKey();
while( !kbhit() )
Idle();
}
}
|