Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
identifiers.h
Go to the documentation of this file.
1
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_IDENTIFIERS_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_IDENTIFIERS_H_
12
13#include <stdint.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
31uint64_t vendor_infuse_device_id(void);
39static inline uint64_t infuse_device_id(void)
40{
41#ifdef CONFIG_INFUSE_TEST_ID
42 return 0xFFFFFFFFFFFFFFFDULL;
43#else
44 return vendor_infuse_device_id();
45#endif /* CONFIG_INFUSE_TEST_ID */
46}
47
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* INFUSE_SDK_INCLUDE_INFUSE_IDENTIFIERS_H_ */
static uint64_t infuse_device_id(void)
Get local device ID.
Definition identifiers.h:39