Simple way to read from the newsoftserial and print the value on the hardware serial Port: port used for establish a connectionġ - server started successfully, waiting for client connection Puts the SIM900 into server mode, waiting for TCP client connection on the specified port. Port: port used to establish a connectionĮ.g. Server: pointer to the server address string, it can be the IP or normal address Starts a socket connection to the server at specific port Int connectTCP(const char* server, int port) Int attachGPRS(char* domain, char* dom1, char* dom2)Įstablishes a GPRS connection with domain using authentication (if needed)ĭomain: pointer to a string that contains the domain address of GPRS connectionĭom1: pointer to the username string (don't use if not needed)ĭom2: pointer to the password string (don't use if not needed)Ġ - unable to establish a GPRS connection The below functions are always available in the library. It seems this library was refactored and published by the iTead team.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |