devkit-sdk icon indicating copy to clipboard operation
devkit-sdk copied to clipboard

Client.h is missing from Arduino core

Open prototypicalpro opened this issue 5 years ago • 3 comments

Hello! It looks like the Arduino core is missing Client.h. This file contains the Client interface, which allows internet libraries such as EthernetClient and SSLClient to define a generic internet communication API. I'm not sure if this file was ommitted intentionally, but adding it to the Arduino core would prevent compilation errors when using these libraries (such as https://github.com/OPEnSLab-OSU/SSLClient/issues/11). Thanks!

prototypicalpro avatar May 24 '20 20:05 prototypicalpro

In addition, it looks like the AZ3166WiFiClient inherits from Print despite implementing all the features that the Client interface requires. Client inherits from Print, so could AZ3166WiFiClient inherit from Client instead? This change would improve compatibility with libraries that need generic network interfaces such as PubSubClient.

prototypicalpro avatar May 24 '20 21:05 prototypicalpro

This issue has no recent activities, please take a look and provide updates for it.

github-actions[bot] avatar May 27 '20 22:05 github-actions[bot]

This issue is still present, and a fix would be much appreciated.

prototypicalpro avatar Jul 17 '20 17:07 prototypicalpro