Skip to content
Open
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
7 changes: 6 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,15 @@ 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,
//coverity fix: CHECKED_RETURN - check return value from IARM_Bus_Call
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);
}
Comment on lines +547 to +555

}
#endif
Expand Down
Loading