nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Distance Measurement API

API for the Distance Measurement (DM). More...

Data Structures

struct  dm_result
 Distance Measurement result structure. More...
 
struct  dm_cb
 Event callback structure. More...
 
struct  dm_init_param
 DM initialization parameters. More...
 
struct  dm_request
 DM request structure. More...
 

Enumerations

enum  dm_dev_role { DM_ROLE_NONE , DM_ROLE_INITIATOR , DM_ROLE_REFLECTOR }
 Role definition. More...
 
enum  dm_ranging_mode { DM_RANGING_MODE_RTT , DM_RANGING_MODE_MCPD }
 Ranging mode definition. More...
 
enum  dm_quality {
  DM_QUALITY_OK , DM_QUALITY_POOR , DM_QUALITY_DO_NOT_USE , DM_QUALITY_CRC_FAIL ,
  DM_QUALITY_NONE
}
 Measurement quality definition. More...
 

Functions

int dm_init (struct dm_init_param *init_param)
 Initialize the DM.
 
int dm_request_add (struct dm_request *req)
 Add measurement request.
 

Detailed Description

API for the Distance Measurement (DM).