Awesome!! I like how you incorporated Blynk. I didn’t know about that capability. Does this have a plugin assisting with the Mosquito broker or is it necessary to set up the broker in a more manual way? Thanks for sharing!
@MBSEExecution11 ай бұрын
Thank you for the feedback. You need to run broker in advance. Ones installed it can start automatically. Blynk is very good IoT claud option. Can by any other too! Great flexibility here on software and hardware.
@humper200411 ай бұрын
I am more curious about the opaque behaviors for MQTT, and that set up. Have not used this approach before. Assuming something like: MQTTopen(host, port) { var clientSocket = new MQTTClient(host, port); // Instantiate MQTT client ALH.setGlobalVariable("MQTT_Connection", clientSocket); // Store the connection globally clientSocket.connect(); // Connect to MQTT broker } MQTTpublish(topic, message) { var clientSocket = ALH.getGlobalVariable("MQTT_Connection"); // Retrieve MQTT client connection if (clientSocket) { clientSocket.publish(topic, message); // Publish message to MQTT broker } else { // Handle error: Connection not found } } Saw your subscribe method in video. Assume your Cameo was running on same environment as MQTT client?
@MBSEExecution11 ай бұрын
You are absolutely right. We will share this library during MBSE Symposium.