NORA-W2 series - Hardware integration manual
UBX-22005177 - R01
Appendix
Page 55 of 61
C1
–
Public
4.
RespScanStatus
WiFiScanPayload {
WiFiScanMsgType msg = TypeRespScanStatus,
Status status = <status_of_command>,
RespScanStatus resp_scan_status = { //payload
scan_finished = <boolean>,
result_count = <number_of_available_networks>
}
}
Example (Java):
WiFiScanPayload payload = WiFiScanPayload.parseFrom(cmdResponse);
RespScanStatus response = payload.getRespScanStatus();
boolean scanFinished = response.getScanFinished();
int totalCount = response.getResultCount();
5.
CmdScanResult
WiFiScanPayload {
WiFiScanMsgType msg = TypeCmdScanResult,
CmdScanResult cmd_scan_result = { //payload
start_index = <start_index_to_read_from>,
count = <number_of_entities_to_read>
}
}
6.
RespScanResult
WiFiScanPayload {
WiFiScanMsgType msg = TypeCmdScanResult,
RespScanResult entries
= //WiFiScanResult
{
bytes ssid = <SSID_1>,
uint32 channel = <CHANNEL>,
int32 rssi = <RSSI>,
bytes bssid = <BSSID>,
WifiAuthMode auth = <WifiAuthMode>
},
{
bytes ssid = <SSID_2>,
uint32 channel = <CHANNEL>,
int32 rssi = <RSSI>,
bytes bssid = <BSSID>,
WifiAuthMode auth = <WifiAuthMode>
},
{
bytes ssid = <SSID_3>,
uint32 channel = <CHANNEL>,
int32 rssi = <RSSI>,
bytes bssid = <BSSID>,
WifiAuthMode auth = <WifiAuthMode>
},
{
bytes ssid = <SSID_4>,
uint32 channel = <CHANNEL>,
int32 rssi = <RSSI>,
bytes bssid = <BSSID>,
WifiAuthMode auth = <WifiAuthMode>
}
}