
' **********************************************************************
' * Script name:   UDP Text messages                                   *
' * Description:   The device sends the Text messages via UDP to the   *
' *                server defined for PAD mode                         *
' * 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=,1721
AT$PADSRC=1720
AT$PADDST="209.42.60.137",1720

at+cgatt=1

at$areg=2

at&w


at$msgsnd=3,"This is the PAD message test"

'at$msgsnd=3,"ooooooooo1ooooooooo2ooooooooo3ooooooooo4ooooooooo5ooooooooo6ooooooooo7ooooooooo8ooooooooo9oooooooo10oooooooo11oooooooo12oooooooo13oooooooo14oooooooo15oooooooo16oooooooo17oooooooo18oooooooo19oooooooo20oooooooo21oooooooo22oooooooo23oooooooo24123456789"

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

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

