|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Infuse-IoT identifier API. More...
Macros | |
| #define | INFUSE_TEST_DEVICE_ID 0xFFFFFFFFFFFFFFFDULL |
| Test device ID with fixed keys that cloud knows about. | |
| #define | INFUSE_LOCALLY_MANAGED_PREFIX 0xFFFF000000000000ULL |
| Address prefix for locally managed addesses. | |
| #define | BLUETOOTH_STATIC_RANDOM_PREFIX 0xC00000000000ULL |
| Top two bits of a static random Bluetooth address must always be set. | |
Functions | |
| uint64_t | infuse_device_id (void) |
| Get local device ID. | |
| static uint64_t | local_infuse_device_id_from_bt (uint64_t bt_addr) |
| Convert a Bluetooth address to a locally managed Infuse-Iot device ID. | |
Infuse-IoT identifier API.
| #define BLUETOOTH_STATIC_RANDOM_PREFIX 0xC00000000000ULL |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/identifiers.h>
Top two bits of a static random Bluetooth address must always be set.
| #define INFUSE_LOCALLY_MANAGED_PREFIX 0xFFFF000000000000ULL |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/identifiers.h>
Address prefix for locally managed addesses.
| #define INFUSE_TEST_DEVICE_ID 0xFFFFFFFFFFFFFFFDULL |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/identifiers.h>
Test device ID with fixed keys that cloud knows about.
| uint64_t infuse_device_id | ( | void | ) |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/identifiers.h>
Get local device ID.
|
inlinestatic |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/identifiers.h>
Convert a Bluetooth address to a locally managed Infuse-Iot device ID.
| bt_addr | 48 bit Bluetooth address to convert |