Utility AT Commands#
Commands#
ready?#
Query the readiness of the SiWx91x™ device.
Command Format#
at+ready?Related SDK API
N/A
Pre-conditions#
This command can be sent at any time after establishing a UART connection with the SiWx91x device.
Parameters#
None
Response#
OKif the device is active and waiting for AT commands.No response if the SiWx91x device is not active. The command sender must time out after a reasonable amount of time, after accounting for all possible messaging delays. For example, a timeout of 200 milliseconds could be set.
Examples#
at+ready?echo#
Enable or disable the echoing of commands back to the command sender.
Command Format#
at+echo=<echo-flag>Related SDK API
N/A
Pre-conditions#
This command can be sent at any time after establishing a UART connection with the SiWx91x device.
Parameters#
echo-flag#
1 to enable, 0 to disable
Response#
OKif echoing is successfully enabled/disabled as per theecho-flagparameter.ERROR 0x0001 (Failure)if echoing could not be enabled/disabled as per theecho-flagparameter.
Examples#
at+echo=1 # Enable echoing of commands
at+echo=0 # Disable echoing of commandssoft-reset#
Perform a Nested Vectored Interrupt Controller (NVIC) reset of the SiWx91x device.
Command Format#
at+soft-resetRelated SDK API
Pre-conditions#
None
Parameters#
None
Response#
OKif reset initiatedERROR 0x0001in case of failure
Notes#
The AT Command Processor on the SiWx91x device will process this command by first sending back an
OKresponse and then invoking the sl_si91x_soc_nvic_reset API, which does not return a value and blocks until the device is reset.To determine when the SiWx91x device reset is complete, the command sender can periodically poll the device using the ready? command until an
OKresponse is received.
Examples#
at+soft-reset