Hi All,
I am making steady progress here - I think that using the correct modem is the key.
On my modem (a Fargo Maestro 100) it is possible to use extended AT commands to set up ftp via GPRS. Sending FTP file to a server is then just a case of sending the appropriate setup commands to the modem (e.g: AT#FTPSERV="xxx.xxx.xxx.xxx", AT#FTPPUTFILENAME="example.txt" and so on, and then sending AT#FTPPUT to open the filename "example.txt" on the server.
Everything that is then sent through the modem then ends up in the file on the remote server, until the appropriate termination character is encountered. The problem I now have is this...
I have modified the RS232 cable to fool the dataTaker into thinking that it is connected to something other than a modem. This is because, as far as I can tell, there is no way to send AT commands to the modem if it is configured as the host port (which is automatic if a normal RS232 cable is used, since the modem pulls DSR high).
That means that "U" doesn't unload data via the RS232 port, as I think this only works with a modem attached. I can unload via the rs232 port only if I send "U" to that port...
I have two questions:
Is it possible to send AT commands to a normal modem during the course of the program rather than as part of the initialization string?
Is it possible to unload via the serial sensor port or host port using a program? Am I missing something basic?
OK - that's three questions.
Thanks,
Robin
Hi All,
I am making steady progress here - I think that using the correct modem is the key.
On my modem (a Fargo Maestro 100) it is possible to use extended AT commands to set up ftp via GPRS. Sending FTP file to a server is then just a case of sending the appropriate setup commands to the modem (e.g: AT#FTPSERV="xxx.xxx.xxx.xxx", AT#FTPPUTFILENAME="example.txt" and so on, and then sending AT#FTPPUT to open the filename "example.txt" on the server.
Everything that is then sent through the modem then ends up in the file on the remote server, until the appropriate termination character is encountered. The problem I now have is this...
I have modified the RS232 cable to fool the dataTaker into thinking that it is connected to something other than a modem. This is because, as far as I can tell, there is no way to send AT commands to the modem if it is configured as the host port (which is automatic if a normal RS232 cable is used, since the modem pulls DSR high).
That means that "U" doesn't unload data via the RS232 port, as I think this only works with a modem attached. I can unload via the rs232 port only if I send "U" to that port...
I have two questions:
1. Is it possible to send AT commands to a normal modem during the course of the program rather than as part of the initialization string?
2. Is it possible to unload via the serial sensor port or host port using a program? Am I missing something basic?
OK - that's three questions.
Thanks,
Robin