Update SIM7000.h
This commit is contained in:
parent
a899f6c7cb
commit
d88cc407dd
|
@ -10,9 +10,9 @@ class SIM7000
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bool begin(Stream &port);
|
bool begin(Stream &port);
|
||||||
bool check_send_cmd(const char* cmd, const char* resp, unsigned int timeout = DEFAULT_TIMEOUT, unsigned int chartimeout = DEFAULT_INTERCHAR_TIMEOUT);
|
|
||||||
void sendCmd(const char* cmd);
|
void sendCmd(const char* cmd);
|
||||||
int readBuffer(char *buffer, int count, unsigned int timeout = DEFAULT_TIMEOUT, unsigned int chartimeout = DEFAULT_INTERCHAR_TIMEOUT);
|
int readBuffer(char *buffer, int count, unsigned int timeout = DEFAULT_TIMEOUT, unsigned int chartimeout = DEFAULT_INTERCHAR_TIMEOUT);
|
||||||
|
bool check_send_cmd(const char* cmd, const char* resp, unsigned int timeout = DEFAULT_TIMEOUT, unsigned int chartimeout = DEFAULT_INTERCHAR_TIMEOUT);
|
||||||
private:
|
private:
|
||||||
SoftwareSerial* mySerial;
|
SoftwareSerial* mySerial;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue