Added very minor code comments

This commit is contained in:
Sara Damiano
2018-09-13 16:43:08 -04:00
parent 48a61cc5c2
commit ed9b87d896
9 changed files with 63 additions and 8 deletions

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) {