Hi,
Trying to make some sense of why I'm not able to communicate with devices.
(This is after disabling xbgw_main.py so I can muck around in the REPL.)
>>> n
<node type=router addr_extended=[00:13:a2:00:41:b4:c8:e0]!>
>>> n.profile_id
49413
>>> n.to_socket_addr()
('[00:13:a2:00:41:b4:c8:e0]!', 0, 0, 0, 0, 0, 0)
When I try to use this address tuple in sendto, socket complains that there are too many args (there are 7 instead of 6).
But more visibly, none of the endpoint/profile/whatever fields are populated-- yet they exist as attributes on the node object itself.
Is this method completely broken? Or am I doing something wrong?
Thanks!