|
PebbleOS
|
Functions | |
| struct pbl_bt_device | bt_device_init_with_address (struct pbl_bt_addr address, bool is_random) |
| Create an LE device from its address. | |
| struct pbl_bt_addr | bt_device_get_address (struct pbl_bt_device device) |
| Get the address of a device. | |
| bool | bt_device_address_equal (const struct pbl_bt_addr *addr1, const struct pbl_bt_addr *addr2) |
| Compare two addresses. | |
| bool | bt_device_address_is_invalid (const struct pbl_bt_addr *addr) |
| Check whether an address is invalid. | |
| bool | bt_device_internal_equal (const struct pbl_bt_device_internal *device1_int, const struct pbl_bt_device_internal *device2_int) |
| Compare two devices: address, address type and transport. | |
| bool | bt_device_equal (const struct pbl_bt_device *device1, const struct pbl_bt_device *device2) |
| Compare two devices, see bt_device_internal_equal(). | |
| bool | bt_device_is_invalid (const struct pbl_bt_device *device) |
| Check whether a device is invalid, such as one returned by an API that found no device. | |