mobizt / Firebase-Arduino-WiFiNINA

Firebase Arduino Library for ARM/AVR WIFI Dev Boards based on WiFiNINA
MIT License
64 stars 12 forks source link

.beginEnterprise #39

Closed BensonSherman closed 2 years ago

BensonSherman commented 2 years ago

So I'd like to use this over an enterprise connection, and in the Wifinina library we'd use wifi.beginEnterprise to do that. I don't see such a method with this library but I do see a .begin method. Is there a way to use this library over an enterprise connection?

mobizt commented 2 years ago

This is the Firebase library.

The WiFi is on network stack, you should test it yourself.

mobizt commented 2 years ago

The SSID and PASSWORD parameters in Firebase.begin function are for WiFI reconnection.

To manage WiFi reconnection manually including the enterprise WIFI rconnection , you should do the following

  1. Call Firebase.begin(DATABASE_URL, DATABASE_SECRET, "", "");
  2. Call Firebase.reconnectWiFi(false);
  3. Check for WiFI disconnection and handle reconnection manually.
rdl4199 commented 2 years ago

image Are any of these the database_secret?

mobizt commented 2 years ago

@rdl4199 You should not post the off topic here.

You can ask in community forum or search google for Firebase database secret.

The database secret can be taken from Project settings > Service accounts.