Continuing the discussion from Message.received handler throwing exception:
I am working on the SARA-R410M and trying to receive messages from the dashboard. I have been made aware there are issues with receiving SMS, so I am now only sending data messages.
When I use the CLI to do:
$ sudo hologram receive
it returns: Ready to receive data on port 4010
When I send a message from the dashboard, it eventually returns:
Failed to connect to device to send message
and the message is never received on the nova (except once it was out of many dozens of efforts which was weird)
When I open a socket and try to popReceiveMessage() in python, it returns:
Exception in thread Thread-2:
Traceback (most recent call last):
File “/usr/lib/python3.7/threading.py”, line 917, in _bootstrap_inner
File “/usr/lib/python3.7/threading.py”, line 865, in run
File “/usr/local/lib/python3.7/dist-packages/Hologram/CustomCloud.py”, line 336, in __incoming_connection_thread
recv += result
TypeError: can only concatenate str (not “bytes”) to str
I saw the same issue was discussed in the thread referenced here but the bugfix branch is no longer available and after making sure I have the newest version of the SDK, I still seem to have the issue.
Thank you in advance for any support!