Mercurial > public > ostc4
comparison Small_CPU/Inc/uartProtocol_Co2.h @ 842:c3dd461ca3f9 Evo_2_23
Migrated Sentinel protocol to new UART structure:
The Sentinel protocol had not been migrated to the new UART structure which was introduced with the introduction of the UART MUX. The Sentinel is now supported by autodetection again (development version only)
author | Ideenmodellierer |
---|---|
date | Mon, 15 Jan 2024 21:44:18 +0100 |
parents | e9eba334b942 |
children |
comparison
equal
deleted
inserted
replaced
841:70092f552f5a | 842:c3dd461ca3f9 |
---|---|
41 UART_CO2_CALIBRATE /* request calibration */ | 41 UART_CO2_CALIBRATE /* request calibration */ |
42 } uartCO2Status_t; | 42 } uartCO2Status_t; |
43 | 43 |
44 typedef enum | 44 typedef enum |
45 { | 45 { |
46 RX_Ready= 0, /* Initial state */ | 46 CO2RX_Ready= 0, /* Initial state */ |
47 RX_DetectStart, /* validate start byte */ | 47 CO2RX_DetectStart, /* validate start byte */ |
48 RX_SelectData, /* Data contained in this frame */ | 48 CO2RX_SelectData, /* Data contained in this frame */ |
49 RX_Data0, /* Process incoming data */ | 49 CO2RX_Data0, /* Process incoming data */ |
50 RX_Data1, | 50 CO2RX_Data1, |
51 RX_Data2, | 51 CO2RX_Data2, |
52 RX_Data3, | 52 CO2RX_Data3, |
53 RX_Data4, | 53 CO2RX_Data4, |
54 RX_Data5, | 54 CO2RX_Data5, |
55 RX_Data6, | 55 CO2RX_Data6, |
56 RX_Data7, | 56 CO2RX_Data7, |
57 RX_Data8, | 57 CO2RX_Data8, |
58 RX_Data9, | 58 CO2RX_Data9, |
59 RX_Data10, | 59 CO2RX_Data10, |
60 RX_Data11, | 60 CO2RX_Data11, |
61 RX_Data12, | 61 CO2RX_Data12, |
62 RX_DataComplete | 62 CO2RX_DataComplete |
63 } receiveState_t; | 63 } receiveStateCO2_t; |
64 | 64 |
65 | 65 |
66 typedef enum | 66 typedef enum |
67 { | 67 { |
68 CO2CMD_MODE_POLL, /* Set operation mode of sensor to polling => only send data if requested */ | 68 CO2CMD_MODE_POLL, /* Set operation mode of sensor to polling => only send data if requested */ |