Greetings,
I have an issue understanding what a PAD connection does. As far as I know it converts asynchronous data to packets to be transmitted through an X.25 network. Yet, in the AT commands manual, it says I need to use PADsetup to setup a PAD Server/Client:
AT!PADSETUP=<PADprofile>, <conntype>, <addrtype>, <ipaddr>, <localport>, <remoteport>, <autostart>[, <connprofile>]
However, the command needs and IP address & port. So, does this mean, that the MC9090 sends PAD packets over TCP/IP ?
Also, can I connect to a simple TCP/IP server or should it also be running PAD server?
Last but not least, I have a TCP server running and I’m trying to connect to it using PADCONN but I keep on receiving an error:
AT+CGATT=1
OK
AT+CGATT?
+CGATT: 1
OK
AT+CGDCONT=1,"IP","internet"
OK
AT+CGACT=1,1
OK
AT+CGACT?
+CGACT: 1,1
OK
AT+CGREG?
+CGREG: 0,1
OK
AT!PADSETUP=1,2,0,A.B.C.D,0,PORT,0,1 //TCP/IP Server running on A.B.C.D:PORT
OK
AT!PADCONN=1
ERROR
Not sure I’m unable to connect to the server. Im able to establish a TCP connection with the server from my PC but not from my embedded computer!
Any help will be very much appreciated!