CloudSyncController.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-12944: KBM: Integration with successful registration.

- removed the else which was incorrect, which was causing a problem.

  1. … 1 more file in changeset.
DEN-12944: KBM: Usual Meetings/Support/Development

- KBM request to send a response message (1003) when the registration on UI side is done and credentials are copied to the safe folder.

- I also modified the code to start deleting the source credential files if only all the files are copied. previously it was one copy, one delete.

  1. … 4 more files in changeset.
wrapping up multiple sprint codes

- LOG: Added a CLI option to disable the Check-In logs by adding -k, --disable-check-in-log at the CLI. This was interrupting the log tests. The build macro has been removed.

- POST: During the coverage find out that the getter functions have not even been called in the ApplicationPost.

- CloudSync: Added the Treatment Code(TxCode), received from the cloud after the Treatment Report stored by Cloud System. It is a message communication between UI<=(2008)=CS.

- CloudSync: Two error added for the 2008: TxCode

- CloudSync: Due to some issues on Cloud System regarding the credential expiration, It has been asked to add a temporary workaround to send the credentials (1004) before message 1006:Device State, 1007:Treatment Report.

- DEN-12727: Treatment Parameter Screen: Added more space between the parameters components specially the Temperature slider and the option on top.

- DEN-12829: Enabled the back button on the Start Treatment Screen

- DEN-12761: Enabled an empty Patient ID.

It has not yet been implemented on the CloudSync App, so if sent empty CloudSystem will later reject to store the TxReport.

When later implemented an unassigned random Patient ID will be created for that TxReport to be later defined and assigned.

- DEN-12837, DEN-12840: The Disinfection Scheduling Entry and the Confirm button have been removed from the "Dialysate Generator Settings" screen.

- DEN-12837, DEN-12840: The "Dialysate Generator Settings" changed to "DG Cleaning" for the menu option and the screen title.

- Settings: The Clear Alarm Condition button has been removed from the settings screen for the release.

- Settings: The options which has no implementation for the phase 1 have been removed from the Settings screen Service mode options. [Language, Calibration, SW Update, Factory Reset]

- DEN-12841: Reworded the password entries in Service screen and for WiFi Join Screen.

- TxCode, TxReport: removed the commented out Treatment Report Parameters from the code.

- LOG: added one character space int he DEBUG log for the Not Enough Data in Types.

- Settings: The Service Dates default values changed from 0 to "" since they are strings.

- Settings: Added some clarification for the Home screen greetings

  1. … 32 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 159 more files in changeset.
DEN-12597 Code Review

http://dvm-linux02:8060/cru/UI-DEN-12258-1#c12773

Disabled the coco end as well, which caused the coco to log a lot of warnings.

  1. … 80 more files in changeset.
DEN-12515: KBM: TxLog implementation

- implemented the message 1007 for TxLog to be sent to the CS on HD TxLog received message.

  1. … 4 more files in changeset.
DEN-12514: LTS: Support/Development

========== DevTest

- Fixed the reported bugs from the LTTS team:

+ https://github.com/Diality/testsuites/issues/38: Rejection messages are not displayed for heparin under main-treatment screen 38

+ https://github.com/Diality/testsuites/issues/37: "Self Test Complete!" message is not displayed when "DRY_SELF_TESTS_COMPLETE_STATE" is simulated #37

+ https://github.com/Diality/testsuites/issues/36: Indicators are not displayed for 'Wet Self tests" when "HD_PRIME_WET_SELF_TESTS_STATE" is simulated #36

========== CloudSync

- Changed the order of the device registration request and the device info send, in the order above.

========== Internal

- removed the emoji and language globe buttons from the second keyboard layout.

  1. … 10 more files in changeset.
DEN-12427: KBM: UI modifications to match the CS needs

- Fixing the device info and version response/report.

  1. … 3 more files in changeset.
DEN-12427: KBM: Usual Meetings/Support/Development

- The UI will only send the 1006 (latest device state update) if only the state changes.

- Duplicate state updates will not log as an error and will only be ignore.

- The UI will always response back to 2006 (device state request) from CS with 1006 (latest device state) even if the state is the same as the last updated/requested.

  1. … 7 more files in changeset.
