Skip to content

Commit

Permalink
bluetooth: host: Add defines for mode 1 packet quality and RSSI
Browse files Browse the repository at this point in the history
Add some defines for packet quality and rssi for RTT,
these are useful for filtering out steps where the RTT exchange
was unsuccessful

Signed-off-by: Olivier Lesage <[email protected]>
  • Loading branch information
olivier-le-sage authored and nashif committed Oct 17, 2024
1 parent b1f34a1 commit 6c95478
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/zephyr/bluetooth/hci_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3521,6 +3521,12 @@ struct bt_hci_evt_le_cs_config_complete {
#define BT_HCI_LE_CS_PACKET_NADM_ATTACK_EXT_LIKELY 0x06
#define BT_HCI_LE_CS_PACKET_NADM_UNKNOWN 0xFF

#define BT_HCI_LE_CS_PACKET_QUALITY_AA_CHECK_SUCCESSFUL 0x0
#define BT_HCI_LE_CS_PACKET_QUALITY_AA_CHECK_BIT_ERRORS_FOUND 0x1
#define BT_HCI_LE_CS_PACKET_QUALITY_AA_CHECK_AA_NOT_FOUND 0x2

#define BT_HCI_LE_CS_PACKET_RSSI_NOT_AVAILABLE 0x7F

#define BT_HCI_EVT_LE_CS_SUBEVENT_RESULT 0x31
/** Subevent result step data format: Mode 0 Initiator */
struct bt_hci_le_cs_step_data_mode_0_initiator {
Expand Down

0 comments on commit 6c95478

Please sign in to comment.