The table acceptance callback function does not return any status, so the table is always accepted.
if (HistogramTbl->LoadFunc != NULL) (HistogramTbl->LoadFunc)();
The table load command sets a local 'LastLoadStatus' that should be removed. I think this design was prior to TBLMGR enhancements and the addition of TBLMGR_GetLastTblStatus() which is used by the app's SendStatusTelemetry(). Once this is solved for APP_C_DEMO the other Basecamp apps should be analyzed.
HistogramTbl->LastLoadStatus = TBLMGR_STATUS_VALID;
The table acceptance callback function does not return any status, so the table is always accepted. if (HistogramTbl->LoadFunc != NULL) (HistogramTbl->LoadFunc)();
The table load command sets a local 'LastLoadStatus' that should be removed. I think this design was prior to TBLMGR enhancements and the addition of TBLMGR_GetLastTblStatus() which is used by the app's SendStatusTelemetry(). Once this is solved for APP_C_DEMO the other Basecamp apps should be analyzed. HistogramTbl->LastLoadStatus = TBLMGR_STATUS_VALID;