User avatar
By RTL
#74857 Real Time Logic has released a Web based IDE for easy development of secure IoT products. The IDE includes a TLS stack, FreeRTOS, the lwIP TCP/IP stack, and several IoT protocols such as MQTT, SMQ, WebSocket client, WebSocket server, and secure email.

https://realtimelogic.com/downloads/sharkssl/ESP8266/
User avatar
By RTL
#80488 Real Time Logic has now committed the Minnow Server and a Single Page Application example to GitHub. The following video shows how to use the Web based IDE for compiling the Minnow Server and the example for the ESP8266.

Note that the second part of the video shows how to IoT enable the WebSocket Server. Sometimes, embedded devices need to be operated from a remote location via the Internet, and the safest way to do this is to IoT enable the device and have the device connect to a server on the Internet.

Last edited by RTL on Mon Feb 11, 2019 6:28 pm, edited 1 time in total.
User avatar
By rudy
#80497 I tried to run the Arduino code LED example and I get the following in the serial terminal.

Code: Select all........
WiFi connected
Connecting to http://192.168.100.1/smq.lsp
Cannot establish connection, status: -1
Socket error!
Closing connection; status: -1
Connecting to http://192.168.100.1/smq.lsp
Cannot establish connection, status: -1
Socket error!
Closing connection; status: -1


What do I need to do to get further with this demo?


EDIT:
Needed to comment out the second define and enable the first.

Code: Select all/* Change the domain/url if you are running your own broker
   Note: you can also set the domain at the command prompt when in
   simulation mode.
 */
#define SIMPLEMQ_DOMAIN "http://simplemq.com"
//  #define SIMPLEMQ_DOMAIN "http://192.168.100.1"
#define SIMPLEMQ_URL SIMPLEMQ_DOMAIN "/smq.lsp"


then go to
https://simplemq.com/m2m-led/
and find your device in the list of online devices.