Not connecting to a url with slashes "/"

Apr 18, 2013 at 2:04 AM
Edited Apr 18, 2013 at 2:17 AM
Hello guys, first of all let me say that you are doing a great job with this driver.
I'm trying to connect to an endpoint with this format "" but I'm receiving the following error message: "CONNECT FAIL", bellow the trace:

CellularRadio : SENT: AT+CIPSTART="TCP","","80"
CellularRadio : <AT+CIPSTART="TCP","","80"
RadioState: 5
RadioState: 5
CellularRadio : <
CellularRadio : SENT DATA: +++
CellularRadio : <+++>
CellularRadio : <AT+CIPCLOSE

If I try to connect to the IP only, the connection is established correctly, but I need to make POST to the complete url, any clues ?

Apr 18, 2013 at 3:31 AM
Edited Apr 18, 2013 at 3:32 AM
In order to establish a connection you must call Connect() against a server (IP). You cannot connect to IP/uri as that identifies a resource on a server, but not the server itself.
When you have connected to the server at "IP" you should be able to POST to "IP/uri".
Does this help?
Apr 18, 2013 at 3:59 AM
ByronR, thanks for the quick reply. That for sure will help. I'm not figuring out how to post to a specific uri, the SendData function in CellularRadioManager class only receives 1 parameter used for the data. Am I missing something ?

Apr 18, 2013 at 2:16 PM
@sebarenzi, you need to send valid HTTP, see this discussion
Apr 18, 2013 at 4:14 PM
excelent, thank you ! This will work for me.