common

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-13834 added DG/HD alarms for the self tests requirements

Convention is to put spaces around operators like = and <.

Convention is to put spaces around operators like = and <.

Convention is to put spaces around operators like = and <.

Convention is to put spaces around operators like = and <.

request_id is an enum, not a U32. Copy enum to a local U32, then memcpy the local U32. Probably same for other params below - please check.

request_id is an enum, not a U32. Copy enum to a local U32, then memcpy the local U32. Probably same for other params below - please check.

I think getting here would maybe indicate flush/disinfect ended naturally or faulted out while waiting for confirmation. I think appropriate thing to do is to send a reject back to UI? No alarm.

I think getting here would maybe indicate flush/disinfect ended naturally or faulted out while waiting for confirmation. I think appropriate thing to do is to send a reject back to UI? No alarm.

Should add a break from loop here.

Should add a break from loop here.

Convention is to ack when receiving one-shot (not broadcast) messages like this.

Convention is to ack when receiving one-shot (not broadcast) messages like this.

Should break out of loop here I think.

Should break out of loop here I think.

This works, but convention has been to use a local byte ptr and increment between param memcpy calls (see other message handlers).

This works, but convention has been to use a local byte ptr and increment between param memcpy calls (see other message handlers).

Somewhere around line 450 there is a separator between normal and Dialin test support functions. These new functions are normal so should be above that separator. Looks like there's a few more norm...

Somewhere around line 450 there is a separator between normal and Dialin test support functions. These new functions are normal so should be above that separator. Looks like there's a few more normal functions down here too that should be moved.

Change to "0 == disinfectCancelReqID"

Change to "0 == disinfectCancelReqID"

Why absolute value?

Why absolute value?

Why absolute? If can't handle negative speeds, maybe should floor at zero instead?

Why absolute? If can't handle negative speeds, maybe should floor at zero instead?

Should add a comment for this (and maybe a #define). Looks like this value will prevail if measured RPM is zero so would expect infinite persist I guess - though shouldn't be calling this function ...

Should add a comment for this (and maybe a #define). Looks like this value will prevail if measured RPM is zero so would expect infinite persist I guess - though shouldn't be calling this function when pump is stopped I would think. Should probably be 8 Fs (not 7).

Why don't we want to distinguish forward and reverse speeds with sign?

Why don't we want to distinguish forward and reverse speeds with sign?

Is this reject from HD or user or both? Comment suggests from HD only.

Is this reject from HD or user or both? Comment suggests from HD only.

GENERIC_CONFIGURE == disinfectCancelRegID

GENERIC_CONFIGURE == disinfectCancelRegID

Does this need to handle lowercase hex characters and invalid characters?

Does this need to handle lowercase hex characters and invalid characters?

DEN-14001: Update MsgDefs.h for better logging messages

DEN-14000 Updated HD Defs to include new Generic Confirm enumerations.

Is this request for DG only? If so, rename enum to MSG_ID_REQUEST_DG_CPLD_STATUS.

Is this request for DG only? If so, rename enum to MSG_ID_REQUEST_DG_CPLD_STATUS.

Merged DEN-13834

BatteryStatusData is also an input

BatteryStatusData is also an input

DEN-13834 added alarms

Add 2 blank lines before test support banner.

Add 2 blank lines before test support banner.

Remove extra blank lines. Should only be 1 here.

Remove extra blank lines. Should only be 1 here.

Cases should be pulled back one indent (4 spaces) to align with others.

Cases should be pulled back one indent (4 spaces) to align with others.

Add blank line after declaration.

Add blank line after declaration.

Sort of. You will get something between the ms specified and 1 ms less because you don't know where you are in a given ms when you get your start time. Recommend changing this to 2 ms timeout.

Sort of. You will get something between the ms specified and 1 ms less because you don't know where you are in a given ms when you get your start time.
Recommend changing this to 2 ms timeout.