BX310x provides the AT+KTCPSND command for direct sending of TCP data. How does one terminate the data string in order for the module to initiate the actual send?
If I use:
I never get a response from the module.
You can refer to here for sending binary data
for my application, I use my own webserver implementation (works find with other tcp/ip chips), since later we have not only the BX3105 as network interface and the webserver must use all network interfaces. Therefore, I cannot use the BX3105 internal HTTP host.
I have 3 problems with this:
I cannot use Port 80 for my own purpose, even when not using the chips internal HTTP server.
Whenever I try to access port 80 from a browser I get a login page with SSID and Password, even when I o…
thank you for the quick reply!
Looking at the case you referred, it seems that there is no termination sequence for the data string. The string ends with a carriage return and a line feed. But there are other carriage return and line feed combinations in the string as well, so how does the module know when the data ends?
If you need to send \r ( 0xd), you should use \0d
thank you again for the quick reply!
My mistake! Yes, one needs to replace \r with \0d within the data string and in addition in order to terminate the command \r as such is needed.
Note to self: there are some other characters that need to be escaped comma (‘,’) for example needs to be replaced with \2c.