configuring XBEE with prop
Lightfoot
Posts: 228
I am trying to change the channel of an XBEE module using serial transmissions. I know this is possible but it does not seem to be entering into config mode with my code (it just transmits the plus signs to the receiver).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SERRF.STR(string("+++", 13)) '+++ puts the XBEE into config mode but it does not. SERRF.STR(string("CH", $C, 13, "ACTN", 13)) 'These commands should change the channel.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
I think there is a xbee object on obex why not check that for what happens with +++
http://obex.parallax.com/objects/146/
As it encapsulates the delay around the "+++".
Note you need to send just "+++" with the proper guard times before & after it. Your sample is sending +++ plus a carriage return.
Hope this helps
Jay
.Steve