Origin
Criticality questions
Strike the wrong answer
- Can the patient suffer damage due to defective ventilation? (ventilation)
YES/NO
- Does this cause misinterpretation of the ventilation data? (settings/monitoring)
YES/NO
- Does this cause a lack of prevention to the patient's entourage? (alarms)
YES/NO
- Does this cause a malfunction of the product or one of its assemblies? (hardware)
YES/NO
Description
What is the problem to solve?
When reading temperature, we expect a message like:
During a serial communication, we receive chunks of binary data and these data may be split anywhere.
Unfortunately a character like ° needs two bytes and could be split in half during communication.
In this code we convert a chunk to a string.
Most of the time it's fine except when a character needs 2 bytes.
We should concatenate bytes and convert to string when we detect a line.
Origin
Criticality questions
Strikethe wrong answerYES/NOYES/NOYES/NOYES/NODescription
What is the problem to solve?
When reading temperature, we expect a message like:
During a serial communication, we receive chunks of binary data and these data may be split anywhere.
Unfortunately a character like
°needs two bytes and could be split in half during communication.In this code we convert a chunk to a string.
Most of the time it's fine except when a character needs 2 bytes.
We should concatenate bytes and convert to string when we detect a line.