Skip to content

Commit 4802f00

Browse files
authored
Merge pull request #2 from vad7/master
upd
2 parents 460f717 + 42d8e2c commit 4802f00

File tree

4 files changed

+176
-317
lines changed

4 files changed

+176
-317
lines changed

Distr/nrf24batch/CO2_mini.txt

+15-15
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ Info: CO2 sensor mini
22
Rate: 1
33
Ch: 121
44
CRC: 2
5+
DPL: 0
56
Address: C8C8CF
6-
Delay_ms: 10
7+
Resend: 3
8+
Delay_ms: 30
79

810
Payload struct: 2,1,1
911
EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4
1012

1113
R default: ,EEPROM,0xC1
1214
W default: n,,0x81
13-
Write start: ,,0x8F
15+
Write start: 0,0,0x8F
1416

1517
R: ID*=,ID
1618
R: OSCCAL=0x51,RAM
@@ -24,10 +26,7 @@ R: Ch=2
2426
W: Ch=,2
2527

2628
R: nRF RETR=3
27-
W: nRF RETR 1/750uS=0x21,3
28-
29-
R: AnswerDelay=9
30-
W: AnswerDelay=,9
29+
W: nRF RETR=,3
3130

3231
R: Send period=4
3332
W: Send period=,4
@@ -38,19 +37,20 @@ W: CO2 threshold=,5,0x82
3837
R: CO2 correct*2=7,,0xC2
3938
W: CO2 correct=,7,0x82
4039

41-
R: FanLSB[10]=i:10
42-
W: FanLSB=,i:19
40+
R: FanLSB[10]=i:9
41+
W: FanLSB=,i:9
4342

4443
W: Reset=,RESET,0xC1
4544

4645
RBatch: Settings: ID;OSCCAL;RxAddr;Ch;nRF RETR;CO2 threshold;CO2 correct;FanLSB
4746
RBatch: Settings2: OSCCAL;OSCCAL_EMEM;RxAddr;Ch;nRF RETR;CO2 threshold;CO2 correct;FanLSB
4847

49-
WBatch: Default Ch-121: RxAddr=0xCF;Ch=121;CO2 threshold=1000;CO2 correct=0;Send period=30;FanLSB={0xC1,0xC2,0xC3,0};Reset
50-
WBatch: Default Ch-10: RxAddr=0xCF;Ch=10;CO2 threshold=1000;CO2 correct=0;Send period=31;FanLSB={0xC1,0};Reset
48+
WBatch: Default Ch-121: RxAddr=0xCF;Ch=121;CO2 threshold=1000;CO2 correct=0;Send period=30;nRF RETR=0x17;FanLSB={0xC1,0};Reset
49+
WBatch: Default Ch-10: RxAddr=0xCF;Ch=10;CO2 threshold=1000;CO2 correct=0;Send period=31;FanLSB={0xC1,0xC2,0};Reset
5150
WBatch: CO2: CO2 threshold=1000;CO2 correct=1
52-
WBatch: Fan: FanLSB={0xC2,0xC3,0};Reset
53-
WBatch: DELAY=0: AnswerDelay=0
54-
WBatch: DELAY=100: AnswerDelay=100
55-
WBatch: DELAY=200: AnswerDelay=200
56-
WBatch: DELAY=255: AnswerDelay=255
51+
WBatch: Fan2: FanLSB={0xC2,0xC3,0};Reset
52+
WBatch: RETR 0x17: nRF RETR=0x17
53+
WBatch: RETR 0x2F: nRF RETR=0x2F
54+
WBatch: RETR 0x0F: nRF RETR=0x0F
55+
WBatch: RETR 0x01: nRF RETR=0x01
56+
WBatch: Reset: Reset

0 commit comments

Comments
 (0)