Index: NVDataMgmt.c =================================================================== diff -u -r323b401515fcce574e0818de6111a5acb35bb21a -re791e693874c1e9657f7614f44c49fb463a3d893 --- NVDataMgmt.c (.../NVDataMgmt.c) (revision 323b401515fcce574e0818de6111a5acb35bb21a) +++ NVDataMgmt.c (.../NVDataMgmt.c) (revision e791e693874c1e9657f7614f44c49fb463a3d893) @@ -938,9 +938,15 @@ BOOL scheduleStatus = enqueueSector0Records(); #ifdef _HD_ + MESSAGE_T institMsg; // Got new data for the EEPROM records, set the latest institutional record to treatment parameters to make sure // the treatment parameters have the record available all the time setNVInstitutionalRecordToTxParamsRecord( &hdInstitutionalGroup.hdInstitutionalRecord ); + + // Received new institutional record and it is valid, send it to the UI to be up to date + institMsg.hdr.msgID = 0; + institMsg.hdr.payloadLen = 0; + handleSendInstitutionalRecordToUI( &institMsg ); #endif // Signal that there is a new calibration record available. @@ -1881,6 +1887,14 @@ newCalStartTimer = getMSTimerCount(); isNewCalAvailable = TRUE; nvDataMgmtSelfTestResult = SELF_TEST_STATUS_PASSED; + +#ifdef _HD_ + MESSAGE_T institMsg; + // Received new institutional record and it is valid, send it to the UI to be up to date + institMsg.hdr.msgID = 0; + institMsg.hdr.payloadLen = 0; + handleSendInstitutionalRecordToUI( &institMsg ); +#endif } else {