sl_bt_evt_connection_rssiConnection#

Triggered when an connection_get_rssi command has completed.

Data Structures#

struct  

sl_bt_evt_connection_rssi_s

Data structure of the rssi event.

Macros#

#define 

sl_bt_evt_connection_rssi_id   0x030600a0

Identifier of the rssi event.

Detailed Description#

Triggered when an connection_get_rssi command has completed.

Data Structure Documentation#

sl_bt_evt_connection_rssi_s#

struct sl_bt_evt_connection_rssi_s

Data structure of the rssi event.

Data Fields

uint8_t

connection

Connection handle

uint8_t

status

Command complete status:

  • 0x00: The command succeeded

  • 0x01-0xFF: The command failed. See Bluetooth Core specification v5.0 [Vol 2] Part D, Error Codes

int8_t

rssi

The median of the last seven measured RSSI values on the connection. Units: dBm. Range: -127 to +20. Ignore this parameter if the command fails.