hdfirmware

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-14001. Restored original method of retrieving battery pack and battery charger data. Only one value is read each time through the state. Some values are read more often.

    • -94
    • +119
    /firmware/App/Drivers/Battery.c
BatteryStatusData is an input.

BatteryStatusData is an input.

fpgaPersistentAlarmGroup is an input.

fpgaPersistentAlarmGroup is an input.

Are all available ALARM_IDs being removed?

Are all available ALARM_IDs being removed?

OK, I see what you wanted. I have a couple of questions: Is logging of the 3 values (remaining charge, battery status, charger status) in a separate message every 750 ms correct? If so, could that ...

OK, I see what you wanted. I have a couple of questions:
Is logging of the 3 values (remaining charge, battery status, charger status) in a separate message every 750 ms correct?
If so, could that be done by calling the publishBatteryStatusData function when the 3rd value (charger status) is read?

Restore alarm when done.

Restore alarm when done.

I think we should just be calling one function to do a single read at a time. If you try to read multiple times back-to-back, the bus reports busy and the read fails. I would keep call to getBatter...

I think we should just be calling one function to do a single read at a time. If you try to read multiple times back-to-back, the bus reports busy and the read fails. I would keep call to getBatteryManagementData() function with the large switch statement as it was with everything there and remove getBatteryStatusData() function altogether.

Keep multiple reads of remaining capacity and status in the switch as before.

Keep multiple reads of remaining capacity and status in the switch as before.

Keep read for battery charger status here before end of list.

Keep read for battery charger status here before end of list.

Dong fixed this.

Dong fixed this.

Need to save data to dataPtr so calling function gets the data.

Need to save data to dataPtr so calling function gets the data.

I think the enum from commit fbb6603 was fine as it was. I still think we should be doing only 1 read per 250ms interval and I think the one function with the large switch statement based on these ...

I think the enum from commit fbb6603 was fine as it was. I still think we should be doing only 1 read per 250ms interval and I think the one function with the large switch statement based on these enums was the way to achieve that - with the multiple status1..5 and remaining capacity1..5 enums spaced out to get them read more frequently.
And I think the individual cases for the higher frequency registers could just call the high frequency broadcast function whenever a new value is read for those registers. And so the slower broadcast could stay at end of list in that switch statement.

Bamboo Commit: Updated HDCommon.h with build versions from Bamboo

DEN-14000 Merge to develop.

    • -10
    • +16
    /firmware/App/Controllers/BloodFlow.c
    • -4
    • +26
    /firmware/App/Controllers/DialInFlow.c
    • -0
    • +1
    /firmware/App/Controllers/DialInFlow.h
    • -4
    • +2
    /firmware/App/Controllers/DialOutFlow.c
Update function header.

Update function header.

Bamboo Commit: Updated HDCommon.h with build versions from Bamboo

Merge branch 'DEN-13801-sw_dev-sprint-79_mg' into develop

Merge branch 'DEN-13903-sprint-80_mg_air_trap_optimization' into develop

DEN-13903: fixed fast rate not triggering during the purge air sub state.

Merge branch 'staging' into DEN-13903-sprint-80_mg_air_trap_optimization

DEN-13801: Fixed decay state failing with valid conditions. Loosened tolerances for Arterial and Venous pressure values during dry self pressurized state.

Merge branch 'staging' into DEN-13801-sw_dev-sprint-79_mg

    • -127
    • +53
    /firmware/App/Controllers/PresOccl.c
DEN-14001-hd-battery-driver-update. Made recommended changes in label naming. Split logging data into two groups--battery status data which is published more frequently, and battery manager data which is published less frequently.

    • -218
    • +218
    /firmware/App/Drivers/Battery.c
Do we want this checked into staging?

Do we want this checked into staging?

These are defined in the Code Composer project for DG and HD firmware respectively. You can only have one defined and you must have one defined.

These are defined in the Code Composer project for DG and HD firmware respectively. You can only have one defined and you must have one defined.

What is the purpose of this "no event" event?

What is the purpose of this "no event" event?

What is the purpose of this "no event" event?

What is the purpose of this "no event" event?

No stop property for a high priority alarm? PRS 754 says dialysate temperature alarms are low priority. Temp too low = rank 902. Temp too high = rank 901.

No stop property for a high priority alarm?
PRS 754 says dialysate temperature alarms are low priority. Temp too low = rank 902. Temp too high = rank 901.

Why no stop?

Why no stop?

Why no stop?

Why no stop?