Structure indicates the received write information from the remote device.

Public Attributes#

uint8_t
uint8_t
uint8_t
uint8_t
uint8_t
uint8_t

Public Attribute Documentation#

dev_addr#

uint8_t rsi_ble_event_write_s::dev_addr[RSI_DEV_ADDR_LEN]

remote device address


reserved#

uint8_t rsi_ble_event_write_s::reserved

Reserved for future use


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


handle#

uint8_t rsi_ble_event_write_s::handle[2]

attribute handle


length#

uint8_t rsi_ble_event_write_s::length

length of attribute value


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, refer to RSI_DEV_ATT_LEN Macro