Author |
Message |
Topic: Send file FTP with SIM900 |
NVergunst
Replies: 20
Views: 45405
|
Forum: General CCS C Discussion Posted: Sun Oct 22, 2017 3:24 am Subject: Send file FTP with SIM900 |
What you show does not agree.
You have an FTP session, and send this, but then with this still active, send a EXTPUT=0. There is no sign at this point that you have actually had an EXTPUT session. ... |
Topic: Send file FTP with SIM900 |
NVergunst
Replies: 20
Views: 45405
|
Forum: General CCS C Discussion Posted: Sun Oct 22, 2017 3:07 am Subject: Send file FTP with SIM900 |
Some things need to happen in order.
It is the FTPCID command that associates the transfer session with the number '1'. This needs to be before you send the SAPBR stuff linked to this number.
Yo ... |
Topic: Send file FTP with SIM900 |
NVergunst
Replies: 20
Views: 45405
|
Forum: General CCS C Discussion Posted: Sun Oct 22, 2017 1:52 am Subject: Send file FTP with SIM900 |
You seem to be sending an FTPPUT=1 before the FTPEXTPUT. The FTPPUT=1 is what triggers the transfer. You can't setup the extended transfer after having triggered the transfer.
Look at the applicat ... |
Topic: Send file FTP with SIM900 |
NVergunst
Replies: 20
Views: 45405
|
Forum: General CCS C Discussion Posted: Sat Oct 21, 2017 8:51 pm Subject: Send file FTP with SIM900 |
I notice your syntax is incorrect for the FTPTYPE command. Might not be helping.
The syntax is:
AT+FTPTYPE="I"
Must have the inverted commas.
Good catch. I changed that, no chang ... |
Topic: Send file FTP with SIM900 |
NVergunst
Replies: 20
Views: 45405
|
Forum: General CCS C Discussion Posted: Sat Oct 21, 2017 3:43 am Subject: Send file FTP with SIM900 |
If the simple FTPEXTPUT command is giving 'ERROR' directly like this without saying anything else, I'd say you don't have firmware that supports this.
Check your firmware version and update if neces ... |
Topic: Send file FTP with SIM900 |
NVergunst
Replies: 20
Views: 45405
|
Forum: General CCS C Discussion Posted: Fri Oct 20, 2017 3:56 pm Subject: Send file FTP with SIM900 |
Error on FTPPUT, almost certainly means it has not dropped the previous connection. I have never worked out 'why', you tell it to drop the connection at the end, but for some (unknown) reason it seems ... |
Topic: Send file FTP with SIM900 |
NVergunst
Replies: 20
Views: 45405
|
Forum: General CCS C Discussion Posted: Fri Oct 20, 2017 2:36 pm Subject: Send file FTP with SIM900 |
If you are intending ever to use it on a different GSM provider, or even at different sites, then you need to assume that on some at least, 1024 will not be supported as a single transaction.
So, u ... |
|