I/O line passing example not working

I am trying the example setup configuration on page 164 of the XBee®/XBee-PRO SX
Radio Frequency (RF) Module user guide.
I feel quite thick as it does not work in the sense that I have put a switch(NO) between
Ground and D2 (pin6 on connector) I have enabled the 3.3v pull-up with the dip switch.
On the other module I have installed a limiting resistor in serie with an LED between V+ (12V) and D2.
I have reset all parameters to default and followed the setup in the example line for line.
Now I expect that when I press the switch on the ‘sensor’ I should see the LED come on nan? The IO being a sink (output mode High (5))
I can see that there is message transmitted and received every second or so but no ‘Hello-world’
By the way, I did a range test and it works and I am aware that I should make sure that IDs and other pairing parameters should match.
Thank you if somewhat can direct me… I know I know… so basic, yet this is what I need to do in this project.

The SX does not support IO line passing. That must be one using API frames with the remote AT command function.

What!!?? I am not sure I understand your answer.
I am using (trying) this guy https://www.digi.com/products/models/xm-x9-5p-u
which has (8X) I/Os in total that can be configured in diverse op mode.
What would be the point in fabricating such a device if the I/O states can’t be transmitted?
All I need to do is transmit a command (switch state) from one to the two remotes, and receive a command (switch state again) from the two remote units

I think we are both looking at the wrong manual. The correct manual for this can be found at https://www.digi.com/resources/documentation/digidocs/90001517/default.htm#concepts/c_digital_sinking_driver.htm%3FTocPath%3DXBee%2520RF%2520Modem%2520Operation|Interfacing%2520protocols|_____9.

There is an entire section on both Input and output.

OK I think I found my error…
There is a 43 pages manual here https://www.digi.com/products/models/xm-x9-5p-u
And on page 31 and 32 there is a table which describes on which IO the digital and analog pins, on the 10 pin connector, are assigned.
The problem I have with this table is that there is an asterisk on those IO that says “These commands should never be set to 4 or 5”
Actualy the value 4 and 5 are used to set the IO in output!
I am at a total loss now!

OK MVUT, the table I am refering is the one you actualy included in your last comment (oops I did not scroll low enough) You will see that some parameters D4 D9 P1 for exemple are followed by an asterisk and there is a footnote saying that these should never be set to 4 or 5… But I am studying this table and try to make sense of it… It seems there are alternate functions,

We tested this product yesterday and verified that it does not support direct IO line passing. For direct IO line passing to be supported, the same pin that is used as an input must also be used as an output. That is simply not the case on this product. Different Pins are used as inputs and outputs.

Yes, I have just received an e-mail from customer support at DIGI confirming that.
Anyone wants to buy 3 modems??
Now I am 2 weeks behind schedule…
The documentation is a mess.
I won’t make a rant here as I really have no time for this now but quite a bit of steam is going through my ears right now! :frowning: