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

SLE 广播数据单元 ( AD structure ) 更多...

#include <xf_sle_device_discovery_types.h>

xf_sle_adv_struct_t 的协作图:
Collaboration graph

成员变量

uint8_t struct_data_len
 
xf_sle_adv_struct_type_t type
 
xf_sle_adv_struct_data_t data
 

详细描述

SLE 广播数据单元 ( AD structure )

警告
这里的内存空间结构及成员并非严格按星闪标准定义的广播数据单元结构进行定义

以下为星闪标准定义的广播数据结构及广播数据单元 ( AD structure )所在的位置 (SLE、BLE 广播数据结构类似,但也有些区别,可与蓝牙标准中的广播数据结构进行对比观看)

| Type (1 octet) | Length (1 octet, len of content) | Content (Length octets) | ...... |
| ^ |
xf_sle_adv_struct_type_t type
示例
examples/wireless/sle/sample_ssap_server/main/xf_main.c.

在文件 xf_sle_device_discovery_types.h103 行定义.

结构体成员变量说明

◆ struct_data_len

uint8_t struct_data_len

广播数据单元的数据 (AD Data) 的长度

在文件 xf_sle_device_discovery_types.h104 行定义.

◆ type

◆ data

广播数据单元的数据 (AD Data),见 xf_sle_adv_struct_data_t

在文件 xf_sle_device_discovery_types.h106 行定义.


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