Check network provisioning on an iOS app
Updated at:
Check logs to determine whether network provisioning for your iOS app was successful.
Successful one-click, zero-configuration, and router provisioning flow
// Network provisioning entry point
AWSS - IMLAddDeviceBiz:| Method entry point, setDevice
AWSS - IMLAddDeviceBiz:| Method entry point, startAddDevice // Start network provisioning
// Network provisioning parameter precheck
AWSS - IMLAddDeviceBiz:| Parameter precheck successful. Starting the relevant network provisioning flow selection.
########### Start of one-click provisioning flow ##############
// Enter the one-click provisioning flow to input the account and password.
AWSS - IMLAddDeviceBiz: | broadcast provision call back to input wifi info
// If the preceding flow runs but the toggleProvision method is not called, the flow ended before the account and password were entered.
AWSS - IMLAddDeviceBiz: | Method entry point, toggleProvision:...
########### End of one-click provisioning flow ##############
// The result of a successful provisioning is as follows:
AWSS - IMLAddDeviceBiz: | broadcast/hotspot/router/zero/ble provision success,device info: ...Successful hot spot provisioning flow
// Start discovering devices.
AWSS - IMLHotspotHelper: | Method entry point, start to discover devices for hot spots
// Device discovered successfully.
AWSS - IMLHotspotHelper: | discovered devices for hot spots callback devices....
// Send the SSID and password to the device.
AWSS - IMLHotspotHelper: | Method entry point, switch ap entry point input parameters......
// Sent successfully.
AWSS - IMLHotspotHelper: | isHadSwitchedAP success
AWSS - IMLAddDeviceBiz:| Method entry point, setDevice:
// Start network provisioning.
AWSS - IMLAddDeviceBiz: | Method entry point, startAddDevice:
// Precheck.
AWSS - IMLAddDeviceBiz: | Parameter precheck successful. Starting the relevant network provisioning flow selection.
// The result of a successful provisioning is as follows:
AWSS - IMLAddDeviceBiz: | broadcast/hotspot/router/zero/ble provision success,device info: ...Network provisioning failure logs
If network provisioning fails, the following log entries are typically generated.
AWSS - IMLAddDeviceBiz: | xxxx (xxx provision fail, xxxx)Is this page helpful?