In my AWS FreeRTOS application I have several named shadows in my application and I’m subscribing to delta update on them by using:
$aws/things/THING_NAME/shadow/name/+/update/delta
Now, when there is an hit I get a JSON with the updated state but I don’t know to which of the named shadows its belong.
Are you not able to identify that from the MQTT topic you get the update delta message on?
OK, I got it, I can find it in the MQTTPublishInfo_t that is passed to the subscription callback and extract it from the pTopicName
Thanks!