DialityCoreCanProtocol.py

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refactoring, added configurable logging.

    • -153
    • +199
    /DialityCoreCanProtocol.py
  1. … 5 more files in changeset.
Added UF commands between UI and HD to HD library.

  1. … 2 more files in changeset.
Added detection of alarm activations and clears to the Alarms class.

  1. … 1 more file in changeset.
Fixed bug with dialysate inlet pump published data.

  1. … 1 more file in changeset.
Added more DPo support. Minor fixes.

  1. … 1 more file in changeset.
Updated CAN Core to automatically re-send messages that time out. Updated HD to include DPo. Updated most pump parameters to float from int type.

  1. … 2 more files in changeset.
Added sequence # to message structure. Fixed exception following a CRC error.

Added zero seq field to all messages constructed.

Merged master

  1. … 2 more files in changeset.
Addressed the code review comment

Addressed the code review comment

Addressed the code reivew comment

  1. … 1 more file in changeset.
Updated code to have HD dialout state testing

  1. … 2 more files in changeset.
Setup unit testing using pytest

  1. … 1 more file in changeset.
Added CRC check when receiving a message

Fixed bug in crc attachment

Corrected crc calculation not including starting byte

Updated DialityCoreCanProtocol from merging master

Added CRC to transmitted messages. +review DIALIN-1

Added location where CRC will be verified when received

Adding CRC to send messages

Upaded according to code review comments +review DIALIN-1

Updated according to code review comments

Made changes according to code review request +review DIALIN-1

Updated Dialin to match changes from DG-DEN-1125-1

  1. … 1 more file in changeset.
Minor changes +review DIALIN-1

Rename misspelled variable

Created constant for most numbers in the code as per code review

    • -146
    • +176
    /DialityCoreCanProtocol.py
Added buffer to receiving listener, daemonized thread, made closing of program simpler

  1. … 1 more file in changeset.
A little cleaning of the code

  1. … 1 more file in changeset.