nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
ras_rd_buffer Struct Reference

RAS Ranging Data buffer structure. More...

#include <ras.h>

Data Fields

struct bt_conn * conn
 
uint16_t ranging_counter
 
uint16_t subevent_cursor
 
atomic_t refcount
 
bool ready
 
bool busy
 
bool acked
 
union { 
 
   uint8_t   buf [(4+(32 *8)+(256 *1)+(256 *MAX(MAX(MAX(sizeof(struct
      bt_hci_le_cs_step_data_mode_0_initiator),
       sizeof(struct
      bt_hci_le_cs_step_data_mode_0_reflector)),
      (sizeof(struct
      bt_hci_le_cs_step_data_mode_1))),
      (sizeof(struct
      bt_hci_le_cs_step_data_mode_2)+((CONFIG_BT_RAS_MAX_ANTENNA_PATHS+1)
      *sizeof(struct
      bt_hci_le_cs_step_data_tone_info))))))] 
 
   struct { 
 
      struct ras_ranging_header   ranging_header 
 
      uint8_t   subevents [] 
 
   }  
 
procedure 
 

Detailed Description

RAS Ranging Data buffer structure.

Provides storage and metadata to store a complete Ranging Data body as defined in RAS Specification, Section 3.2.1.2. Buffers can be accessed by the application and RRSP concurrently, and will not be overwritten while any references are held via bt_ras_rd_buffer_claim.

Note
The following CS subevent fields are not included by specification: subevent count, step channel, step length.

The documentation for this struct was generated from the following file: