Skip to content

Commit c41b4d8

Browse files
authored
fix(ppp): rename new functions for naming conformity
1 parent 055be33 commit c41b4d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: libraries/PPP/src/PPP.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ class PPPClass : public NetworkInterface {
4141
// Modem DCE APIs
4242
int RSSI() const;
4343
int BER() const;
44-
int getBatteryVoltage() const;
45-
int getBatteryLevel() const;
46-
int getBatteryStatus() const;
4744
String IMSI() const;
4845
String IMEI() const;
4946
String moduleName() const; // modem module name
@@ -52,7 +49,10 @@ class PPPClass : public NetworkInterface {
5249
int radioState() const; // 0:minimal, 1:full
5350
bool attached() const; // true is attached to network
5451
bool sync() const; // true if responds to 'AT'
55-
52+
int batteryVoltage() const;
53+
int batteryLevel() const;
54+
int batteryStatus() const;
55+
5656
// Switch the communication mode
5757
bool mode(esp_modem_dce_mode_t m);
5858
esp_modem_dce_mode_t mode() const {

0 commit comments

Comments
 (0)