DEN-12426: LTS: Bug / CR / Develop Coco / Manual

- removed the "// coco begin validated" to disable the manually validated coverage.

  1. … 81 more files in changeset.
DEN-12262: INT: Support and debugging

- Fixing the DG Valves/Temperature messages

- Fixing the CloudSync RegisterDeviceRequest

- Fixed/Cherry-Picked the Dialin-log conditions.

- Cleaned up the debug messages.

  1. … 20 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 77 more files in changeset.
DEN-12183 KBM: Implement the reqDeviceRegister

  1. … 4 more files in changeset.
DEN-12183 KBM: Credentials messaging

- Added Credential messages

| 2003 | req save credential |1639391827,1,0,2003,3,path_to_client_certificate_pem,path_to_client_private_key_pem,path_to_client_public_key_pem |

| 2004 | req credentials | 1639391827,1,0,2004,0 |

| 1004 | send credentials | 1639391827,1,0,1004,1,path_to_credentials="/tmp/credentials" |

  1. … 7 more files in changeset.
DEN-12183: KBM: Usual Meetings/Support/Development

- added device register request

- added device factory reset ( UI factory reset has not implemented yet, it's only the UI/CS communication)

  1. … 1 more file in changeset.
DEN-12183: KBM: Usual Meetings/Support/Development

- Added the request device info message.

  1. … 5 more files in changeset.
DEN-12183KBM: Usual Meetings/Support/Development

- Added the basics of the messaging with the new source and coding.

- Now it needs error handling class.

  1. … 3 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 584 more files in changeset.
DEN-11575: LTTS [ Development Test Support]

- Updated the alarmMapping.sh to ignore the mapping if the common folder is not a git repository and the alamMapping tool doen't exist. [this change has been made to be able to build the application on the DEV_TEST's VM]

- The compiler SquishCoco is using has different error checking scenarios than the one is used in Qt project for normal builds. And to make it work some changes has to be make in the projects and some source code on the fallthrough of some cases, in BluetoothInterface and CloudSync.

  1. … 6 more files in changeset.
Merge branch 'DEN-10602_UI_DEV_Add_PatientID_PreTreatment' into develop

DEN-11380 KeborMed [ CloudSync Development ]

Added the treatment log saved/ready message.

  1. … 3 more files in changeset.
DEN-11380 KeborMed [ CloudSync Development ]

- modified the messaging protocol to the below and reordered the crc position.

<timestamp>,<seq>,<CRC=0 for now, Don't care>,<message id>,<parameter length>[,<P1>,...<Pn>]

  1. … 2 more files in changeset.
Finishing up the story for Firmware and adding remaining other tasks

DEN-10607: Implementation [Screen]

DEN-10609: Implementation [Treatment Log]

DEN-11320: KeborMed [ CloudSync Development ]

- Added the message handling for the Device status

- Adding Error handling

  1. … 8 more files in changeset.
UI-DEN-10206: UI-DEN-10206-1: addressing the code reviews.

  1. … 10 more files in changeset.
UI-DEN-10206: UI-DEN-10206-1: addressing the code reviews.

  1. … 10 more files in changeset.
DEN-10599: KeborMed [ Start working on the CloudSync infrastructure ]

- Added new line (\n) to the send out buffer.

DEN-10599: KeborMed [ Start working on the CloudSync infrastructure ]

- Updated/Improved CloudSync

- Figured the gedit changes the file in a way that breaks the Qt watch.

. It has been tested with Python file O/R/W/F/C and all worked fine.

. It has been tested by nano and works fine.

. It has been tested with shell echo command and works fine with >,>> .

  1. … 7 more files in changeset.
CloudSync: Using Logger to write Buffer

- I found it unnecessary to use logger since this is the temporary approach and also CloudSyncController has a thread for itself and don't need to keep the Logger busy and also preferred to keep the CloudSync separated from the other entities.

  1. … 5 more files in changeset.
DEN-10599: KeborMed [CloudSync infrastructure kickoff ]

- The infrastructure is done for send and receive

- IT only needs interpretation on send and action on receive of messages in CloudSync communication.

    • -0
    • +192
    ./CloudSyncController.cpp
  1. … 20 more files in changeset.