AT commands Sleep commands
Digi XBee3 Cellular LTE-M Global Smart Modem User Guide
125
n Digital data. The current digital value of all the pins set in the digital channel mask, only
present if at least one bit is set in the digital channel mask.
n Analog data. Additional lines, one for each set pin in the analog channel mask. Each reading is a
10-bit ADC value for a 2.5 V voltage reference.
API operating mode
In API operating mode, ISimmediately returns an OK response.
The API response is ordered identical to the Command mode response with the same fields present.
Each field is a binary number of the size listed in the following table. Multi-byte fields are in big-endian
byte order.
Field Size
Number of samples 1 byte
Digital channel mask 2 bytes
Analog chanel mask 1 byte
Samples 2 bytes each
Parameter range
N/A
Default
N/A
Sleep commands
The following AT commands are sleep commands.
SM (Sleep Mode)
Sets or displays the sleep mode of the device.
The sleep mode determines how the device enters and exits a power saving sleep.
Sleep mode is also affected by the SO command, option bit 6. See Sleep modes for more information
about sleep modes.
Parameter range
0, 1, 4, 5
Parameter Description
0 Normal. In this mode the device never sleeps.
1
Pin Sleep. In this mode the device honors the SLEEP_RQ pin. Set D8 (DIO8/SLEEP_
REQUEST) to the sleep request function: 1.