tester
Fork of GPRSInterface by
Diff: GPRS/GPRS.h
- Revision:
- 10:698c04e25c6b
- Parent:
- 9:5afc5b4e2df8
diff -r 5afc5b4e2df8 -r 698c04e25c6b GPRS/GPRS.h --- a/GPRS/GPRS.h Fri Jul 25 10:42:42 2014 +0000 +++ b/GPRS/GPRS.h Fri Sep 25 03:35:58 2015 +0000 @@ -62,7 +62,13 @@ * @return true if connected, false otherwise */ bool join(void); - + // added by Noah Milam + void start_server(); + void send_SMS(char*); + void read_SMS(); + void listen_server(); + + // end of what Noah Milam added /** Disconnect the GPRS module from the network * @returns true if successful */ @@ -142,10 +148,10 @@ int new_socket(); uint16_t new_port(); uint32_t _ip; - + bool preInit(); protected: - bool preInit(); + bool checkSIMStatus(void); uint32_t str_to_ip(const char* str); static GPRS* inst;