PebbleOS
Loading...
Searching...
No Matches
Functions
local_id.h File Reference
#include <pbl/bluetooth/types.h>
#include <pbl/bluetooth/id.h>

Functions

void bt_local_id_configure_driver (void)
 Configure the local name and cache the identity address, right after the stack starts.
 
void bt_local_id_set_device_name (const char *device_name)
 Override the device name.
 
void bt_local_id_copy_device_name (char name_out[PBL_BT_DEVICE_NAME_BUFFER_SIZE], bool is_le)
 Copy the device name.
 
void bt_local_id_copy_address (struct pbl_bt_addr *addr_out)
 Copy the local identity address.
 
void bt_local_id_copy_address_hex_string (char addr_hex_str_out[PBL_BT_BD_ADDR_FMT_BUFFER_SIZE])
 Format the local address as a hex string ("0x000000000000").
 
void bt_local_id_copy_address_mac_string (char addr_mac_str_out[PBL_BT_ADDR_FMT_BUFFER_SIZE])
 Format the local address as a MAC string ("00:00:00:00:00:00").
 
void bt_local_id_generate_address_from_serial (struct pbl_bt_addr *addr_out)
 Derive a static random address from the watch serial number.