Good news for the A6, there is a simple way for TCP, i wrote in the previous article the long way with AT+CGACT=1,1 because AT+CIICR did not work for me but Simon f found the good order for use it, so i give you his code:
(we can wait a lot of time, if you see COMMAND NO RESPONSE! do nothing, this mess is send if a command don’t return a message after a while)
AT+CIPCLOSE (If you want to close the actual tcp connection)
AT+CIPSHUT (If you want to stop the internet connection)
There is a new module, very cheap around 4$( Here). We can call/send sms and normaly connect to the website and surly use MQTT(i will explain why after). The good thing is we don’t need to spend more money for use it, there is a antenna and we just need to connect the speakers and a mic on the pins for use it. So it’s very close to the SIM800L(Here with bluetooth and rf in it!).
I recieved the module a week ago but i found nothing about the pinout, and the only things writed on it was 1, 12 and chineses things, maybe rx, tx ? No, with google translation i discovered it was like “made in shenzhen”… I tried different combination based on the videos, but nothing worked. On the official page they write for AT Commands “Included in the download link” so maybe the solution is in this file ? But i can’t find the link :(.
//You can also use something like AT+CIPSTART=”TCP”,”www.google.fr”,”80″
<= CONNECT OK /**This string in the response indicates TCP connection established**/
=>AT+CIPSEND /**Request initiation of data sending (the request)**/
<= > /**The response should be the string “>” to indicate, type your data to send**/
=> xxxxxx /**Just type anything for now**/
=>#026 /**Now type the sequence #026. This tells the terminal.exe to send the hex code 0x1a (which is Ctrl+Z) to indicate end of data sending**/
<= xxxxxxxxxx /**You should get some response back from the server…it would generally be a complain that the request string was not valid…but that is a different subject…you have established the connection**/
/**To close the connection**/
=>AT+CIPSHUT /**Request shutting down of the current connections**/
<=SHUT OK /**Indicates shutdown successful**/
I think i can’t connect because my operator sends a message for activate internet on the phone, i need to install something after that so i can’t do it with this kind of module :/.
Let’s me know if it works for you!
Here an another page wich can be useful if you want to use the arduino and A6: