How can you configure the eWON MQTT client to use SSL/TLS encryption with username / password auth?
I can connect to this endpoint with standard MQTT clients like mqtt.js, and the eWON works fine without SSL. When I enable SSL, the eWON connects, but then the MQTT Publish fails.
Here’s the BASIC code I’m using:
Mqtt “Open”, “ewon”, “clarity.jcore.io”
Mqtt “SetParam”, “port”, “8883”
Mqtt “SetParam”, “username”, “customer1/username1”
Mqtt “SetParam”, “password”, “password”
Mqtt “SetParam”, “TLSVersion”, “1.2”
Mqtt “Connect”
Tset 1,5
Ontimer 1,“goto MqttPublish”
End
MqttPublish:
Mqtt “Publish”,“data”,“message”,0,0
End