Library for the Adafruit FONA. This is a port of the original Arduino library available at: https://github.com/adafruit/Adafruit_FONA_Library . - Modified by Marc PLOUHINEC 27/06/2015 for use in mbed - Modified by lionel VOIRIN 05/08/2018 for use Adafruit FONA 3
Dependents: Adafruit_FONA_3G_Library_Test
Diff: Adafruit_FONA.h
- Revision:
- 4:05c32425d2da
- Parent:
- 2:3fc229f5ec3f
- Child:
- 5:79e4c91f2b73
--- a/Adafruit_FONA.h Tue Aug 07 14:30:19 2018 +0000 +++ b/Adafruit_FONA.h Sat Aug 11 09:44:50 2018 +0000 @@ -169,6 +169,7 @@ // TCP raw connections bool TCPconnect(char *server, uint16_t port); + uint8_t getIPADDR(char *ipaddr); bool TCPclose(void); bool TCPconnected(void); bool TCPsend(char *packet, uint8_t len); @@ -295,8 +296,10 @@ // TCP raw connections uint8_t TCPinitialize(void); + uint8_t getTCPtimeout(char *tcptimeout); bool TCPconnect(char *server, uint16_t port); bool TCPclose(void); + bool TCPsend(char *packet); protected: bool sendParseReply(const char* tosend, const char* toreply, float *f, char divider, uint8_t index);