Get the info of peers connected to the access point (When acting as an access point).
net_if_wifi.h/net_if_wifi.c
CPU_INT16U NetIF_WiFi_GetPeerInfo (NET_IF_NBR if_nbr, NET_IF_WIFI_PEER *p_buf_peer, CPU_INT16U buf_peer_len_max, NET_ERR *p_err) |
if_nbr | Wireless network interface number. |
p_buf_peer | Pointer to the buffer to save the peer information. |
buf_peer_len_max | Length in bytes of p_buf_peer. |
p_err | Pointer to variable that will receive the return error code from this function : NET_IF_ERR_NONE NET_IF_WIFI_ERR_GET_PEER_INFO |
Number of peers on the network and that are set in the buffer.
None.
This function can be called only when the wireless device is configured to act as an Wifi Infrastructure Access point.