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#
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.
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