12#include <zephyr/types.h>
13#include <zephyr/kernel.h>
14#include <zephyr/bluetooth/addr.h>
97#ifdef CONFIG_DM_HIGH_PRECISION_CALC
dm_dev_role
Role definition.
Definition: dm.h:28
@ DM_ROLE_REFLECTOR
Definition: dm.h:36
@ DM_ROLE_NONE
Definition: dm.h:30
@ DM_ROLE_INITIATOR
Definition: dm.h:33
int dm_request_add(struct dm_request *req)
Add measurement request.
int dm_init(struct dm_init_param *init_param)
Initialize the DM.
dm_quality
Measurement quality definition.
Definition: dm.h:49
@ DM_QUALITY_OK
Definition: dm.h:51
@ DM_QUALITY_POOR
Definition: dm.h:54
@ DM_QUALITY_NONE
Definition: dm.h:63
@ DM_QUALITY_DO_NOT_USE
Definition: dm.h:57
@ DM_QUALITY_CRC_FAIL
Definition: dm.h:60
dm_ranging_mode
Ranging mode definition.
Definition: dm.h:40
@ DM_RANGING_MODE_MCPD
Definition: dm.h:45
@ DM_RANGING_MODE_RTT
Definition: dm.h:42
void(* data_ready)(struct dm_result *result)
Data ready.
Definition: dm.h:119
Event callback structure.
Definition: dm.h:110
struct dm_cb * cb
Definition: dm.h:125
DM initialization parameters.
Definition: dm.h:123
uint32_t start_delay_us
Definition: dm.h:145
bt_addr_le_t bt_addr
Definition: dm.h:134
enum dm_ranging_mode ranging_mode
Definition: dm.h:142
uint32_t rng_seed
Definition: dm.h:139
uint32_t extra_window_time_us
Definition: dm.h:148
enum dm_dev_role role
Definition: dm.h:131
DM request structure.
Definition: dm.h:129
union dm_result::@175 dist_estimates
float ifft
Definition: dm.h:86
float best
Definition: dm.h:95
enum dm_quality quality
Definition: dm.h:74
enum dm_ranging_mode ranging_mode
Definition: dm.h:80
float phase_slope
Definition: dm.h:89
bt_addr_le_t bt_addr
Definition: dm.h:77
bool status
Definition: dm.h:71
float rtt
Definition: dm.h:104
struct dm_result::@175::mcpd mcpd
float rssi_openspace
Definition: dm.h:92
Distance Measurement result structure.
Definition: dm.h:67