|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
| errcode_t wifi_p2p_connect | ( | const p2p_config_stru * | p2p_config | ) |
p2p主动连接。
| errcode_t wifi_p2p_connect_accept | ( | const p2p_config_stru * | p2p_config, |
| int | assoc | ||
| ) |
p2p是否接受对端的连接。
| errcode_t wifi_p2p_connect_cancel | ( | void | ) |
停止p2p设备连接。
| errcode_t wifi_p2p_disable | ( | void | ) |
P2P关闭。
| errcode_t wifi_p2p_disconnect | ( | void | ) |
p2p断连。
| errcode_t wifi_p2p_enable | ( | void | ) |
P2P开启。
| errcode_t wifi_p2p_find | ( | int32_t | sec | ) |
触发p2p设备扫描搜索。
| errcode_t wifi_p2p_get_connect_info | ( | p2p_status_info_stru * | status | ) |
显示p2p的连接状态信息。
| errcode_t wifi_p2p_get_device_config | ( | p2p_device_config_stru * | p2p_dev_set_info | ) |
获取p2p设备信息。
| errcode_t wifi_p2p_get_peers_info | ( | p2p_device_stru * | dev_list, |
| uint32_t * | dev_num | ||
| ) |
获取搜索到的p2p设备信息。
| errcode_t wifi_p2p_go_get_gc_info | ( | p2p_client_info_stru * | client_list, |
| uint32_t * | client_num | ||
| ) |
p2p go获取已连接的client的信息。
| int32_t wifi_p2p_is_enabled | ( | void | ) |
获取P2P使能状态。
| errcode_t wifi_p2p_listen | ( | uint32_t | period, |
| uint32_t | interval | ||
| ) |
停止p2p设备连接。
| errcode_t wifi_p2p_set_device_config | ( | const p2p_device_config_stru * | p2p_dev_set_info | ) |
设置p2p设备信息。
| errcode_t wifi_p2p_stop_find | ( | void | ) |
停止p2p设备扫描。