blynk-library-python icon indicating copy to clipboard operation
blynk-library-python copied to clipboard

add reconnect on send, read,run function

Open denofiend opened this issue 2 years ago • 1 comments

add reconnect on send, read,run function

denofiend avatar Dec 29 '23 03:12 denofiend

@denofiend Hi, have you tried the modified lib on a Rpi Pico? I get this error:

Connecting to lon1.blynk.cloud:80...
Traceback (most recent call last):
  File "<stdin>", line 16, in <module>
  File "BlynkLibMod.py", line 293, in __init__
  File "BlynkLibMod.py", line 87, in __init__
  File "BlynkLibMod.py", line 312, in connect
  File "BlynkLibMod.py", line 328, in create_socket
AttributeError: 'module' object has no attribute 'IPPROTO_TCP'

The original lib does work though.

ebolisa avatar Dec 29 '23 16:12 ebolisa