Multiple Xbee S2 modules

145 views
Skip to first unread message

tugberk korkmaz

unread,
Mar 13, 2013, 5:28:41 PM3/13/13
to lib...@googlegroups.com
Hi Attie!
I want to set up a project including 9 end devices 1 router and a coordinator.
I set the address of the devices like:

Coordinator       <-         Router          <-       End Device[0]
                                                       <-       End Device[1]
                                                       ...
                                                       <-       End Device[9]

All of the devices except from coordinator adjusted to send the analog sample on their D0 pin.

Using libxbee, (Sample_io.c example) but I couldn't get the analog samples from the end devices. 
if I try to access the analog samples from router, there is no problem.

Am I missing something?

Tugberk

Attie Grande

unread,
Mar 14, 2013, 5:41:07 AM3/14/13
to tugberk korkmaz, libxbee
Hi Tugberk,

It sounds like you have set the DH and DL of your end devices to the address (SH and SL) of the router.
For the I/O samples to reach the coordinator, you must set the end devices to point at the coordinator.

For the hopping / mesh networking to work correctly, you just need to have the end devices out of range of the coordinator - it is completely self configuring.
You will of course require the end devices to be in range of the router, and the router to be in range of the coordinator.

Attie

Tugberk

--
You received this message because you are subscribed to the Google Groups "libxbee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libxbee+u...@googlegroups.com.
To post to this group, send an email to lib...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msg/libxbee/-/vGq2pn_mE3MJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

tugberk korkmaz

unread,
Mar 14, 2013, 12:12:07 PM3/14/13
to lib...@googlegroups.com
ooh I got it thank you very much.
What about creating source route with libxbee?
Datasheet says that "Create Source Route API frame (0x21)" can route the rf informations between xbees.
is there any way to send 0x21 frame in libxbee?

Tugberk.

Attie Grande

unread,
Mar 14, 2013, 12:22:12 PM3/14/13
to tugberk korkmaz, libxbee
No problem.

Currently that API frame is not implemented in libxbee.
I don't think that it would be useful for your situation anyway - the XBee making the transmission needs to be configured with this, which would mean that you need libxbee on each of your end devices.

Are you having issues with the data not coming through?

Attie
--
You received this message because you are subscribed to the Google Groups "libxbee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libxbee+u...@googlegroups.com.
To post to this group, send an email to lib...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msg/libxbee/-/WQLSaV_iLoMJ.

tugberk korkmaz

unread,
Mar 14, 2013, 2:28:31 PM3/14/13
to lib...@googlegroups.com

oh, I see,
Now, there is no problem with the samples send from end devices. Thank you very much
Tugberk
Reply all
Reply to author
Forward
0 new messages