Hi,
I wrote a file on the SD card and I want to send it on a ftp server or something else via GPRS.
Your example (serverComm.c) send CAN values or data store in structure but not an entire file.
Is it possible ? if yes, How can I do that ?
Thanks
Best regards.
Stephane
Send file with GPRS
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Send file with GPRS
For that you need to implement a FTP Client into your Firmware. We do not offer such a code for this unit.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: Send file with GPRS
Thanks for reply.
I try to code my ftp client, and I always have a CME ERROR 812 error.
Then I try your serverComm.c example and I have the same error ??
WIND: 3
AT+WHWV
Hardware Version 2..00
AT+CFUN=1
OK
WIND : 3
CREG : 0
WIND : 1
CREG : 2
WIND : 4
WIND : 7
AT+WIPCFG=1
OK
AT+WIPBR=1,6
OK
AT+WIPBR=2,6,11,"xxxxxx"
OK
AT+WIPBR=2,6,0,"xxxxxx"
OK
AT+WIPBR=2,6,1,"xxxxxx"
OK
AT+WIPBR=4,6,0
CME ERROR 812
I don't know where is the probleme.
I find on sierra wireless forum that someone solve the problem by update the CPU WMP50 firmware !
Thanks
Stephane
I try to code my ftp client, and I always have a CME ERROR 812 error.
Then I try your serverComm.c example and I have the same error ??
WIND: 3
AT+WHWV
Hardware Version 2..00
AT+CFUN=1
OK
WIND : 3
CREG : 0
WIND : 1
CREG : 2
WIND : 4
WIND : 7
AT+WIPCFG=1
OK
AT+WIPBR=1,6
OK
AT+WIPBR=2,6,11,"xxxxxx"
OK
AT+WIPBR=2,6,0,"xxxxxx"
OK
AT+WIPBR=2,6,1,"xxxxxx"
OK
AT+WIPBR=4,6,0
CME ERROR 812
I don't know where is the probleme.
I find on sierra wireless forum that someone solve the problem by update the CPU WMP50 firmware !
Thanks
Stephane
-
- Hardware Development
- Posts: 87
- Joined: Fri 10. Sep 2010, 13:11
Re: Send file with GPRS
Well, as you may read in the WIPAT command user guide the CME ERROR 812 means "bearer connection failure : GPRS network failure". So it looks rather like there is an problem with your network connection then a problem with the WMP50.
You may for example enable the tunneling of the modem data to the external UART to communicate directly with the modem to gather further information about the problem.
You may for example enable the tunneling of the modem data to the external UART to communicate directly with the modem to gather further information about the problem.
Re: Send file with GPRS
Ok,
I find the problem, in fact data into the command AT+WIPBR=2,6,... was incorrect.
Now I have a connection to the server but I have a problem when I send a file
AT+WIPFILE=4,1,2,"./test.txt"
CONNECT
And nothing else during long time and then
+CME ERROR 841.
I try to upload a file from the ftp server :
AT+WIPFILE=4,1,1,"./test1.txt"
CONNECT
aazeertyuiop
qsdfghjklm
wxcvbn,;:!
123<
456
789
OK
But no file on the SD Card ?!?!
Do you have an idea ?
Thanks
Regards
I find the problem, in fact data into the command AT+WIPBR=2,6,... was incorrect.
Now I have a connection to the server but I have a problem when I send a file
AT+WIPFILE=4,1,2,"./test.txt"
CONNECT
And nothing else during long time and then
+CME ERROR 841.
I try to upload a file from the ftp server :
AT+WIPFILE=4,1,1,"./test1.txt"
CONNECT
aazeertyuiop
qsdfghjklm
wxcvbn,;:!
123<
456
789
OK
But no file on the SD Card ?!?!
Do you have an idea ?
Thanks
Regards
-
- Hardware Development
- Posts: 87
- Joined: Fri 10. Sep 2010, 13:11
Re: Send file with GPRS
No, I'm sorry but I can't give you any support for your FTP issues.