Digi International Inc XB3C1 Manuel D’Utilisation

Page de 146
AT commands
Execution commands
Digi XBee3 Cellular LTE Cat 1 Smart Modem User Guide
117
You can also send NR, which acts like NR 0.
Parameter range
0
Default
N/A
!R (Modem Reset)
Forces the cellular component to reboot.
CAUTION! This command is for advanced users, and you should only use it if the cellular
component becomes completely stuck while in Bypass mode. Normal users should never
need to run this command. See the
command instead.
Range
N/A
Default
N/A
IS (Force Sample)
When run, IS reports the values of all of the enabled digital and analog input lines. If no lines are
enabled for digital or analog input, the command returns an error.
Command mode
In Command mode, the response value is a multi-line format, individual lines are delimited with
carriage returns, and the entire response terminates with two carriage returns. Each line is a series of
ASCII characters representing a single number in hexadecimal notation. The interpretation of the lines
is:
n
Number of samples. For legacy reasons this field always returns 1.
n
Digital channel mask. A bit-mask of all I/O capable pins in the system. The bits set to are
configured for digital I/O and are included in the digital data value below. Pins D0 - D9 are bits 0
- 9, and P0 - P2 are bits 10 - 12.
n
Analog channel mask. The bits set to are configured for analog I/O and have individual
readings following the digital data field.
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, IS immediately returns an OK response.