Shop OBEX P1 Docs P2 Docs Learn Events
Propeller and xbee — Parallax Forums

Propeller and xbee

CRST1CRST1 Posts: 103
edited 2014-06-27 23:16 in Propeller 1
Hi all,
Been reading the docs on the xbees. I want to have two or more xbees but is it possible to directly access the status of the io pins on the master xbee that is connected to the prop. All the docs talk about remote io sending. It seems a little vague about direct access. I want to connect a couple sensors to the xbee that is directly connected to the prop. What would the command be for that?

Thanks

Comments

  • Tracy AllenTracy Allen Posts: 6,664
    edited 2014-06-26 09:00
    You want the AT IS command. It can be used in either transparent or API mode, but do check the manual for the format of the returned data. In transparent mode, it returns data only from the local XBee. In API mode it can be framed as either a local or a remote request.
  • CRST1CRST1 Posts: 103
    edited 2014-06-27 18:50
    Thank you. I also have another problem with the xbee zigbee boards. This might belong in the wireless forum but I'll try here since it is connected to a propeller. I have two boards one in coordinator mode and one in end mode both AT mode. The boards communicate fine. The problem is when the board has the end firmware loaded I cannot enter the command mode with +++ command. If I hit the reset just before the +++ it works. Also with the xctu program it will not comunicate with the board without reseting. I thought it was a bad board but when I load the cordinator firmware the +++ always goes into command mode and the xctu program communicates with if fine. Does the same thing on both boards. Is this a problem or am I missing something?
  • Tracy AllenTracy Allen Posts: 6,664
    edited 2014-06-27 23:16
    Maybe the end device is set to a sleep mode. It won't respond to +++ unless you catch it when it is awake.
Sign In or Register to comment.