Is it possible to set a Last Will and Testament in CoreMQTT? I could not find out how to do this.
See the pWillInfo parameter to MQTT_Connect().