Browse Source

Added very minor code comments

v_master
Sara Damiano 6 years ago
parent
commit
ed9b87d896
9 changed files with 63 additions and 8 deletions
  1. +7
    -1
      src/TinyGsmClientA6.h
  2. +7
    -1
      src/TinyGsmClientBG96.h
  3. +8
    -1
      src/TinyGsmClientESP8266.h
  4. +7
    -1
      src/TinyGsmClientM590.h
  5. +7
    -1
      src/TinyGsmClientM95.h
  6. +4
    -0
      src/TinyGsmClientMC60.h
  7. +9
    -1
      src/TinyGsmClientSIM800.h
  8. +7
    -1
      src/TinyGsmClientUBLOX.h
  9. +7
    -1
      src/TinyGsmClientXBee.h

+ 7
- 1
src/TinyGsmClientA6.h View File

@ -522,6 +522,10 @@ public:
return res;
}
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t* mux) {
@ -566,7 +570,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


+ 7
- 1
src/TinyGsmClientBG96.h View File

@ -534,6 +534,10 @@ public:
int getBattPercent() TINY_GSM_ATTR_NOT_IMPLEMENTED;
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t mux, bool ssl = false) {
@ -623,7 +627,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


+ 8
- 1
src/TinyGsmClientESP8266.h View File

@ -191,6 +191,7 @@ public:
}
};
public:
TinyGsmESP8266(Stream& stream)
@ -386,6 +387,10 @@ public:
return res2;
}
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t mux, bool ssl = false) {
@ -423,7 +428,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


+ 7
- 1
src/TinyGsmClientM590.h View File

@ -519,6 +519,10 @@ public:
int getBattPercent() TINY_GSM_ATTR_NOT_AVAILABLE;
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t mux) {
@ -576,7 +580,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


+ 7
- 1
src/TinyGsmClientM95.h View File

@ -627,6 +627,10 @@ public:
return res;
}
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t mux, bool ssl = false) {
@ -728,7 +732,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


+ 4
- 0
src/TinyGsmClientMC60.h View File

@ -662,6 +662,10 @@ public:
return res;
}
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t mux, bool ssl = false) {


+ 9
- 1
src/TinyGsmClientSIM800.h View File

@ -39,6 +39,7 @@ enum RegStatus {
REG_UNKNOWN = 4,
};
class TinyGsmSim800 : public TinyGsmModem
{
@ -694,6 +695,7 @@ public:
/*
* Battery functions
*/
// Use: float vBatt = modem.getBattVoltage() / 1000.0;
uint16_t getBattVoltage() {
sendAT(GF("+CBC"));
@ -719,6 +721,10 @@ public:
return res;
}
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t mux, bool ssl = false) {
@ -813,7 +819,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


+ 7
- 1
src/TinyGsmClientUBLOX.h View File

@ -547,6 +547,10 @@ public:
return res;
}
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t* mux, bool ssl = false) {
@ -640,7 +644,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


+ 7
- 1
src/TinyGsmClientXBee.h View File

@ -651,6 +651,10 @@ fail:
int getBattPercent() TINY_GSM_ATTR_NOT_AVAILABLE;
/*
* Client related functions
*/
protected:
bool modemConnect(const char* host, uint16_t port, uint8_t mux = 0, bool ssl = false) {
@ -716,7 +720,9 @@ protected:
public:
/* Utilities */
/*
Utilities
*/
template<typename T>
void streamWrite(T last) {


Loading…
Cancel
Save