nRF Connect SDK API 0.1.0
|
#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
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. | |