I need to interface the CR1000 datalogger with the TC65 GPRS terminal.
All the recorded statistics like temperature and humidity should be sent through that terminal to an FTP server in the following manner:
Sensors <-> CR1000 <-> TC65 <-> GPRS <-> the Internet <-> FTP Server <-> Client
The info sent can be in any format (either '.dat' or '.txt').
Do you know how this can be done?
Best regards,
Mac
PS.
I know it's possible to program the datalogger in Java somehow, so that it transfers PakBus packets to the IP network, but the link where the SDK should be is empty:
http://www.campbellsci.com/java-sdk
新对话如下:
I am not familiar with the TC65 modem, but once you get the physical link worked out, the CR1000 datalogger has an FTPClient instruction that will let you send files to an FTP site. The files can be generated with the TableFile instruction that saves files to a user-created (using datalogger memory -- see USRDrive in the CRBasic help or datalogger manual) or card drive.
Oh, the java-sdk link worked for me -- you might want to try it again.
Hope this helps,
Dana W.
新对话如下:
Thanks for you quick reply, Dana.
The link itself works, that's true. But the 'Download' page contains nothing. My mistake, I should've directed you here:
http://www.campbellsci.com/2_1533_14_1
Regarding the FTPClient instruction, I can't use it because it requires me to specify an IP address of the destination, which must have an FTP server running. I don't think TC65 terminal, which works through AT commands can be used this way, can it?
Anyway, what about that PakBus implemented in Java; do you know how this can be done?
Best regards,
Mac
I believe some of the issues are being confused.
Our end users program the CR1000 using CRBasic. You do not program the logger using Java. The Java SDK is provided for creating Java programs that execute on a computer not the logger.
The SDK needs to be ordered. It is not freely obtainable from the web site.
The TC65 is a GSM modem. As your diagram indicates, it is a piece of hardware that allows you to connect your logger to a network ... in your case, ultimately a FTP server
To use the FTPclient instruction you will need to know the address of the FTP server that you indicated the need to transfer data to.
To utilize the IP functionality of the logger you will need to use a device like the NL115 or NL120 or in your case open a PPP connection with the TC65. You will need to work with the providers of the TC65 to make sure it can host a PPP connection on the serial port. Then you will want to bone up on how to initiate a PPP connection using the logger (start with Device Configuration Utility and probably check out PPPOpen and PPPClose).