Skip to content

Commit

Permalink
Fix PPP compilation error in ESP32 Core v3.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Dec 25, 2024
1 parent 0d02fb8 commit a09bf8b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

![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.4.11-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.4.12-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)

Revision `2024-12-21T04:55:10Z`
Revision `2024-12-25T03:00:36Z`

## Table of Contents

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

#include <Arduino.h>

#include <PPP.h>

#include <FirebaseClient.h>

#include <NetworkClientSecure.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

#include <Arduino.h>

#include <PPP.h>

#include <FirebaseClient.h>

#include <NetworkClientSecure.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

#include <Arduino.h>

#include <PPP.h>

#include <FirebaseClient.h>

#include <NetworkClientSecure.h>
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FirebaseClient",
"version": "1.4.11",
"version": "1.4.12",
"keywords": "communication, REST, esp32, esp8266, arduino",
"description": "Async Firebase Client library for Arduino.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name=FirebaseClient

version=1.4.11
version=1.4.12

author=Mobizt

Expand Down
2 changes: 1 addition & 1 deletion src/core/Core.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#undef FIREBASE_CLIENT_VERSION
#endif

#define FIREBASE_CLIENT_VERSION "1.4.11"
#define FIREBASE_CLIENT_VERSION "1.4.12"

static void sys_idle()
{
Expand Down
13 changes: 1 addition & 12 deletions src/core/Network.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Created December 21, 2024
* Created December 25, 2024
*
* For MCU build target (CORE_ARDUINO_XXXX), see Options.h.
*
Expand Down Expand Up @@ -269,18 +269,7 @@ typedef void (*NetworkStatusCallback)(bool &);

#if __has_include(<PPP.h>)
#include <PPP.h>
#endif

#define FIREBASE_NATIVE_PPP_IS_AVAILABLE
// ESP32 Core Enum
// PPP_MODEM_GENERIC
// PPP_MODEM_SIM7600
// PPP_MODEM_SIM7070
// PPP_MODEM_SIM7000
// PPP_MODEM_BG96
// PPP_MODEM_SIM800
#if defined(CONFIG_ESP_MODEM_ADD_CUSTOM_MODULE)
// PPP_MODEM_CUSTOM
#endif

#endif
Expand Down

0 comments on commit a09bf8b

Please sign in to comment.