USB SDK Installation

Hi,
I have just installed the latest build of the Python SDK, posted today, and can confirm the installation problems are fixed.

But I am still having problems with the sample.py script.

It still reported the goTenna Mesh as a “Pro” device when I connect, although I the script is connecting to the goTenna, as it reports the correct serial number (I have checked with two different devices).

When I run the set_guid device, I now get a different error message:

goTenna>ERROR:goTenna.driver.Driver:SDK not supported, not X-device product pro!

Both devices are running Firmware version 1.1.8.

The full trace is:

ERROR:goTenna.driver.Driver:Error during device handshake!
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/goTenna/driver_backend.py", line 264, in _11l1ll1l1_opy_
    self._device_specifics[device_type][l1l11l_opy_ (u"ࠩࡶࡩࡹࡻࡰࠨ੊")]()
  File "/usr/local/lib/python3.5/dist-packages/goTenna/driver_backend.py", line 243, in _11l1l11ll_opy_
    self.device.l1l11lll1l_opy_(self._storage.groups.values(), self._settings.rf_settings)
  File "/usr/local/lib/python3.5/dist-packages/goTenna/device.py", line 477, in l1l11lll1l_opy_
    self.set_operation_mode(goTenna.constants.OperationModes.NORMAL)
  File "/usr/local/lib/python3.5/dist-packages/goTenna/device.py", line 412, in set_operation_mode
    res = self._1ll111ll1_opy_(l1l11111l1_opy_, l1l111l1l1_opy_)
  File "/usr/local/lib/python3.5/dist-packages/goTenna/device.py", line 448, in _1ll111ll1_opy_
    (now-l11llllll_opy_).total_seconds())
  File "/usr/local/lib/python3.5/dist-packages/goTenna/pcb_connection.py", line 218, in read_binary_blocking
    for to_return in l11ll1l11_opy_:
  File "/usr/local/lib/python3.5/dist-packages/goTenna/pcb_connection.py", line 191, in l11ll1l1l_opy_
    l1l111111_opy_ = self.port.inWaiting()
  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 572, in inWaiting
    return self.in_waiting
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 456, in in_waiting
    s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
OSError: [Errno 5] Input/output error
device_present: devices present: pro MX****** on /dev/ttyACM0
Device physically connected, configure to continue
ERROR:goTenna.driver.Driver:SDK not supported, not X-device product pro!
ERROR:goTenna.driver.Driver:Error during device handshake!
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/goTenna/driver_backend.py", line 264, in _11l1ll1l1_opy_
    self._device_specifics[device_type][l1l11l_opy_ (u"ࠩࡶࡩࡹࡻࡰࠨ੊")]()
  File "/usr/local/lib/python3.5/dist-packages/goTenna/driver_backend.py", line 243, in _11l1l11ll_opy_
    self.device.l1l11lll1l_opy_(self._storage.groups.values(), self._settings.rf_settings)
  File "/usr/local/lib/python3.5/dist-packages/goTenna/device.py", line 477, in l1l11lll1l_opy_
    self.set_operation_mode(goTenna.constants.OperationModes.NORMAL)
  File "/usr/local/lib/python3.5/dist-packages/goTenna/device.py", line 412, in set_operation_mode
    res = self._1ll111ll1_opy_(l1l11111l1_opy_, l1l111l1l1_opy_)
  File "/usr/local/lib/python3.5/dist-packages/goTenna/device.py", line 448, in _1ll111ll1_opy_
    (now-l11llllll_opy_).total_seconds())
  File "/usr/local/lib/python3.5/dist-packages/goTenna/pcb_connection.py", line 218, in read_binary_blocking
    for to_return in l11ll1l11_opy_:
  File "/usr/local/lib/python3.5/dist-packages/goTenna/pcb_connection.py", line 191, in l11ll1l1l_opy_
    l1l111111_opy_ = self.port.inWaiting()
  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 572, in inWaiting
    return self.in_waiting
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 456, in in_waiting
    s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
OSError: [Errno 5] Input/output error
device_present: devices present: pro MX***** on /dev/ttyACM0
Device physically connected, configure to continue
ERROR:goTenna.driver.Driver:SDK not supported, not X-device product pro!

If I connect to the device /dev/ttyACM0 directly with the screen command, the lights stop flashing and if you type a string of characters the goTenna responds:

[1541316-23259, USB, CLI] ERROR:Unknown command "test". Type ? for help

Thank you in advance.

Pete

2 Likes