Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
identifiers.h File Reference

Infuse-IoT device identifiers. More...

#include <stdint.h>

Go to the source code of this file.

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.

Detailed Description

Infuse-IoT device identifiers.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2