Using Wi-Fi RAW data
Using Wi-Fi scan allows you to fix a position also in the most challenging environments where GNSS signals is obstructed or it has multiple reflection. In such cases, fixing the position with GNSS might take several tens of seconds, thus consuming a significant amount of energy, with the risk of not being able to fix a position anyway,
Wi-Fi location is based on the fingerprinting technology and requires to submit to CloudLocate service the following information for each visible access point:
BSSID: it's the identifier of the AP, made up of 6 octets without any separator (for example "9112684715b4")
SignalStrength: it's the received signal level. It might be reported in different ways according to the module vendor. The API requires a negative value (dBm).
Channel: it's the WiFi channel used by the AP
For privacy reason, you shall send a minimum of 2 access points.
Using u-blox NINA-W15 series module
To obtain the list of Wi-Fi access points using a u-blox NINA-W15x Wi-Fi module, all you need to do is to send an AT command to the module that returns the required number of access points and their relevant information. The command is given as following:
The response from the scan is returned as following:
From the given response, relevant information can be extracted and passed in to the Wi-Fi measurement section of CloudLocate. For example, AT command gives a response as:
The given response can be mapped to CloudLocate payload without any conversion
Using u-blox NORA-W36 series
As for u-blox NINA-W15x series, also for NORA-W36 series you need an AT command to get the list of Wi-Fi Access Points visible by the device.
where scan mode can be Active (0) or Passive (1)
The output is in the format
and here below an example of a real output with 5 access points
and the corresponding JSON payload
You can find further details about the output in the AT command manual
Using third party Wi-Fi modems
If you are using a modem not belonging to u-blox portfolio, feel free to contact the support so that we can help you. Aa first step we suggest you to look at the modem interface specification/technical documentation to see how you can perform a network scan and retrieve the required parameter.