UM-WI-038
DA16x00 Getting Started with AT-Command for
AWS-IoT
User Manual
Revision 1.1
13-Jan-2022
CFR0012
31 of 39
© 2022 Renesas Electronics
Table 4: Configuration of the Topics
Number
Name
Value Type
CMD Type
Value
0
app_door
1: String
2: subscribe
“open”/”close”
1
mcu_door
1: String
0: publish
“opened”/”closed”
2
battery
0: Integer
1: shadow
Battery value (0~100)
3
temp
2: Float
1: shadow
Temperature value
4
doorStat
1: String
1: shadow
“opened”/”closed”
5
windowStat
1: String
1: shadow
“opened”/”closed”
Figure 30: Communication from MCU to Phone
A.3
AT-CMD List
A.3.1
Basic Set
Table 5: The Basic set of MCU to DA16x00
Head
Main
Sub
Parameters
AT+AWS= SET
APP_THINGNAME
Setting device name, It will be used to choice a device by thing name
during provisioning
AWS_BROKER
Set broker address
AWS_LPORT
Set local port, It will be set to 8883, normally
AWS_SUBTOPIC
Set subscriber topic name,
default is “/AppControl”
AWS_PUBTOPIC
Set subs topic name, default is “/DeviceControl”
SLEEP_MODE
Set DPM mode
1 is no sleep
2 is wake up mode by set timer
3 is DPM mode for communication between phone and IOT device
USE_DPM
If Sleep mode is 3, it will be activated