Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFiNINA #66

Open
markab opened this issue Jun 4, 2020 · 6 comments
Open

WiFiNINA #66

markab opened this issue Jun 4, 2020 · 6 comments

Comments

@markab
Copy link

markab commented Jun 4, 2020

Hello is it possible to support Arduino library WiFiNINA.h in place of ESP?

@vlastahajek
Copy link
Collaborator

vlastahajek commented Jun 8, 2020

As written in #46, WiFiNINA.h is a low-level library, similar to WifiClient for ESP.
This library is written on top of HTTPClient from ESP* SDKs. There is no official HTTP library and no 3rd party HTTPLib compatible with HTTPClient for ESP* devices for those Arduino Arm devices.

So, it is technically possible to add it, but not easily. I'm also not sure about memory (32KB for Arm SAMD21), but it could be ok.

Anyway, any PR is welcomed.

@mrh335
Copy link

mrh335 commented May 15, 2022

I would like to use a Nano 33 IoT which used a WiFiNINA. I only want to query the Influx database for the last value when the device resets. Is there any possibility to support this configuration?

@coroa
Copy link

coroa commented Nov 26, 2022

@vlastahajek I guess you are sick of reading these /me too/ posts. Instead i am asking you to give a quick feasibility estimation of using the arduino-libraries/ArduinoHttpClient library, which has support for WiFiNINA.

In comparison to the ESP* SDK, it is missing support for SSL, connection re-use/Persistent connections (EDIT: that is there) or for easily configuring the user agent. Is this a deal breaker for communicating with InfluxDB?

In terms of how to implement this probably means to add another layer #if/#endif macros to have HTTPService call into the HTTPClient from ArduinoHttpClient (headers)?

Is that correct?

@vlastahajek
Copy link
Collaborator

@coroa, As I already separated all HTTP related code to HTTPService to decouple InfluxDB client from HTTPClient, I will do additional small refactor to allow easy extending this library to other HTTP Clients this week.

@BrettLHolmes
Copy link

BrettLHolmes commented Jul 18, 2023

@vlastahajek I was looking to use this with a Arduino Nano RP2040 which has ARM Cortex M0+ and also uses WiFi NINA for the Wireless

I wanted to understand if you had any progress since November before I investigate alternatives(would write to MQTT and read from python (on linux ) to send to influxdb)

If I can help in any way please advise (testing, documenting etc) I am not really great at coding production and /or low level software like this
Brett

@vlastahajek
Copy link
Collaborator

The feat/allow-extending branch of this repository has 90% working code for WiFiNINA. HTTP read timeouts were for some reason not working.
It was developed against Arduino MKR WiFi 1010. You can try.
I did that at end of the last year but I hadn't had time to finish it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants