nRF Connect SDK API 2.8.99
|
API for the Direction and Distance Finding Service (DDFS). More...
Data Structures | |
struct | bt_ddfs_features |
struct | bt_ddfs_dm_config |
Distance Measurement configuration parameters. More... | |
struct | bt_ddfs_cb |
Pointers to the callback functions for service events. More... | |
struct | bt_ddfs_distance_measurement |
Structure of distance measurement results. More... | |
struct | bt_ddfs_azimuth_measurement |
Structure of azimuth measurement results. More... | |
struct | bt_ddfs_elevation_measurement |
Structure of elevation measurement results. More... | |
struct | bt_ddfs_init_params |
Direction and Distance Finding Service initialization parameters. More... | |
Macros | |
#define | BT_UUID_DDFS_VAL BT_UUID_128_ENCODE(0x21490000, 0x494a, 0x4573, 0x98af, 0xf126af76f490) |
UUID of the DDF Service. | |
#define | BT_UUID_DDFS_DISTANCE_MEAS_VAL BT_UUID_128_ENCODE(0x21490001, 0x494a, 0x4573, 0x98af, 0xf126af76f490) |
UUID of the Distance Measurement Characteristic. | |
#define | BT_UUID_DDFS_AZIMUTH_MEAS_VAL BT_UUID_128_ENCODE(0x21490002, 0x494a, 0x4573, 0x98af, 0xf126af76f490) |
UUID of the Azimuth Measurement Characteristic. | |
#define | BT_UUID_DDFS_ELEVATION_MEAS_VAL BT_UUID_128_ENCODE(0x21490003, 0x494a, 0x4573, 0x98af, 0xf126af76f490) |
UUID of the Elevation Measurement Characteristic. | |
#define | BT_UUID_DDFS_FEATURE_VAL BT_UUID_128_ENCODE(0x21490004, 0x494a, 0x4573, 0x98af, 0xf126af76f490) |
UUID of the Feature Characteristic. | |
#define | BT_UUID_DDFS_CTRL_POINT_VAL BT_UUID_128_ENCODE(0x21490005, 0x494a, 0x4573, 0x98af, 0xf126af76f490) |
UUID of the Control Point Characteristic. | |
#define | BT_UUID_DDFS BT_UUID_DECLARE_128(BT_UUID_DDFS_VAL) |
#define | BT_UUID_DDFS_DISTANCE_MEAS BT_UUID_DECLARE_128(BT_UUID_DDFS_DISTANCE_MEAS_VAL) |
#define | BT_UUID_DFFS_AZIMUTH_MEAS BT_UUID_DECLARE_128(BT_UUID_DDFS_AZIMUTH_MEAS_VAL) |
#define | BT_UUID_DFFS_ELEVATION_MEAS BT_UUID_DECLARE_128(BT_UUID_DDFS_ELEVATION_MEAS_VAL) |
#define | BT_UUID_DDFS_FEATURE BT_UUID_DECLARE_128(BT_UUID_DDFS_FEATURE_VAL) |
#define | BT_UUID_DFFS_CTRL_POINT BT_UUID_DECLARE_128(BT_UUID_DDFS_CTRL_POINT_VAL) |
Enumerations | |
enum | bt_ddfs_dm_ranging_mode { BT_DDFS_DM_RANGING_MODE_RTT , BT_DDFS_DM_RANGING_MODE_MCPD } |
enum | bt_ddfs_quality { BT_DDFS_QUALITY_OK , BT_DDFS_QUALITY_POOR , BT_DDFS_QUALITY_DO_NOT_USE , BT_DDFS_QUALITY_NONE } |
Functions | |
int | bt_ddfs_distance_measurement_notify (struct bt_conn *conn, const struct bt_ddfs_distance_measurement *measurement) |
Function for sending Distance Measurement value. | |
int | bt_ddfs_azimuth_measurement_notify (struct bt_conn *conn, const struct bt_ddfs_azimuth_measurement *measurement) |
Function for sending Azimuth Measurement value. | |
int | bt_ddfs_elevation_measurement_notify (struct bt_conn *conn, const struct bt_ddfs_elevation_measurement *measurement) |
Function for sending Elevation Measurement value. | |
int | bt_ddfs_init (const struct bt_ddfs_init_params *init) |
Function for initializing the Direction and Distance Finding Service. | |
API for the Direction and Distance Finding Service (DDFS).