We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055be33 commit c41b4d8Copy full SHA for c41b4d8
libraries/PPP/src/PPP.h
@@ -41,9 +41,6 @@ class PPPClass : public NetworkInterface {
41
// Modem DCE APIs
42
int RSSI() const;
43
int BER() const;
44
- int getBatteryVoltage() const;
45
- int getBatteryLevel() const;
46
- int getBatteryStatus() const;
47
String IMSI() const;
48
String IMEI() const;
49
String moduleName() const; // modem module name
@@ -52,7 +49,10 @@ class PPPClass : public NetworkInterface {
52
int radioState() const; // 0:minimal, 1:full
53
50
bool attached() const; // true is attached to network
54
51
bool sync() const; // true if responds to 'AT'
55
-
+ int batteryVoltage() const;
+ int batteryLevel() const;
+ int batteryStatus() const;
+
56
// Switch the communication mode
57
bool mode(esp_modem_dce_mode_t m);
58
esp_modem_dce_mode_t mode() const {
0 commit comments