nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ lwm2m_wifi_request_scan()

int lwm2m_wifi_request_scan ( void )

#include <include/net/lwm2m_client_utils_location.h>

Request a Wi-Fi scan for nearby access points.

The Wi-Fi access points are added to the Visible Wi-Fi Access Point objects (ID 33627) and used for the Wi-Fi based location when sending a ground fix request.

Returns
Returns a negative error code (errno.h) indicating the reason for failure or 0 for success.