Go Down

Topic: UNOr3 + SIM900 - cant stop CIPSEND data sending with CTRLZ (Read 747 times) previous topic - next topic

Noobeum

Hello there.
A have UNO r3 wired-connected with SIM900 (with external 5V 2A power: SIM900 pins 7-8 connected with 2-3 pins arduino).
I have successful SMS-sending and recieving (with CTRLZ-stop symbol)

Then a I trying to send grps data on my home tcp server with piblic ip, or other internet-server on port 80.
But when a start CIPSEND, i cant stop it with CTRLZ symbol
I tryed CTRLZ ((char)26) with any combinations of CTRLZ /r /n /0 - but no effect
My server see my connection, and start reading data, but cant read anything...

Same CTRLZ symbol i use in SMS-send and it works fine there.

I tryed make all comands from serial console (not arduino code) with special "/end" == ((char)26) replacing, but ia had same effect

After 5-10 minutes it stops with CLOSED
But my server does not recieve any data.

Code: [Select]

>AT+CIPSTATUS

OK

STATE: IP INITIAL
///
 = DAT: starting...
<AT + CIPMUX = 0
>AT + CIPMUX = 0

OK
///
<AT+CIPSTATUS
>AT+CIPSTATUS

OK

STATE: IP INITIAL
///
 = DAT: attaching...
<AT + CSTT = "internet.mts.ru,mts,mts"
>AT + CSTT = "internet.mts.ru,mts,mts"

OK
///
<AT+CIPSTATUS
>AT+CIPSTATUS

OK

STATE: IP START
///
=DAT: setting active...
<AT+CIICR
>AT+CIICR
///
>
OK
///
<AT+CIPSTATUS
>AT+CIPSTATUS

OK

STATE: IP GPRSACT
///
=DAT: getting address...
<AT+CIFSR
>AT+CIFSR

172.30.6.136
///
<AT+CIPSTATUS
>AT+CIPSTATUS

OK

STATE: IP STATUS
///
=DAT: opening tcp...
>AT+CIPSTART="TCP","(my_home_public_ip)","80"

OK
///
=DAT connect rsp 50 /AT+CIPSTART="TCP","(my_home_public_ip)","80"

OK
/
>
CONNECT OK
///
=DAT connect rsp 14 /
CONNECT OK
/
=DAT: connected
=DAT: !!! tcp connected !!!
<AT+CIPSEND=14
>AT+CIPSEND=14

> ///
>lalalalala
=DAT: rsp [lalalalala

]=14
=DAT: ctrlz
>(ctrl-z symbol here)
///
=DAT: rsp [(ctrl-z symbol here)
]=2

///

Go Up