PebbleOS v4.47.0-512-g5285d4236
Loading...
Searching...
No Matches
Local identity

Local device name and addresses. More...

Functions

void pbl_bt_id_set_local_device_name (const char device_name[PBL_BT_DEVICE_NAME_BUFFER_SIZE])
 Set the local device name, served by the GAP service.
 
void pbl_bt_id_copy_local_identity_address (struct pbl_bt_addr *addr_out)
 Get the local identity address.
 
void pbl_bt_id_copy_chip_info_string (char *dest, size_t dest_size)
 Get a human-readable string identifying the Bluetooth chip.
 

Detailed Description

Local device name and addresses.

Function Documentation

◆ pbl_bt_id_copy_chip_info_string()

void pbl_bt_id_copy_chip_info_string ( char *  dest,
size_t  dest_size 
)

Get a human-readable string identifying the Bluetooth chip.

Used by manufacturing for part tracking. The NimBLE backend returns "NimBLE".

Parameters
[out]destBuffer to copy the string into.
dest_sizeSize of dest in bytes.

◆ pbl_bt_id_copy_local_identity_address()

void pbl_bt_id_copy_local_identity_address ( struct pbl_bt_addr *  addr_out)

Get the local identity address.

Parameters
[out]addr_outThe address.

◆ pbl_bt_id_set_local_device_name()

void pbl_bt_id_set_local_device_name ( const char  device_name[PBL_BT_DEVICE_NAME_BUFFER_SIZE])

Set the local device name, served by the GAP service.

Parameters
device_nameNUL-terminated name.