MyGSM.h 373 B

12345678910111213141516171819202122232425
  1. #ifndef MyGSM_h
  2. #define MyGSM_h
  3. #include <Arduino.h>
  4. class MyGSM
  5. {
  6. public:
  7. MyGSM(int pin);
  8. void initShield();
  9. void enterPin();
  10. void send_AT_cmd(const char *at_cmd, char *at_rep);
  11. bool sortRecv(char *buff, char *string);
  12. char cutRecv(char *buf, char *strBegin, char *strEnd);
  13. bool flagOn;
  14. private:
  15. int _pin;
  16. };
  17. #endif