Hi members,
I am using https://www.digi.com/resources/documentation/digidocs/90001537/default.htm#references/r_tcp_to_zigbee_dynamic.htm%3FTocPath%3DData%2520Tunneling%7C_____1
example for zigbee-tcp data tunnelling on Xbee gateway. But the python fails while running.
/userfs/WEB/python $ python tcp_zig_dynamic_mapping.py
name 'zigbee' is not defined
Failed to retrieve hardware version from local radio
Assuming it's a series 1 device
Traceback (most recent call last):
File "tcp_zig_dynamic_mapping.py", line 125, in <module>
zig_sock = socket(socket.AF_ZIGBEE, socket.SOCK_DGRAM, ZBS_PROT_TRANSPORT)
NameError: name 'ZBS_PROT_TRANSPORT' is not defined
Have done all recommendations but still no luck.
Version:
Python 2.7.1 (r271:86832, Jul 28 2017, 00:19:06)
[GCC 4.4.6] on linux2
Can someone guide if any in-built or digi python module needs to be changed.
rgds,
sharbt