nRF Connect SDK API 2.8.99
|
API for Detecting Unwanted Location Trackers specification implementation. More...
Data Structures | |
struct | dult_firmware_version |
struct | dult_user |
struct | dult_id_read_state_cb |
struct | dult_sound_cb |
struct | dult_sound_state_param |
struct | dult_motion_detector_cb |
Motion detector callback structure. More... | |
Macros | |
#define | DULT_PRODUCT_DATA_LEN 8 |
#define | DULT_SOUND_DURATION_BT_GATT_MIN_MS (5000U) |
Functions | |
int | dult_user_register (const struct dult_user *user) |
Register DULT user. | |
int | dult_battery_level_set (const struct dult_user *user, uint8_t percentage_level) |
Set the current battery level. | |
int | dult_id_read_state_cb_register (const struct dult_user *user, const struct dult_id_read_state_cb *cb) |
Register DULT identifier read state callback structure. | |
int | dult_id_read_state_enter (const struct dult_user *user) |
Enter DULT identifier read state. | |
int | dult_sound_cb_register (const struct dult_user *user, const struct dult_sound_cb *cb) |
Register DULT sound callback structure. | |
int | dult_sound_state_update (const struct dult_user *user, const struct dult_sound_state_param *param) |
Update the sound state. | |
int | dult_motion_detector_cb_register (const struct dult_user *user, const struct dult_motion_detector_cb *cb) |
Register motion detector callbacks. | |
int | dult_near_owner_state_set (const struct dult_user *user, enum dult_near_owner_state_mode mode) |
Set the mode of the DULT near-owner state. | |
int | dult_enable (const struct dult_user *user) |
Enable DULT. | |
int | dult_reset (const struct dult_user *user) |
Reset DULT. | |
API for Detecting Unwanted Location Trackers specification implementation.
The Detecting Unwanted Location Trackers module can be used by location trackers devices to comply with the Detecting Unwanted Location Trackers specification (https://datatracker.ietf.org/doc/draft-detecting-unwanted-location-trackers/). The specification can be used with various location tracking networks. The API is not fully thread-safe and should be called from cooperative thread context.