The X2 Gateway has little memory. As such, most of the examples you will find will not fit on it. To verify this, I would recommend checking the available memory option on CPM.
If you’re trying to get the Embedded Kit Gateway Viewer working and getting “error 5 - out of space”, its likely because python.zip is loaded on the unit. python.zip is not required for this application, and can safely be deleted.
But after login with telnet, and running the command: python EmbeddedKitService.py
I receive following exception.
Starting up…
Ready for incoming requests!
Discovering nodes…
Exception in thread WPANSerialEndpoint:
Traceback (most recent call last):
File “WEB/python/embedded_kit_gateway.zip/threading.py”, line 442, in __bootstrap
File “WEB/python/EmbeddedKitManager.py”, line 199, in run
nodes = self.get_bindings_hash_list()
File “WEB/python/EmbeddedKitManager.py”, line 496, in get_bindings_hash_list
hash_list = [self._bindings.bindings[k].to_hash()
File “WEB/python/EmbeddedKitManager.py”, line 38, in to_hash
return {
IndexError: list index out of range
After reading the “How do I install and use the Embedded Kit Gateway Viewer application?” article, i would like to know, whether i need the devices listed there, like the “1-Wire Sensor Adapter”, or not ?
In my kit contains:
(1) ConnectPort X2 gateway
(3) XBee ZNet 2.5 (formerly Series 2) modules (1 XBee, 1 XBee-PRO) and (3) interface boards (1 USB, 1 RS-232)
(1) XBee wall router
I was just following the example, because i believed that it fits for my development kit. Maybe not ?
“list index out of range” normally means that one of the XBee’s associated with the gateway can’t be contacted.
This might be because the XBee is asleep (I don’t think the app was designed with a sleeping end node in mind), on a different channel, etc.
Check in the WebUI to make sure you can click on the extended address of all XBee’s associate there so you can view the basic and advanced settings. When you can click on all of them, the error should go away.