XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_ble_evt_param_gatts_write_req_t结构体 参考

BLE GATTS 接收到写请求事件的参数 更多...

#include <xf_ble_gatt_server_types.h>

xf_ble_evt_param_gatts_write_req_t 的协作图:
Collaboration graph

成员变量

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.h229 行定义.

结构体成员变量说明

◆ app_id

uint8_t app_id

服务端 (应用) ID

在文件 xf_ble_gatt_server_types.h230 行定义.

◆ conn_id

uint16_t conn_id

◆ trans_id

uint32_t trans_id

传输 ID

在文件 xf_ble_gatt_server_types.h232 行定义.

◆ handle

uint16_t handle

◆ offset

uint16_t offset

值偏移 (如果值过长)

在文件 xf_ble_gatt_server_types.h234 行定义.

◆ need_rsp

bool need_rsp

是否需要响应 (回应)

示例
examples/wireless/ble/sample_gatt_server/main/xf_main.c.

在文件 xf_ble_gatt_server_types.h235 行定义.

◆ need_authorize

bool need_authorize

是否需要授权

在文件 xf_ble_gatt_server_types.h236 行定义.

◆ is_prep

bool is_prep

是否是 prepare write 操作

在文件 xf_ble_gatt_server_types.h237 行定义.

◆ value_len

uint16_t value_len

◆ value

uint8_t* value

该结构体的文档由以下文件生成: