2017-05-17 05:28 AM
I am trying to send data from the browser to the module using POST request with output_demo.html.
The POST request is limited to 64 bytes, so I cannot send more than 64 bytes with a POST...If I send 65 bytes, the last byte is truncated and only 64 bytes are delivered by the module. Is this a limitation of the module? Can be the number of bytes increased? 64 bytes for a POST are not enough...
I send this from browser : Output=SetNetSet{6;1;0;2;1;0;172.10.20.1;123456789012345;123456789012345678}
There are 68 bytes of data in the above request.
The module outputs this on uart console: +WIND:57:Output from remote:64:SetNetSet{6;1;0;2;1;0;172.10.20.1;123456789012345;123456789012345
The module outputs only 64 bytes, but the request contains 68 bytes...
Thanks
2017-10-30 05:32 PM
According to the Certificate Error : 19, returned by firmware socket, that message means that the certificate is not supported!
2017-10-30 06:23 PM
Yup, thanks for that suggestion I upgraded to the SPWF04...
2017-10-30 06:30 PM
Now I'm having a different issue with FRED and websockets...I'm getting certificate issues...
I post to my node-red installation on FRED via websocket (tests ok from my javascript and posts fine to FRED) but has issues from hardware on SPWF04SA...
My websocket connects internally to an MQTT broker, which I could not get going directly, no matter what I do...But it seems I'm also having issues connection to the websocket as well...Seems no matter what I post to FRED, I have created all sorts of endpoints, these secure connectivity issues persist!
AT+S.WSOCKON=dreamsmatrix.fred.sensetecnic.com,443,/api/public/mqtt,2,,,,,
AT-S.Certificate Error:19
AT-S.WebSocket Client Error:1
AT-S.ERROR:74:Failed to open socket
Any idea how to get around this issue, Gerardo ?
Cheers,
Mario G.
2017-10-30 08:05 PM
Same thing happens when I send any TLS requests...Any way to setup the certificate option for SSL ? I don't have much documentation on that...I believe its an
https://community.st.com/external-link.jspa?url=https%3A%2F%2F
request according to CURL, which works by the way and so do websockets sends from java scripts. I just need to enable certificates on the firmware ?
AT+S.HTTPPOST=dreamsmatrix.fred.sensetecnic.com,/api/public/magnum/wifi/{'Data':'12345'},443,2,,,,
AT-S.Certificate Error:19
AT-S.Http Client Error:2
AT-S.ERROR:111:Request failed
2017-11-04 04:28 AM
FW1.0.0 only supports RSA-based certificates. No ECC-based certificates. What kind on certificates are you using? Please refer to AN4963
2017-11-07 08:41 PM
Yup I'm missing the server side certificates...Seems anonymous mode does not get supported in TLS2.0.