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: 5 additions & 1 deletion iarm-event-sender/IARM_event_sender.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,10 +544,14 @@ IARM_Result_t sendIARMEventPayload(GString* currentEventName, char *eventPayload
memcpy(firmwareInfo.firmwareNames, strtok(NULL, ":"),CTRLM_DEVICE_UPDATE_PATH_LENGTH);
g_message("IARM_event_sender entered case for PeripheralUpgradeEvent : %s and %s\r\n",firmwareInfo.firmwareLocation,firmwareInfo.firmwareNames);

IARM_Bus_Call(CTRLM_MAIN_IARM_BUS_NAME,
IARM_Result_t ret = IARM_Bus_Call(CTRLM_MAIN_IARM_BUS_NAME,
CTRLM_DEVICE_UPDATE_IARM_CALL_UPDATE_AVAILABLE,
(void *)&firmwareInfo,
sizeof(firmwareInfo));
if (ret != IARM_RESULT_SUCCESS)
{
g_warning("IARM_Bus_Call failed for PeripheralUpgradeEvent: ret=%d", ret);
}

}
#endif
Expand Down
Loading