
' **********************************************************************
' * Script name:   TCP Text messages                                   *
' * Description:   The device sends the Text messages via TCP to the   *
' *                main server                                         *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/04/2011                                          *
' **********************************************************************
' --------------------------------------------------------------------
' General configuration
' --------------------------------------------------------------------
AT&F
AT+GSN
AT$PKG?
AT$MDMID?
at+cgatt=0
at+cgdcont=1,"IP","internet3.voicestream.com"
at$Friend=1,1,"209.42.60.137",1735,3
at$udpapi=,1720
at$tcpapi=1

at+cgatt=1

at$areg=2

at&w


at$msgsnd=4,"This is the TCP message test"

'at$msgsnd=2,"ooooooooo1ooooooooo2ooooooooo3ooooooooo4ooooooooo5ooooooooo6ooooooooo7ooooooooo8ooooooooo9oooooooo10oooooooo11oooooooo12oooooooo13oooooooo14oooooooo15oooooooo16oooooooo17oooooooo18oooooooo19oooooooo20oooooooo21oooooooo22oooooooo23oooooooo24123456789"

at$msgsnd=4,"This is the TCP message 1 test without  IP"
at$msgsnd=4,"This is the TCP message 2 test without  IP"
at$msgsnd=4,"This is the TCP message 3 test without  IP"
at$msgsnd=4,"This is the TCP message 4 test without  IP"
at$msgsnd=4,"This is the TCP message 5 test without  IP"
at$msgsnd=4,"This is the TCP message 6 test without  IP"
at$msgsnd=4,"This is the TCP message 7 test without  IP"
at$msgsnd=4,"This is the TCP message 8 test without  IP"
at$msgsnd=4,"This is the TCP message 9 test without  IP"
at$msgsnd=4,"This is the TCP message 10 test without  IP"

at$msgsnd=2,"test !@#$$ |?/"

