WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
ext_wifi_any_peer_info结构体 参考

#include <soc_any_api.h>

成员变量

unsigned char mac [6]
 
unsigned char channel
 
bool has_key
 
unsigned char key [16]
 

详细描述

Struct of peer's information.CNcomment:用户向驱动配置的对端设备信息数据CNend

结构体成员变量说明

◆ channel

unsigned char ext_wifi_any_peer_info::channel

the channel number of peer device,the value 0xFF means current channel. CNcomment: 对端所在信道号,驱动对该信息仅做存储,0xFF表示当前信道

◆ has_key

bool ext_wifi_any_peer_info::has_key

whether need key for packet encryption,if true,key shall be specified. CNcomment: 是否配置通信密钥,是则填true,并在key中传入密钥,否则填false

◆ key

unsigned char ext_wifi_any_peer_info::key[16]

the key for packet encryption,it consists of 16 bytes. CNcomment: 用于加密通信的密钥,填充的密钥固定为16字节长度

◆ mac

unsigned char ext_wifi_any_peer_info::mac[6]

the MAC address for peer device. CNcomment: 收发操作的对端MAC地址


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