-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserial-protocol.txt
31 lines (31 loc) · 1.6 KB
/
serial-protocol.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
A1: Misc: u32 uptime_deciseconds
A2: Misc: u8 debug_overflow_count
A3: Misc: u8 usart0_rx_overflow_count
A4: Misc: u32 main_loop_iterations_in_last_decisecond
A5: Misc: u32 ((u32)last_drift_of_clock_deciseconds_since_midnight)
A6: Misc: u32 clock_corrections_since_protection_stat_reset
A7: Misc: u32 clock_deciseconds_since_midnight
B1: Aquarium temperature sensor: u8 ds18b20_aqua.get_crc_errors()
B2: Aquarium temperature sensor: u8 ds18b20_aqua.get_disconnects()
B3: Aquarium temperature sensor: u16 ds18b20_aqua.get_temperatureX16()
B4: Aquarium temperature sensor: u8 ds18b20_aqua.get_update_id()
B5: Aquarium temperature sensor: u8 ds18b20_aqua.get_updated_deciseconds_ago()
C1: Case temperature sensor: u8 ds18b20_case.get_crc_errors()
C2: Case temperature sensor: u8 ds18b20_case.get_disconnects()
C3: Case temperature sensor: u16 ds18b20_case.get_temperatureX16()
C4: Case temperature sensor: u8 ds18b20_case.get_update_id()
C5: Case temperature sensor: u8 ds18b20_case.get_updated_deciseconds_ago()
D1: CO2: u8 co2_switch.is_set() ? 1 : 0
D2: CO2: u8 co2_calculated_day ? 1 : 0
D3: CO2: u8 co2_force_off.is_set() ? 1 : 0
D4: CO2: u8 required_co2_switch_state.is_set() ? 1 : 0
D5: CO2: u32 co2_deciseconds_until_can_turn_on
E1: Light: u8 day_light_switch.is_set() ? 1 : 0
E2: Light: u8 night_light_switch.is_set() ? 1 : 0
E3: Light: u8 day_light_forced.is_set() ? 1 : 0
E4: Light: u8 night_light_forced.is_set() ? 1 : 0
E5: Light: u8 light_forces_since_protection_stat_reset
E6: Light: u8 alternative_day_enabled
F1: PH Voltage: u32 __ph_adc_accum
F2: PH Voltage: u16 __ph_adc_accum_samples
F3: PH Voltage: u16 __ph_adc_bad_samples