request ATSL from an xbee

29 views
Skip to first unread message

Benjamin Chalk

unread,
Apr 19, 2013, 2:32:14 AM4/19/13
to lib...@googlegroups.com
Hey Attie,

just wondering if there was a command that would let me request the ATSL address from an xbee? 

the other question is there/have you thought about being able to request ATSL from all Xbee in range/or when a new xbee comes into range? 


thanks, Ben







Attie Grande

unread,
Apr 19, 2013, 3:55:59 AM4/19/13
to Benjamin Chalk, libxbee
Hi Ben,

You can simply use the "Local AT" or "Remote AT" connection types.
    xbee_conTx(con, NULL, "SL");
The response will be its current value.

For getting the SL of all XBees in range... you could try a "Remote AT" connection, setup to broadcast. It may well get responses from each node!
If not, then there is the ND command which will provide a more detailed list of nodes in range and should be used with a "Local AT" connection.

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/-/XloXi5jpos0J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages