arduino-esp32/libraries/PPP/src
WebDust21 0fa4aa632c
PPP: add "battery status" read stub functions (#10043)
* add "getBattery" functions + #define simplicity

replaced all function protections with a #define to simplify code functionality.  Also added "getBattery" functions to leverage "esp_modem_get_battery_status" call in ESP-MODEM.

* add "getBattery" function defs to PPP.h

* fix(ppp): uncomment error logging, change new function naming

* fix(ppp): rename new functions for naming conformity

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-07-22 11:59:40 +03:00
..
ppp.c Add support for PPP Modems to Arduino (#9518) 2024-04-19 15:50:50 +03:00
PPP.cpp PPP: add "battery status" read stub functions (#10043) 2024-07-22 11:59:40 +03:00
PPP.h PPP: add "battery status" read stub functions (#10043) 2024-07-22 11:59:40 +03:00