I'm setting up a CR300 to get internet connection from a M110 modem on the RS232 port.
The modem is working fine, in the sense that it connects as it should. I can issue AT commands to the modem via serial talkthrough on the logger, and the modem echo is on (ATE1).
But I cannot get a connection working over PPP. We have a similar setup with a M100 which was configured using mobile data assistant. Using MDA is not possible with the M110, but I was hoping there would be some clues there how to solve the problem.
Is there a list with all the AT commands that MDA sends to the M100 during configuration, and the configuration changes it makes on the datalogger itself?
Thanks!
Some more details:
The PPP results in a loopback (with dialstring PPP, same with some other dialstring and I write the expected response (e.g. response ERROR or OK, the connection is already handled by the modem itself).
20:01:49.830 Serial line is looped back. 20:01:49.830 ppp phase changed[1]: phase=11 20:01:49.835 pppos_write[1]: len=25 20:01:49.854 pppos_input[1]: got 33 bytes 20:01:49.856 pppos_write[1]: len=8 20:01:49.874 pppos_input[1]: got 17 bytes 20:01:49.874 ppp phase changed[1]: phase=12 20:01:49.874 Connection terminated. 20:01:49.874 ppp_link_terminated[1] 20:01:49.874 ppp_link_end[1] 20:01:49.875 ppp phase changed[1]: phase=0 20:01:49.875 PPP Loopback detected 20:01:49.875 ppp_link_terminated[1]: finished.
I set the modem with the following AT commands
AT#IPCELLULAR=1,"apn.internet.please" AT#IPTCP=1,6785,"S","255.255.255.255" AT#AUTOTCP=1 ATE1
With the IPTCP command I can connect to the logger remotely over TCP port 6785, but the logger itself cannot connect outbound due to the PPP connection failing. The logger is programmed to send data out (HTTPPost)
Any suggestions?
MDA shows the AT commands sent to modems that it works with, which might help you. Alternatively you could make a cable up to watch the serial traffic whilst MDA is running. You can save the logger config before and after MDA runs to see the changes made.