sock_MDM2.py

Script description: the script sends data to a server through a TCP socket on MDM while using MDM2 for other AT actions

User inputs: edit these values in the script

      GPRS_APN = 'xxx.xxxxx.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