Arduino_ConnectionHandler
Arduino_ConnectionHandler copied to clipboard
Support for Ethernet client
is there a possibility that we have an ethernet connection handler? I am working on a project that uses teensy4 and Wiz850 Ethernet module
Hi @gannaramu. There is a draft proposal for adding such a capability here: https://github.com/arduino-libraries/Arduino_ConnectionHandler/pull/41
@per1234 i tried that branch but still no luck. having compiler issues on the Teensy4.0:
In file included from lib\ArduinoBearSSL\src\bearssl\x509_minimal.c:203:0:
C:\Users\ganna\.platformio\packages\framework-arduinoteensy\libraries\Time/time.h:1:2: warning: #warning "Please include TimeLib.h, not Time.h. Future versions will remove Time.h" [-Wcpp]
#warning "Please include TimeLib.h, not Time.h. Future versions will remove Time.h"
^
lib\ArduinoBearSSL\src\bearssl\x509_minimal.c: In function 'br_x509_minimal_run':
lib\ArduinoBearSSL\src\bearssl\x509_minimal.c:1403:3: error: unknown type name 'time_t'
time_t x = time(NULL);
^
lib\ArduinoBearSSL\src\bearssl\x509_minimal.c:1403:14: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
time_t x = time(NULL);
Any idea on what could the possible reason?
I guess the above issue was not related to the Arduino Connection handler itself. I was able to fix that issue by replacing time_t with unsigned long