Welch Allyn Duet CO2 Module - User Manual User Manual
Page 34

Duet CO
2
Module OEM Implementation Manual
Page 34
Confidential
Welch Allyn OEM Technologies
Module Responses
The host must initiate all communication with the module with the exception of periodic CO
2
waveform
and breath data packets. The type of host command determines the type of response sent. Responses
include
§ status responses
§ mode command responses
§ simple command responses
§ configuration responses
Status Responses
Status responses are data packets that communicate module, sensor and system status. The status
response also serves as an acknowledgement for mode commands.
Status response packet format:
<
STX
02h
X
identifier
1*(ASCII)
xx
HW status/mode
2*(ASCII)
yy
status message
2*(ASCII)
zz
CRC code
2*(ASCII)
>
ETX
03h
NOTE: To simplify the Module status response examples that follow, the CRC data (zz) is assumed to
be included with the ETX character (>).
Status Response Mode Byte
The hardware status/mode byte (xx) contains mainstream sensor IN/OUT status, sidestream bench
IN/OUT status, sampling mode and operating mode status.
where
S = Identifier
(1 byte = 1 ASCII character)
xx = Status/Mode
(2 Hex digits = 2 ASCII characters)
yy = Message
(2 Hex digits = 2 ASCII characters)
Status Responses
The status response is used to return Module Status to the Host. The status response is also
used as an acknowledgement. The status response packet structure is as follows:
where
S = Identifier
(1 byte = 1 ASCII character)
xx = Status/Mode
(2 Hex digits = 2 ASCII characters)
yy = Message
(2 Hex digits = 2 ASCII characters)