Script description: the script does a loop with the following operations:
put the module in power saving mode for 5 minutes and then wakes it up - open a TCP/IP socket and send a string to a server - sleep for 5 seconds.
User inputs: edit these values in the script
GPRS_APN = 'xxx.xxxxxxx.xx' # APN, ask your network provider the correct value
GPRS_USER = “” # GPRS username
GPRS_PASSW =”” # GPRS password
SERVER_ADDR = 'xxx.xxx.xxx.xxx' # Target server address
SERVER_PORT = xxxx # Target server port
stringtosend = 'testing 123\r' # String to be sent the server
Availability: any Telit product supporting Python