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#

  • OK if 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

Parameters#

echo-flag#

1 to enable, 0 to disable

Response#

  • OK if echoing is successfully enabled/disabled as per the echo-flag parameter.

  • ERROR 0x0001 (Failure) if echoing could not be enabled/disabled as per the echo-flag parameter.

Examples#

at+echo=1        # Enable echoing of commands

at+echo=0        # Disable echoing of commands

soft-reset#

Perform a Nested Vectored Interrupt Controller (NVIC) reset of the SiWx91x device.

Command Format#

at+soft-reset

Related SDK API#

sl_si91x_soc_nvic_reset

Pre-conditions#

None

Parameters#

None

Response#

  • OK if reset initiated

  • ERROR 0x0001 in case of failure

Notes#

  • The AT Command Processor on the SiWx91x device will process this command by first sending back an OK response 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 OK response is received.

Examples#

at+soft-reset