You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2019. It is now read-only.
File "carTest.py", line 15, in
node.send_string_packet("Hello World")
File "/home/pi/rak811-python/iotloranode.py", line 200, in send_string_packet
self.uart_tx(command)
File "/home/pi/rak811-python/iotloranode.py", line 74, in uart_tx
self.serial_write(str.encode(command))
TypeError: descriptor 'encode' requires a 'str' object but received a 'unicode'
File "carTest.py", line 15, in
node.send_string_packet("Hello World")
File "/home/pi/rak811-python/iotloranode.py", line 200, in send_string_packet
self.uart_tx(command)
File "/home/pi/rak811-python/iotloranode.py", line 74, in uart_tx
self.serial_write(str.encode(command))
TypeError: descriptor 'encode' requires a 'str' object but received a 'unicode'