Description of parameter IS (Force sample)

Hello,

I want to read digital inputs in AT comand mode and found the parameter IS.

All the documentation tells is:

All bytes are converted to ASCII:
number of samples
channel mask
DIO data (If DIO lines are enabled
ADC channel Data <-This will repeat for every enabled ADC channel
(end of data noted by extra )

This is an answer I get:
ATIS

1
023
001

Can anyone tell me in detail what it means?

Best regards

Assuming you’re looking at the 1xEx product manual, have a look at page 13. The section on “Input Line States” describes the data format. If you want an alternative description, you could look in my cookbook (see pinned post above) for the description of the API packet for input line states. I know you’re not in API mode, but the data description is the same.

Thank you!

I am new to XBee and sometimes it is not clear to me if data is encoded in ASCII or binary.

So in my case the answer is

1<0D>
023<0D>
001<0D><0D>

That means

1 ->
Number of samples : 1

023->
023d = 000000100011b
Digital Inputs/Outputs D0,D1,D5 are enabled

001->
001d=000000000001
Digitial Input/Output D0 is active

Exactly right!