Sigfox AT Command Set and Syntax Guide
Advertisement
This document details a set of Sigfox commands, outlining the AT command syntax used within Sigfox SoCs (System on a Chip) for monitoring and controlling various parameters and tasks. It covers commonly used AT commands provided by leading Sigfox transceiver/modem manufacturers.
AT commands are a popular method for configuring and monitoring Sigfox modems/transceivers, enabling various functionalities. They are particularly useful when a direct API interface isn’t available on the device. Utilizing AT commands requires a UART (Universal Asynchronous Receiver/Transmitter) interface on the device.
Keep in mind that AT command sets often vary from manufacturer to manufacturer, as each designs their own commands to cater to specific functionalities.
Common Sigfox AT Commands
The following table lists some common Sigfox AT commands and their descriptions:
AT command | Description |
---|---|
AT$P=1 | Device goes into sleep mode. |
AT$P=2 | Device goes into deep sleep mode. |
AT$I = Unit | Displays various information related to the Sigfox device. Unit ranges from 0 to 11. For example: AT$I=0 displays the software name and version; AT$I=10 displays the Sigfox device ID. |
AT$WR | Saves the current configuration. |
AT$SB=bit[.bit] | Sends a Bit Status (0 or 1). |
AT$SF=frame[.bit] | Sends a payload data or frame of size 1 to 12 bytes. For example: AT$SF=gghh1234 |
AT$CB=uint_opt,bit | Transmits a continuous bit pattern. Primarily used for emission testing. For example, AT$CB=0xAA,1 transmits a continuous pattern of bits (10101010). |
AT$IF? | Returns the Tx (Transmit) frequency. |
AT$DR? | Returns the Rx (Receive) frequency. |
AT$T? | Returns the temperature value in the unit as per the device’s design. |
AT$IF=uint | Sets the Tx frequency. |
AT$DR = uint | Sets the Rx frequency. |
AT$P = unit | Sets the power mode. uint can be 0, 1, or 2, representing different power states. |
AT:Pn? | Retrieves the settings of GPIO (General Purpose Input/Output) pins. n can be any value from 0 to 9, representing a specific GPIO pin. |
AT:Pn=? | Gets the GPIO pin range (prints all possible modes for a specific pin). |