cred
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-21 17:30:17 +02:00
parent cf4622392c
commit bff9aa5f24
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -28,6 +28,8 @@ class MqttSubscriber : MqttCallbackExtended {
fun connect() {
val connOpts = MqttConnectOptions()
connOpts.isCleanSession = true
connOpts.userName = "birbnetes"
connOpts.password = "de4d2182".toCharArray()
mqttClient.setCallback(MqttSubscriber())
mqttClient.connect(connOpts)
}