Using MQTT/AWS client in multiple tasks
Posted: Tue Jan 05, 2021 9:29 am
I see examples of creating MQTT/AWS client and then publishing and subscribing within the same task. Similar example is for AWS shadow update where creation of MQTT/AWS client and shadow update is done in same task.
I want to create MQTT/AWS client in one task and then calling pub_sub_task and shadow_update_task from that task. Is there any template for doing this? I tried but getting below error:
I want to create MQTT/AWS client in one task and then calling pub_sub_task and shadow_update_task from that task. Is there any template for doing this? I tried but getting below error:
Code: Select all
I (5458) AWS Connect: Starting pub sub
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled