XFusion API v1.3.0
|
BLE GATTS 接收到写请求事件的参数 更多...
#include <xf_ble_gatt_server_types.h>
成员变量 | |
uint8_t | app_id |
uint16_t | conn_id |
uint32_t | trans_id |
uint16_t | handle |
uint16_t | offset |
bool | need_rsp |
bool | need_authorize |
bool | is_prep |
uint16_t | value_len |
uint8_t * | value |
BLE GATTS 接收到写请求事件的参数
在文件 xf_ble_gatt_server_types.h 第 229 行定义.
uint8_t app_id |
服务端 (应用) ID
在文件 xf_ble_gatt_server_types.h 第 230 行定义.
uint16_t conn_id |
链接 (连接) ID
在文件 xf_ble_gatt_server_types.h 第 231 行定义.
uint32_t trans_id |
传输 ID
在文件 xf_ble_gatt_server_types.h 第 232 行定义.
uint16_t handle |
属性句柄
在文件 xf_ble_gatt_server_types.h 第 233 行定义.
uint16_t offset |
值偏移 (如果值过长)
在文件 xf_ble_gatt_server_types.h 第 234 行定义.
bool need_rsp |
是否需要响应 (回应)
在文件 xf_ble_gatt_server_types.h 第 235 行定义.
bool need_authorize |
是否需要授权
在文件 xf_ble_gatt_server_types.h 第 236 行定义.
bool is_prep |
是否是 prepare write 操作
在文件 xf_ble_gatt_server_types.h 第 237 行定义.
uint16_t value_len |
属性值长度
在文件 xf_ble_gatt_server_types.h 第 238 行定义.
uint8_t* value |