On-demand sampling
You can use IS (I/O Sample) to query the current state of all digital I/O and ADC lines on the device and return the sample data as an AT command response. If no inputs or outputs are defined, the command returns an ERROR.
On-demand sampling can be useful when performing initial deployment, as you can send IS locally to verify that the device and connected sensors are correctly configured. The format of the sample data matches what is periodically sent using other sampling methods. You can also send IS remotely using a remote AT command. When sent remotely from a gateway or server to each sensor node on the network, on-demand sampling can improve battery life and network performance as the remote node transmits sample data only when requested.
If you send IS using Command mode, then the device returns a carriage return delimited list containing the I/O sample data. If IS is sent either locally or remotely via an API frame, the I/O sample data is presented as the parameter value in the AT command response frame (Local AT Command Response - 0x88 or Remote AT Command Response- 0x97).