File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments