Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions app/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,12 +868,6 @@ static void handle_cloud_shadow_response(struct main_state *state_object,
if (msg->type == CLOUD_SHADOW_RESPONSE_DELTA) {
/* Clear the shadow delta by reporting back the command to the cloud. */
update_shadow_reported_section(&config, command_type, command_id);
/* Workaround: Add a 5-second delay to ensure that nRF Cloud clears the
* delta internally before executing the command. If the command is a
* provisioning request, the device will disconnect from the cloud. If this
* happens too quickly, nRF Cloud may not clear the delta properly.
*/
k_sleep(K_SECONDS(5));
command_execute(command_type);
} else {
/* For desired responses (initial shadow poll), only report config without
Expand Down