tuongnq / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

feature request: UDP client #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. extend the library with int InetGSM::connectUDP(const char* server, int 
port) {...}
2. use the body of function connectTCP(const char* server, int port)
3. replacing gsm.SimpleWrite("AT+CIPSTART=\"TCP\",\""); with 
gsm.SimpleWrite("AT+CIPSTART=\"UDP\",\"");

What is the expected output? What do you see instead?
I expect the function to return 1 but instead I get 0 ( 
RX_FINISHED_STR_NOT_RECV )

What version of the product are you using? On what operating system?
Arduino 1.0.3; BETA_GSM_GPRS_GPS_IDE100_v305

Please provide any additional information below.
if I manually enter the at command AT+CIPSTART="UDP","www.example.com",41234 
from the serial terminal i get the OK response. Then I enter the at command 
AT+CIPSEND and I get the > response. I couldn't send data from the serial 
terminal. The i send AT+CIPCLOSE and I get CLOSE OK.

Original issue reported on code.google.com by marchior...@gmail.com on 13 Apr 2013 at 11:19

GoogleCodeExporter commented 8 years ago
We'll do it!
Marco

Original comment by martines...@gmail.com on 25 May 2013 at 10:33

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27