Tuesday, 14 February 2017

at commands - How do I send data over TCP from a SIM5320A?


NOTE: I have been using this as a reference.


After recently purchasing a SIM5320A breakout board (the board) I have been trying to connect it to a TCP server. After having to connect the board to an Arduino and turn the Arduino into a middle man (Data Mode, wouldn't receive +++ over the USB connection). I have tried using Data Mode (I can receive data, but I can't send anything) and Command Mode (whenever I try to use AT+CIPOPEN=0,"TCP",[IP address in quotes],[port] I get +IP ERROR: Operation not supported).


All I need to be able to do with this is open a stable TCP connection with the server and receive and send data. If sending data from Data Mode is easy enough, I would like hear that solution first, but solutions to get the connection in Command Mode are equally appreciated.





No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...