x
x
Smartphone App
Networking Subsystem
Host
APIs blocked
‘••‡…– –‘ ‹•’Ž‡ ‹••
?
Connect to the Cloud server
Get results from the Cloud
server
Wait for profile configuration
Start profile confirmation
Provisioning ended
Provisioning Command
(Start AP+SC)
Profile added event
WLAN connected event
IP acquired event
Provisioning stopped event
APIs allowed
Connect to AP from profile
Add profile (HTTP)
Request to confirm profile (HTTP)
Socket commands
(Connect to the Cloud server
and send results)
Provisioning Command
(Stop Provisioning)
Usage Examples
220
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
Provisioning
15.11.5 Successful AP Provisioning With Cloud Confirmation
depicts a successful AP provisioning with cloud confirmation.
Figure 15-7. Successful AP Provisioning With Cloud Confirmation
When feedback is provided through a cloud server (external confirmation), the host can send commands
to the networking subsystem to connect the cloud-based server only after the IP acquired event is
received.
Because the networking subsystem is unaware of the results coming from the cloud server, the host is
responsible for stopping the provisioning process (and for ordering the networking subsystem to stay in its
active role – STA), in case confirmation is successful. For the same reason, the host must order the
networking subsystem to stop the profile confirmation attempt (by sending the
ABORT_EXTERNAL_CONFIRMATION command) in case confirmation failed.