-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for broken deleteActionHandler in shadow API #69
Labels
Comments
Hi @johnhopwood, Rahul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The deleteActionHandler mechanism does not invoke the callback when shadows are deleted. To fix, make the
deleteAcceptedTopic
buffer static inaws_iot_shadow.c
:static char deleteAcceptedTopic[MAX_SHADOW_TOPIC_LENGTH_BYTES];
Currently, the handler is not found by
_aws_iot_mqtt_internal_deliver_message
b/c the topic was created on the stack.https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/master/src/aws_iot_shadow.c#L92
The text was updated successfully, but these errors were encountered: