qwf_wifi_GetApClients()
Get the list of clients connected to the active Access Point
Synopsis:
#include <qwf/qwf_wifi.h>qwf_wifi_Results_e qwf_wifi_GetApClients(qwf_Context_t *pCtx,
uint8_t *pNumEntries,
qwf_wifi_ApClientData_t *const pApClientArray)Arguments:
- pCtx
- A pointer to the QWF service context
- pNumEntries
- On input, a pointer to memory specifying the number of clients requested. The array pointed to by pApClientArray should be sized using this value. On output, the memory pointed to by pNumEntries stores the number of entries written into the array. This new value represents the number of connected clients and may be less than what was requested.
- pApClientArray
- A pointer to memory for storing the list of connected clients as an array of qwf_wifi_ApClientData_t structures
Library:
qwf_interfaceReturns:
WIFI_OK Successful result
WIFI_ERR_INACTIVE The QWF Wi-Fi Manager service is inactive or not ready
WIFI_ERR_INT The QWF Wi-Fi Manager service couldn't issue the request or read the response
WIFI_ERR_NOT_EXIST There's no active Access Point
WIFI_ERR_PARAM A pointer argument is NULL, or 0 clients were requested
Page updated:
