Info: Getting time from the NTP server
Info: Time: Mon Dec 7 19:27:12 2020
Info: Starting provisioning demo
Provisioning API Version: 1.3.9
Iothub API Version: 1.3.9
Provisioning Status: PROV_DEVICE_REG_STATUS_CONNECTED
Provisioning Status: PROV_DEVICE_REG_STATUS_ASSIGNING
Provisioning Status: PROV_DEVICE_REG_STATUS_ASSIGNING
Registration Information received from service: epiothub.azure-devices.net!
Creating IoTHub Device handle
Sending 1 messages to IoTHub every 2 seconds for 2 messages (Send any message
to stop)
IoTHubClient_LL_SendEventAsync accepted message [1] for transmission to IoT
Hub.
IoTHubClient_LL_SendEventAsync accepted message [2] for transmission to IoT
Hub.
Press enter key to exit:
Info: Provisioning has ended
Congratulations! You have successfully provisioned a device using the Azure IoT
Embedded C SDK!
Step 5 : Additional Links
Manage cloud device messaging with Azure-IoT-Explorer
Configure to connect to IoT Hub
How to use IoT Explorer to interact with the device
Step 6 : Additional Information
Troubleshooting
A few troubleshooting tips to solve common problems in this example:
•
If the example project fails to compile, make sure the mbed-os version is
appropriate. Generally you can work on the
master
branch: execute
git
checkout master
inside the mbed-os directory
•
If the example project fails to connect, you should verify you are in an area
with good cellular signal strength. You may want to try relocating the Agora
board and retry the example. You should also make sure the cellular antenna
is properly oriented. For best performance, the cellular antenna should be
perpendicular relative to the ground.