Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
fix: updated cloud events
Browse files Browse the repository at this point in the history
Added additional FOTA related events.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
  • Loading branch information
simensrostad committed Mar 17, 2020
1 parent 3527775 commit 000401a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,15 @@ void cloud_event_handler(const struct cloud_backend *const backend,
case CLOUD_EVT_ERROR:
LOG_ERR("CLOUD_EVT_ERROR");
break;
case CLOUD_EVT_FOTA_START:
LOG_INF("CLOUD_EVT_FOTA_START");
break;
case CLOUD_EVT_FOTA_ERASE_PENDING:
LOG_INF("CLOUD_EVT_FOTA_ERASE_PENDING");
break;
case CLOUD_EVT_FOTA_ERASE_DONE:
LOG_INF("CLOUD_EVT_FOTA_ERASE_DONE");
break;
case CLOUD_EVT_FOTA_DONE:
LOG_INF("CLOUD_EVT_FOTA_DONE");
cloud_disconnect(cloud_backend);
Expand Down

0 comments on commit 000401a

Please sign in to comment.