nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
ras.h File Reference
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/uuid.h>

Go to the source code of this file.

Data Structures

struct  ras_ranging_header
 Ranging Header structure as defined in RAS Specification, Table 3.7. More...
 
struct  ras_subevent_header
 Subevent Header structure as defined in RAS Specification, Table 3.8. More...
 

Macros

#define BT_UUID_RANGING_SERVICE_VAL   (0x185B)
 UUID of the Ranging Service.
 
#define BT_UUID_RAS_FEATURES_VAL   (0x2C14)
 UUID of the RAS Features Characteristic.
 
#define BT_UUID_RAS_REALTIME_RD_VAL   (0x2C15)
 UUID of the Real-time Ranging Data Characteristic.
 
#define BT_UUID_RAS_ONDEMAND_RD_VAL   (0x2C16)
 UUID of the On-demand Ranging Data Characteristic.
 
#define BT_UUID_RAS_CP_VAL   (0x2C17)
 UUID of the RAS Control Point Characteristic.
 
#define BT_UUID_RAS_RD_READY_VAL   (0x2C18)
 UUID of the Ranging Data Ready Characteristic.
 
#define BT_UUID_RAS_RD_OVERWRITTEN_VAL   (0x2C19)
 UUID of the Ranging Data Overwritten Characteristic.
 
#define BT_UUID_RANGING_SERVICE   BT_UUID_DECLARE_16(BT_UUID_RANGING_SERVICE_VAL)
 
#define BT_UUID_RAS_FEATURES   BT_UUID_DECLARE_16(BT_UUID_RAS_FEATURES_VAL)
 
#define BT_UUID_RAS_REALTIME_RD   BT_UUID_DECLARE_16(BT_UUID_RAS_REALTIME_RD_VAL)
 
#define BT_UUID_RAS_ONDEMAND_RD   BT_UUID_DECLARE_16(BT_UUID_RAS_ONDEMAND_RD_VAL)
 
#define BT_UUID_RAS_CP   BT_UUID_DECLARE_16(BT_UUID_RAS_CP_VAL)
 
#define BT_UUID_RAS_RD_READY   BT_UUID_DECLARE_16(BT_UUID_RAS_RD_READY_VAL)
 
#define BT_UUID_RAS_RD_OVERWRITTEN   BT_UUID_DECLARE_16(BT_UUID_RAS_RD_OVERWRITTEN_VAL)
 
#define BT_RAS_RANGING_HEADER_LEN   4
 
#define BT_RAS_SUBEVENT_HEADER_LEN   8
 
#define BT_RAS_STEP_MODE_LEN   1
 
#define BT_RAS_MAX_STEP_DATA_LEN   35