UM-WI-038
DA16x00 Getting Started with AT-Command for
AWS-IoT
User Manual
Revision 1.1
13-Jan-2022
CFR0012
35 of 39
© 2022 Renesas Electronics
Head
Main
Sub
Description
Parameter
[number] [name] [value]
Ex) AT+AWS=CMD FACTORY_RESET
AT+AWS=CMD MCU_DATA 0 door_status open
A.3.6
Command
– DA16x00 to MCU
Table 10: Command of DA16x00 to MCU
Head
Main
Parameters
Description
+AWSIOT SERVER_DATA
[number] [name]
[value]
DA16x00 can push a value to MCU as a setting to CFG
command format
It will work well only if the value is the same format as CFG
setting
+AWSIOT CMD_TO_MCU update
The DA16x00 can request the status of devices such as
sensors, batteries, and doors from the MCU, and can keep
the latest device values through the MCU when requesting
an external phone app or MQTT ping-pong wake-up. The
command string used at this time is reserved as "update"
Ex) +AWSIOT SERVER_DATA 0 door_control open
+AWSIOT CMD_TO_MCU update
A.3.7
DA16x00 Status
– DA16x00 to MCU
Table 11: Status from DA16x00 to MCU
Status
Value
Parameters
IDLE
-1
No entry to AWS-IOT application mode
It will send when a system error like network connection failure happens
Done factory reset
0
It will send after completes
factory reset by “CMD FACTORY_RESET”
Boot Ready
1
It will send when entering AWS-IOT application mode
Need
configuration
5
It will send if there is no setting
MCU should set and configure with the SET and CFG command
Start AP mode
10
It will send when being started to AP mode
It should need to process provisioning with Phone
Network OK
15
It will send when it is OK to connect AP without problem
Network fail
16
It will send when it fails to connect AP with any problem
Normally, it this will happen during provisioning failure by the wrong SSID or
PW
It needs
to go to AP mode by MCU send” RESET_TO_AP” command