Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Send data using SIM300C

Status
Not open for further replies.

northmoonwalker

Junior Member level 2
Joined
May 10, 2008
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,453
at+cipserver

Hello

I'm using SIM300C to send data through GPRS.

I can connect to GPRS
but I'm not able to send data. when I'm using the AT+CIPSEND the data is not send to the server.

the command that I used:

at+cpin?
+CPIN: READY

OK

Call Ready

at+cgreg?
+CGREG: 0,1

OK
at+creg?
+CREG: 0,1

OK

at+cgatt?
+CGATT: 1

OK
at+cipserver
OK

at+cipccon?
+CIPCCON: 1

at+clport="tcp","2021"
OK

at+clport?
TCP: 2021
UDP: 3030

at+cipstart="tcp","213.193.4.20","21"
OK

CONNECT OK
220 213.193.4.20 FTP server ready

at+cipserver?
+CIPSERVER: 0

OK

at+cipsend
> USER dddddd
SEND OK

421 No Transfer Timeout (300 seconds): closing control connection.

CLOSED

at+cipstatus
OK

STATE: IP CLOSE

+PDP: DEACT

//////////

Is there any command that I forgot to do it
Could you please help me for that purpose

Thank you for your help

Best regards
 

sim300c pdp: deact

Hi,
I am getting same problem. Did you find any solution for that. Please let me know.

Thanks & Regrads
 

+pdp: deact

Hi
I've got the same problem also :cry: Did You find any solution ??
 

at+cipsend+text file

AT+CIPCSGP=1,"Server IP"
at+cstt
at+ciicr
at+cifsr
at+cipserver
at+clport="TCP","2021"
at+cipstart="tcp","FTP server","21"
at+cipsend
user username <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z>
at+cipsend
pass password
at+cipsend
mkd qwer <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> //make dir
at+cipsend
> cwd qwer <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> // change dir
at+cipsend
port ***,***,***,***,7,228 <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> // (port in high an low bytes 7*256+228=2020), ***,***,***,*** - my IP
at+cipsend
> appe abc.txt //create or append to file
at+cipccon=2
at+cipsend
> text to file
at+cipccon=1
at+cipsend
> ABOR
.........................
// reconnect
at+cipsend
RETR abc.txt <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> // read file
 
  • Like
Reactions: rafati

    rafati

    Points: 2
    Helpful Answer Positive Rating
pdp deact

I am working on the GPRS issue too. But am not sure to be sure that the data has been sent from the modem. That is, what are you using on the other side to read the data that is sent.
 

at+cipcsgp

expert_s said:
AT+CIPCSGP=1,"Server IP"
at+cipsend
mkd qwer <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> //make dir
at+cipsend
> cwd qwer <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> // change dir
at+cipsend
port ***,***,***,***,7,228 <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> // (port in high an low bytes 7*256+228=2020), ***,***,***,*** - my IP
at+cipsend
> appe abc.txt //create or append to file
at+cipccon=2
at+cipsend
> text to file
at+cipccon=1
at+cipsend
> ABOR
.........................
// reconnect
at+cipsend
RETR abc.txt <Enter> <ALT>+ <010>(on additional keyboard) <ctrl+z> // read file

Hi,
I can create directory.
But command cwd and appe retunr :500 Unknown command

Added after 24 minutes:

oops I found it I must enter passive mode with PASV
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top