Hi all,
I'm using aws iot lib and last will topic feature, everuthing works but I have a question, in prj.conf I set my topic with
CONFIG_MQTT_HELPER_LAST_WILL_TOPIC="TOP/IMEI_NUMBER/ALIVE"
Is it possible to build this last will topic at runtime? For example if I want to deploy fota update, I don't want to create one bin for one thing, y idea is for example to store in flash my IMEI_NUMBEr and build at the runtime my last will topic, is it possible ? Maybe a function like set_last_will_topic(const char *last_will_topic)
My idea is update strcut mqtt_topi *will_topic in mqtt.h header use in mqtt-helper;c static int client_connect