This example shows connection to MQTT broker view TCP connection. You can scan qr code below to add device and download control file in device edit.
It connects to free broker at broker.hivemq.com. Subscribe button will subscribe topic "eedc/#". Unsubscribe button will unsubscribe from this topic. Publish button will publish to topic "eedc/test". You can try publish to subscribed topic using demo client at www.hivemq.com/demos/websocket-client/. Text area just show all responses from broker. (Note you must connect before broker automatically disconnect.)
This example shows connection to ble device - bike trainer (tested on Tacx Flux 2). It reads speed, cadence and power. And can set target power.