Availability |
All terminals |
Description |
This function returns the current local name that's stored in flash memory. |
Syntax |
char* GetBltLocalName( void ); |
Arguments |
None |
Returns |
An character pointer to the local name stored in flash memory. |
Remarks |
The Bluetooth local name can be changed using the SetBltLocalName() function. |
Example |
#include <stdio.h>
#include "lib.h"
void main( void )
{
for(;;)
{
printf("\nLocal name: %s", GetBltLocalName());
ResetKey();
while( !kbhit() )
Idle();
SetBltLocalName(MODEL_NAME"_EXAMPLE");
}
}
|