B4J Question [BANAnoMQTT] LastWill Error

Mashiane

Expert
Licensed User
Longtime User
Hi

B4X:
Dim ops As BANanoMQTTConnectOptions
    ops.Initialize(MQTTUser, MQTTPwd)
    ops.CleanSession = False
    ops.SetLastWill("connected", "N".GetBytes("UTF8"), 0, False)
    mqtt.Connect2(ops)

This is my lastwill setting, when the app runs its indicating a destination error?

Do I have to have a subscription first to "connected" for this to work?
 
Top