Structure representing a BLE write event.
Public Attributes#
uint8_t
remote device address
uint8_t
Reserved for future use.
uint8_t
Type of the event received from the remote device
RSI_BLE_WRITE_CMD_EVENT 0x01
RSI_BLE_WRITE_REQUEST_EVENT 0x02
RSI_BLE_NOTIFICATION_EVENT 0x03
RSI_BLE_INDICATION_EVENT 0x04.
uint8_t
attribute handle
uint8_t
length of attribute value
uint8_t
This contains the attribute value.
Public Attribute Documentation#
dev_addr#
uint8_t rsi_ble_event_write_s::dev_addr[RSI_DEV_ADDR_LEN]
remote device address
Definition at line
1026
of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h
reserved#
uint8_t rsi_ble_event_write_s::reserved
Reserved for future use.
Definition at line
1028
of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h
pkt_type#
uint8_t rsi_ble_event_write_s::pkt_type
Type of the event received from the remote device
RSI_BLE_WRITE_CMD_EVENT 0x01
RSI_BLE_WRITE_REQUEST_EVENT 0x02
RSI_BLE_NOTIFICATION_EVENT 0x03
RSI_BLE_INDICATION_EVENT 0x04.
Definition at line
1046
of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h
handle#
uint8_t rsi_ble_event_write_s::handle[2]
attribute handle
Definition at line
1048
of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h
length#
uint8_t rsi_ble_event_write_s::length
length of attribute value
Definition at line
1050
of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h
att_value#
uint8_t rsi_ble_event_write_s::att_value[RSI_DEV_ATT_LEN]
This contains the attribute value.
The maximum value is 240, see RSI_DEV_ATT_LEN Macro
Definition at line
1052
of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h