Namaste @aggarg,
Point taken! Thank you for highlighting this potential issue. for bringing this to my attention.
When creating Threads with Iot_CreateDetachedThread
, it’s not possible to get the TaskHandle_t
required for leveraging Task Notifications. In this earlier post of mine on this matter, you had recommended creating tasks using xTaskCreate()
.
I’m leveraging the AWS IoT Device SDK C, so I suppose I will have to use the IoTMutex_xxx
and IoTSemaphore_xxx
APIs for ensuring the synchronisation.
I shall look in to your suggested flow of creating an MQTT connection first and, then creating the two threads.
Thanks | Regards,
Dipen