User Manual
Revision 1.0
27-May-2022
CFR0012
23 of 58
© 2022 Renesas Electronics
UM-WI-058
DA16200 Getting
Started with Azure® IoT
●
Hostname: Azure IoT Hub address.
Figure 29: Azure IoT Hub Hostname
●
IOT-HUB-Connection-string: Access to Azure IoT Hub key.
Figure 30: Azure IoT Hub Connection-String
There are two ways to configure these parameters in the DA16200:
●
Set the default values in the SDK:
Edit the above settings in app_thing_manager.h, and then compile and download the firmware
image
#define
APP_USER_MYHING_NAME
"dlg-device-1" //Device ID
#define
APP_USER_MY_DEV_PRIMARY_KEY
"jyDrotAogwfGPtgUIAW0LZ0ED2FlAdqvEY1CUGLw5E8CM0PEyMLOnBfBFwVeGQ=="
#define
APP_USER_MY_HOST_NAME
"da16x-customer-test-hub.azure-devices.net"
#define
APP_USER_MY_IOTHUB_CONN_STRIN
"HostName=da16x-customer-test-hub.azure-
devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=a5UBDdFQJ92jVMhVjwJRzY/LR/GfnrEu289Aa806nUw="