Messaging.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Swap order of == for these 2 if statements - put constant on left side.

Swap order of == for these 2 if statements - put constant on left side.

Why?

Why?

Why is UF volume being added here? If we add it, we need to change DD f/w too. But it is not clear to me why DD f/w needs to know the UF volume.

Why is UF volume being added here? If we add it, we need to change DD f/w too. But it is not clear to me why DD f/w needs to know the UF volume.

Use ternary operator to explicitly set to TRUE or FALSE.

Use ternary operator to explicitly set to TRUE or FALSE.

Our TODO comments are all CAPs.

Our TODO comments are all CAPs.

I think these if statements should be looking for valve state == VALVE_STATE_IDLE, not <

I think these if statements should be looking for valve state == VALVE_STATE_IDLE, not <

Fix implementation to return a BOOL (TRUE if SW_COMPATIBILITY_REV == ddVersion.compatibilityRev.

Fix implementation to return a BOOL (TRUE if SW_COMPATIBILITY_REV == ddVersion.compatibilityRev.

Should return T/F. Change comment to "TRUE if DD f/w is compatible with TD f/w, FALSE if not.".

Should return T/F. Change comment to "TRUE if DD f/w is compatible with TD f/w, FALSE if not.".

Should return a BOOL (that is what ModeStandby is expecting).

Should return a BOOL (that is what ModeStandby is expecting).

Fix isDDCompatible() function so that it returns a T/F instead of a compatibility revision.

Fix isDDCompatible() function so that it returns a T/F instead of a compatibility revision.

Align comment.

Align comment.

Why are these added? And why commented out. H13 and H20 are not rotary valves - they are 3 way valves. They do not belong here.

Why are these added? And why commented out. H13 and H20 are not rotary valves - they are 3 way valves. They do not belong here.

Should we handle blood sitting timer before publish? Are we publishing anything re: blood sitting?

Should we handle blood sitting timer before publish? Are we publishing anything re: blood sitting?

Add TODO to these comments.

Add TODO to these comments.

Change INPROGRESS to OPEN (because you're going to remove INPROGRESS).

Change INPROGRESS to OPEN (because you're going to remove INPROGRESS).

You can do this sendMessage just once after else.

You can do this sendMessage just once after else.

add a space before and after 0

add a space before and after 0

add a blank line above

add a blank line above

add a blank line above

add a blank line above

minor spell issue : change responceStatus to responseStatus

minor spell issue : change responceStatus to responseStatus

add offRequestAwaitingUserConfirmation and offRequestPendingTimer to outputs

add offRequestAwaitingUserConfirmation and offRequestPendingTimer to outputs

should we move the initialization in the init function?

should we move the initialization in the init function?

please break this line into two lines

please break this line into two lines

Vendor - TEL - Arpita Srivastava please add a space before and after in sizeof(U32) in [sizeof(U32)]

Vendor - TEL - Arpita Srivastava
please add a space before and after in sizeof(U32) in [sizeof(U32)]

please add a space before and after 0 in payload[0]

please add a space before and after 0 in payload[0]

output is none

output is none

please break the line in two or more.

please break the line in two or more.

add a space before and after index 'i'

add a space before and after index 'i'

add a space before and after index 'i'

add a space before and after index 'i'

add a space before and after index 'i'

add a space before and after index 'i'