Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

net_if_wifi.h/net_if_wifi.c

Prototype

 

Code Block
languagecpp
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)

...

Arguments

if_nbrWireless network interface number.
p_buf_peerPointer to the buffer to save the peer information.
buf_peer_len_maxLength in bytes of p_buf_peer.
p_errPointer to variable that will receive the return error code from this function :

NET_IF_ERR_NONE
NET_IF_WIFI_ERR_GET_PEER_INFO

Returned Value

Number of peers on the network and that are set in the buffer.

...