NORA-W2 series - Hardware integration manual
UBX-22005177 - R01
AWS IoT ExpressLink
Page 30 of 61
C1
–
Public
4.5.2.3
Wi-Fi list available networks
Request for available network list should be done in requests of maximum four entries per request.
The following sequence should be repeated until all reported networks are read.
1)
Write protobuf message
CmdScanResult(5)
to the GATT characteristic
“
prov-scan
(0xFF50)”
.
2)
Read protobuf response status message
RespScanResult(6)
from the GATT characteristic
“
prov-
scan (0xFF50)
”.
describes the Bluetooth Wi-Fi scan process.
Figure 10: Bluetooth LE Wi-Fi scan
4.5.3
Provision device
In this step, the device is provisioned. This means that the SSID and passphrase of the device is
configured. For message and command details, see the Wi-Fi provisioning messages in
4.5.3.1
Wi-Fi Set Configuration
1)
Write protobuf message
CmdSetConfig()
to GATT characteristic
“
prov-config (0xFF52)
”.
2)
Read protobuf response status message
RespSetConfig()
from the GATT characteristic
“
prov-
config (0xFF52)
”.
4.5.3.2
Wi-Fi Apply Configuration
1)
Write protobuf message
CmdApplyConfig()
to the GATT characteristic
“
prov-config (0xFF52)
”.
2)
Read protobuf response status message
RespApplyConfig()
from the GATT characteristic
“
prov-
config (0xFF52)
”.
4.5.3.3
Wi-Fi Get Provisioning Status
Request provisioning status. This command should be repeated while the returned state is
“Connecting”