Skip to content

Commit

Permalink
Fix NetworkConfig default constructor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Jan 26, 2025
1 parent def0980 commit 73af7f0
Show file tree
Hide file tree
Showing 211 changed files with 5 additions and 212 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/mobizt/FirebaseClient/.github%2Fworkflows%2Fcompile_library.yml?logo=github&label=compile) [![Github Stars](https://img.shields.io/github/stars/mobizt/FirebaseClient?logo=github)](https://github.com/mobizt/FirebaseClient/stargazers) ![Github Issues](https://img.shields.io/github/issues/mobizt/FirebaseClient?logo=github)

![GitHub Release](https://img.shields.io/github/v/release/mobizt/FirebaseClient) ![Arduino](https://img.shields.io/badge/Arduino-v1.5.0-57C207?logo=arduino) ![PlatformIO](https://badges.registry.platformio.org/packages/mobizt/library/FirebaseClient.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/mobizt/FirebaseClient)
![GitHub Release](https://img.shields.io/github/v/release/mobizt/FirebaseClient) ![Arduino](https://img.shields.io/badge/Arduino-v1.5.1-57C207?logo=arduino) ![PlatformIO](https://badges.registry.platformio.org/packages/mobizt/library/FirebaseClient.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/mobizt/FirebaseClient)

[![GitHub Sponsors](https://img.shields.io/github/sponsors/mobizt?logo=github)](https://github.com/sponsors/mobizt)

Expand Down Expand Up @@ -102,7 +102,7 @@ In addition, this library provides the sync and async usage modes which they can

The library's powerful debugding system allows you to understand what is going on when it is running or failed.

The network configuration (identifier) class, authentication configuration class and the SSL client class can be plug and play. They can be changed on-the-fly.
The network configuration (identifier) and authentication configuration classes allow us to change the networks and authentication types easily.

The [bare minimum code examples](/examples/BareMinimum/) provide the basic guidelines for library usage concepts. Even though it contains more lines of code, it is still simple and understandable but efficient.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);

wifimulti.addAP(WIFI_SSID1, WIFI_PASSWORD1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);

Firebase.printf("Firebase Client v%s\n", FIREBASE_CLIENT_VERSION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ void printResult(AsyncResult &aResult);

void setup()
{

Serial.begin(115200);

// Resetting the modem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);

netconnect();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ bool wifi_once_connected = false;

void setup()
{

Serial.begin(115200);

connectWiFi();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ void WiFiEvent(WiFiEvent_t event)

void setup()
{

Serial.begin(115200);

// This delay is needed in case ETH_CLK_MODE was set to ETH_CLOCK_GPIO0_IN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);

// https://github.com/esp8266/Arduino/blob/master/libraries/lwIP_Ethernet/examples/EthClient/EthClient.ino
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);

wifimulti.addAP(WIFI_SSID1, WIFI_PASSWORD1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);

Firebase.printf("Firebase Client v%s\n", FIREBASE_CLIENT_VERSION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ void authHandler();

void setup()
{

Serial.begin(115200);

// Resetting the modem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);

netconnect();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ bool wifi_once_connected = false;

void setup()
{

Serial.begin(115200);

connectWiFi();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ int cnt = 0;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ AsyncClient aClient(ssl_client, getNetwork(network));

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ bool taskComplete = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ AsyncClient aClient(ssl_client, getNetwork(network));

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ int cnt = 0;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ bool taskComplete = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/App/UserManagement/Sync/Anonymous/Anonymous.ino
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ int cnt = 0;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/App/UserManagement/Sync/DeleteUser/DeleteUser.ino
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/App/UserManagement/Sync/SignUp/SignUp.ino
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ bool taskComplete = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/App/UserManagement/Sync/Verify/Verify.ino
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ AsyncResult aResult_no_callback;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/BareMinimum/Sync/AllServices/AllServices.ino
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ AsyncResult authResult;

void setup()
{

Serial.begin(115200);

WiFi.begin("WIFI_AP", "WIFI_PASSWORD");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ AsyncResult authResult;

void setup()
{

Serial.begin(115200);

WiFi.begin("WIFI_AP", "WIFI_PASSWORD");
Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/Callback/Call/Call.ino
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/Callback/Delete/Delete.ino
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/Callback/Get/Get.ino
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/Callback/Patch/Patch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/NoCallback/Call/Call.ino
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/NoCallback/Create/Create.ino
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/NoCallback/Delete/Delete.ino
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/NoCallback/Get/Get.ino
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
1 change: 0 additions & 1 deletion examples/CloudFunctions/Async/NoCallback/Patch/Patch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ bool taskCompleted = false;

void setup()
{

Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

Expand Down
Loading

0 comments on commit 73af7f0

Please sign in to comment.