Home/Support/Support Forum/How do I address an end device?

How do I address an end device?

0 votes
asked Mar 31, 2014 in RF Solutions and XBee by inshallah573 New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
depends on your situation. If you're configuring an Xbee node, you can set it's DH/DL values to the targets SH/SL values. If you're asking how to do this from python. It might look something like this:
from socket import *

DESTINATION=("00:0d:6f:00:00:06:89:29!", 0xe8, 0xc105, 0x11, 2,0)

# new zigbee structure:
#('[00:13:a2:00:40:0a:02:95]!', 232, 49412, 16, 2, 0)


sd.bind(("", 0xe8, 0, 0))

sd.sendto("Hello, World!", 0, DESTINATION)
answered Apr 4, 2014 by kjensen8 Veteran of the Digi Community (623 points)