XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_ble_gatts_evt_cb_param_t联合体 参考

GATT 服务端事件回调参数 更多...

#include <xf_ble_gatt_server_types.h>

xf_ble_gatts_evt_cb_param_t 的协作图:
Collaboration graph

成员变量

xf_ble_evt_param_connect_t connect
 
xf_ble_evt_param_disconnect_t disconnect
 
xf_ble_evt_param_pair_end_t pair_end
 
xf_ble_evt_param_gatts_add_service_t add_service
 
xf_ble_evt_param_gatts_del_service_t del_service
 
xf_ble_evt_param_gatts_add_chara_t add_chara
 
xf_ble_evt_param_gatts_add_chara_desc_t add_chara_desc
 
xf_ble_evt_param_gatts_service_start_t service_start
 
xf_ble_evt_param_gatts_service_stop_t service_stop
 
xf_ble_evt_param_gatts_read_req_t read_req
 
xf_ble_evt_param_gatts_write_req_t write_req
 
xf_ble_evt_param_gatts_mtu_t mtu
 

详细描述

GATT 服务端事件回调参数

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

在文件 xf_ble_gatt_server_types.h254 行定义.

结构体成员变量说明

◆ connect

连接事件的参数, xf_ble_evt_param_connect_t XF_BLE_GAP_EVT_CONNECT

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

在文件 xf_ble_gatt_server_types.h255 行定义.

◆ disconnect

断连事件的参数, xf_ble_evt_param_disconnect_t XF_BLE_GAP_EVT_DISCONNECT

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

在文件 xf_ble_gatt_server_types.h259 行定义.

◆ pair_end

配对结束事件的参数, xf_ble_evt_param_pair_end_t XF_BLE_GAP_EVT_PAIR_END

在文件 xf_ble_gatt_server_types.h263 行定义.

◆ add_service

服务添加事件的参数, xf_ble_evt_param_gatts_add_service_t XF_BLE_GATTS_EVT_ADD_SERVICE

在文件 xf_ble_gatt_server_types.h267 行定义.

◆ del_service

服务移除事件的参数, xf_ble_evt_param_gatts_del_service_t XF_BLE_GATTS_EVT_DEL_SERVICE

在文件 xf_ble_gatt_server_types.h272 行定义.

◆ add_chara

特征添加事件的参数, xf_ble_evt_param_gatts_add_chara_t XF_BLE_GATTS_EVT_ADD_CHARA

在文件 xf_ble_gatt_server_types.h277 行定义.

◆ add_chara_desc

特征描述符添加事件的参数, xf_ble_evt_param_gatts_add_chara_desc_t XF_BLE_GATTS_EVT_ADD_DESC

在文件 xf_ble_gatt_server_types.h282 行定义.

◆ service_start

服务启动事件的参数, xf_ble_evt_param_gatts_service_start_t XF_BLE_GATTS_EVT_SERVICE_START

在文件 xf_ble_gatt_server_types.h287 行定义.

◆ service_stop

服务停止事件的参数, xf_ble_evt_param_gatts_service_stop_t XF_BLE_GATTS_EVT_SERVICE_STOP

在文件 xf_ble_gatt_server_types.h292 行定义.

◆ read_req

接收到读请求事件的参数, xf_ble_evt_param_gatts_read_req_t XF_BLE_GATTS_EVT_REQ_READ

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

在文件 xf_ble_gatt_server_types.h297 行定义.

◆ write_req

接收到写请求事件的参数, xf_ble_evt_param_gatts_write_req_t XF_BLE_GATTS_EVT_REQ_WRITE

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

在文件 xf_ble_gatt_server_types.h302 行定义.

◆ mtu

MTU 变更事件的参数, xf_ble_evt_param_gatts_mtu_t XF_BLE_GATTS_EVT_MTU_CHANGED

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

在文件 xf_ble_gatt_server_types.h307 行定义.


该联合体的文档由以下文件生成: