AX−SFUS, AX−SFUS−API
www.onsemi.com
13
Table 10. COMMANDS
Command DescriptionName
AT$V? Get Voltages Return current voltage and voltage measured during the last
transmission in mV.
AT$I=uint Information Display various product information:
0: Software Name & Version
Example Response: AX−Sigfox 1.1.1−FCC
1: Contact Details
Example Response: support@axsem.com
2: Silicon revision lower byte
Example Response: 8F
3: Silicon revision upper byte
Example Response: 51
4: Major Firmware Version
Example Response: 1
5: Minor Firmware Version
Example Response: 1
7: Firmware Variant (Frequency Band etc. (EU/US))
Example Response: FCC
9: SIGFOX Library Version
Example Response: UDL1−1.8.7
10: Device ID
Example Response: 00012345
11: PAC
Example Response: 0123456789ABCDEF
AT$P=uint Set Power Mode To conserve power, the AX−SFUS can be put to sleep manually.
Depending on power mode, you will be responsible for waking up the
AX−SFUS again!
0: software reset (settings will be reset to values in flash)
1: sleep (send a break to wake up)
2: deep sleep (toggle GPIO9 or RESET_N pin to wake up;
the AX−SFUS is not running and all settings will be reset!)
AT$WR Save Config Write all settings to flash (RX/TX frequencies, registers) so they
survive reset/deep sleep or loss of power.
Use AT$P=0 to reset the AX−SFUS and load settings from flash.
AT:Pn? Get GPIO Pin Return the setting of the GPIO Pin n; n can range from 0 to 9.
A character string is returned describing the mode of the pin,
followed by the actual value. If the pin is configured as analog pin,
then the voltage (range 0…1 V) is returned. The mode characters
have the following meaning:
Mode Description
0 Pin drives low
1 Pin drives high
Z Pin is high impedance input
U Pin is input with pull−up
A Pin is analog input (GPIO pin 0…3 only)
T Pin is driven by clock or DAC (GPIO pin 0 and 4 only)
The default mode after exiting reset is U on all GPIO pins.
AT:Pn=? Get GPIO Pin Range Print a list of possible modes for a pin. The table below lists the
response.
Pin Modes
P0 0, 1, Z, U, A, T
P1 0, 1, Z, U, A
P4 0, 1, Z, U, T
P5 0, 1, Z, U
P6 0, 1, Z, U
P7 0, 1, Z, U
P8 0, 1, Z, U
P9 0, 1, Z, U
AT:Pn=mode Set GPIO Pin Set the GPIO pin mode.
For a list of the modes see the command AT:Pn?