openaliro
Aliro reader: UWB/CCC core and ESP32-S3/C5/C6 port
Loading...
Searching...
No Matches
aliro_uwb_msg_spec.h File Reference

— UWB ranging-service framing constants. More...

#include <stdint.h>
Include dependency graph for aliro_uwb_msg_spec.h:

Go to the source code of this file.

Macros

#define ALIRO_HEADER_LENGTH   4
 Framing: protocol type + message id + 2-byte big-endian payload length.
 
#define ALIRO_ATTRIBUTE_HEADER_LENGTH   2
 Per-attribute framing: attribute id + attribute length.
 
#define ALIRO_UWB_RANGING_SERVICE_STATUS_ACCEPT   0
 Status attribute values (suspend/resume responses).
 
#define ALIRO_UWB_NOTIFICATION_GENERAL_ERROR_UNKNOWN   0
 General-error notification codes.
 

Enumerations

enum  aliro_uwb_message_protocol_type
 Protocol type field (header byte 0).
 
enum  aliro_uwb_message_ranging_service
 Message id field for the UWB Ranging Service protocol.
 
enum  aliro_uwb_message_notification
 Message id field for the Notification protocol.
 
enum  aliro_uwb_message_notification_event_attribute
 Attribute ids inside an Event notification.
 
enum  aliro_uwb_message_notification_ranging_attribute
 Attribute ids inside a Ranging notification.
 

Detailed Description

— UWB ranging-service framing constants.