EliasOenal / multimon-ng

GNU General Public License v2.0
923 stars 206 forks source link

Bug flex: Wrong split up group message after a data corruption frame. #101

Closed bertinholland closed 6 years ago

bertinholland commented 6 years ago

@Zanoroy

Situation (see detailed logfile below, at the end): Frame 113 cycle 00 contains 2 short instructions for cap codes [001420999] and [001420014]. In the next frame 114: Phase A Data corruption - Unable to fix errors. In frame 114 because there is data corruption, its not possible to decode the group message (off course)

But what's happening a minute later ( cycleno=01 frameno=016): 2018-03-30 23:04:12: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 1; Capcode: [001420999] 2018-03-30 23:04:12: FLEX: 2018-03-30 23:04:12 1600/2/A 01.016 [001420999] ALN Test 187 2018-03-30 23:04:12: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 2; Capcode: [001420014]

This is a wrong split up group message. The capcodes 1420999 and 1420014 should not displayed the message Test 187

Bug description: Capcode 1420999, capcode 1420014 displayed wrong message (Test 187) because Phase A Data corruption - Unable to fix errors. Garbled message at block x

Possible Solution: in pseudo code IF "When there is a data corruption - unable to fix error" AND "found short instruction in previous frame" THEN initialize the found instruction to NULL / reset the found short instruction.

Detailed log: 2018-03-30 23:03:13: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033611 envelope=0.114339 symrate=1571.222963 2018-03-30 23:03:13: FLEX: State: FIW 2018-03-30 23:03:14: FLEX: FrameInfoWord: cycleno=00 frameno=113 fix3=0x3c time=03:31 2018-03-30 23:03:14: FLEX: State: SYNC2 2018-03-30 23:03:14: FLEX: State: DATA 2018-03-30 23:03:14: FLEX: BlockInfoWord: (Phase A) BIW:00000C03 AW:01-03 (2 pages) 2018-03-30 23:03:14: FLEX: CAPCODE:000000000015aec7 2018-03-30 23:03:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [001420999] 2018-03-30 23:03:14: FLEX: CAPCODE:000000000015aaee 2018-03-30 23:03:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [001420014] 2018-03-30 23:03:14: FLEX: State: SYNC1 2018-03-30 23:03:15: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032995 envelope=0.114342 symrate=1571.224079 2018-03-30 23:03:15: FLEX: State: FIW 2018-03-30 23:03:16: FLEX: FrameInfoWord: cycleno=00 frameno=114 fix3=0x3c time=03:33 2018-03-30 23:03:16: FLEX: State: SYNC2 2018-03-30 23:03:16: FLEX: State: DATA 2018-03-30 23:03:16: FLEX: Phase A Fixed 2 errors @ 0x00004080 (0x67a81a31 -> 0x67a85ab1) 2018-03-30 23:03:16: FLEX: Phase A Data corruption - Unable to fix errors. 2018-03-30 23:03:16: FLEX: Garbled message at block 9 2018-03-30 23:03:16: FLEX: State: SYNC1 2018-03-30 23:03:30: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.037071 envelope=0.114339 symrate=1571.222955 2018-03-30 23:03:30: FLEX: State: FIW . . . . . 2018-03-30 23:04:10: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033306 envelope=0.114339 symrate=1571.222440 2018-03-30 23:04:10: FLEX: State: FIW 2018-03-30 23:04:10: FLEX: FrameInfoWord: cycleno=01 frameno=015 fix3=0x3c time=04:28 2018-03-30 23:04:10: FLEX: State: SYNC2 2018-03-30 23:04:10: FLEX: State: DATA 2018-03-30 23:04:10: FLEX: BlockInfoWord: (Phase A) BIW:00000C03 AW:01-03 (2 pages) 2018-03-30 23:04:10: FLEX: CAPCODE:0000000000035f47 2018-03-30 23:04:10: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [000220999] 2018-03-30 23:04:10: FLEX: CAPCODE:0000000000035c1b 2018-03-30 23:04:10: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [000220187] 2018-03-30 23:04:10: FLEX: State: SYNC1 2018-03-30 23:04:12: FLEX: SyncInfoWord: synccode=0x870c baud=1600 levels=2 polarity=POS zero=-0.033731 envelope=0.114342 symrate=1571.223556 2018-03-30 23:04:12: FLEX: State: FIW 2018-03-30 23:04:12: FLEX: FrameInfoWord: cycleno=01 frameno=016_ fix3=0x3c time=04:30 2018-03-30 23:04:12: FLEX: State: SYNC2 2018-03-30 23:04:12: FLEX: State: DATA 2018-03-30 23:04:12: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-03-30 23:04:12: FLEX: CAPCODE:00000000001ef800 2018-03-30 23:04:12: FLEX: Parse Alpha Numeric 2018-03-30 23:04:12: FLEX: 2018-03-30 21:04:12 1600/2/A 01.016 [002029568] ALN Test 187 2018-03-30 23:04:12: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 1; Capcode: [001420999] 2018-03-30 23:04:12: FLEX: 2018-03-30 23:04:12 1600/2/A 01.016 [001420999] ALN Test 187 2018-03-30 23:04:12: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 2; Capcode: [001420014] 2018-03-30 23:04:12: FLEX: 2018-03-30 23:04:12 1600/2/A 01.016 [001420014] ALN Test 187 2018-03-30 23:04:12: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 3; Capcode: [000220999] 2018-03-30 23:04:12: FLEX: 2018-03-30 23:04:12 1600/2/A 01.016 [000220999] ALN Test 187 2018-03-30 23:04:12: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 4; Capcode: [000220187] 2018-03-30 23:04:12: FLEX: 2018-03-30 23:04:12 1600/2/A 01.016 [000220187] ALN Test 187 2018-03-30 23:04:12: FLEX: State: SYNC1 2018-03-30 23:04:13: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033383 envelope=0.114344 symrate=1571.224670 2018-03-30 23:04:13: FLEX: State: FIW 2018-03-30 23:04:14: FLEX: FrameInfoWord: cycleno=01 frameno=017 fix3=0x3c time=04:31 2018-03-30 23:04:14: FLEX: State: SYNC2

FULL p2000dump file 2018-03-30 BUGp2000dump-invalid.txt

bertinholland commented 6 years ago

Second example

@Zanoroy

Scenario cycleno=11 frameno=102 : 3 short instruction (groupbit 0), capcodes [001400999], [001400454], [001400452] cycleno=11 frameno=103: Phase A Data corruption - Unable to fix errors / Garbled message at block 1 cycleno=11 frameno=106: Added 2 short instruction (groupbit 0), [001420999], [001420004] cycleno=11 frameno=107: Group message output [002029568] (groupbit 0) for capcodes [001400999], [001400454], [001400452], [001420999], [001420004]

Issue

Possible Solution?

Logging 2018-04-01 10:46:53: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033185 envelope=0.110661 symrate=1568.907487 2018-04-01 10:46:53: FLEX: State: FIW 2018-04-01 10:46:53: FLEX: FrameInfoWord: cycleno=11 frameno=102 fix3=0x3c time=47:11 2018-04-01 10:46:53: FLEX: State: SYNC2 2018-04-01 10:46:53: FLEX: State: DATA 2018-04-01 10:46:53: FLEX: BlockInfoWord: (Phase A) BIW:0000100E AW:01-04 (3 pages) 2018-04-01 10:46:53: FLEX: CAPCODE:00000000001560a7 2018-04-01 10:46:53: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [001400999] 2018-04-01 10:46:53: FLEX: CAPCODE:0000000000155e86 2018-04-01 10:46:53: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [001400454] 2018-04-01 10:46:53: FLEX: CAPCODE:0000000000155e84 2018-04-01 10:46:53: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [001400452] 2018-04-01 10:46:53: FLEX: State: SYNC1 2018-04-01 10:46:55: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.034036 envelope=0.110664 symrate=1568.908987 2018-04-01 10:46:55: FLEX: State: FIW 2018-04-01 10:46:55: FLEX: FrameInfoWord: cycleno=11 frameno=103 fix3=0x3c time=47:13 2018-04-01 10:46:55: FLEX: State: SYNC2 2018-04-01 10:46:55: FLEX: State: DATA 2018-04-01 10:46:56: FLEX: Phase A Fixed 2 errors @ 0x00002008 (0x05bf7907 -> 0x05bf590f) 2018-04-01 10:46:56: FLEX: Phase A Data corruption - Unable to fix errors. 2018-04-01 10:46:56: FLEX: Garbled message at block 1 2018-04-01 10:46:56: FLEX: State: SYNC1 2018-04-01 10:46:59: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032890 envelope=0.110665 symrate=1568.910030 2018-04-01 10:46:59: FLEX: State: FIW 2018-04-01 10:46:59: FLEX: FrameInfoWord: cycleno=11 frameno=105 fix3=0x3c time=47:16 2018-04-01 10:46:59: FLEX: State: SYNC2 2018-04-01 10:46:59: FLEX: State: DATA 2018-04-01 10:46:59: FLEX: BlockInfoWord: (Phase A) BIW:0000040B AW:01-01 (0 pages) 2018-04-01 10:46:59: FLEX: State: SYNC1 2018-04-01 10:47:00: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032207 envelope=0.110668 symrate=1568.911532 2018-04-01 10:47:00: FLEX: State: FIW 2018-04-01 10:47:00: FLEX: FrameInfoWord: cycleno=11 frameno=106 fix3=0x3c time=47:18 2018-04-01 10:47:00: FLEX: State: SYNC2 2018-04-01 10:47:01: FLEX: State: DATA 2018-04-01 10:47:01: FLEX: BlockInfoWord: (Phase A) BIW:00000C03 AW:01-03 (2 pages) 2018-04-01 10:47:01: FLEX: CAPCODE:000000000015aec7 2018-04-01 10:47:01: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [001420999] 2018-04-01 10:47:01: FLEX: CAPCODE:000000000015aae4 2018-04-01 10:47:01: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 5, adding Capcode: [001420004] 2018-04-01 10:47:01: FLEX: State: SYNC1 2018-04-01 10:47:02: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033281 envelope=0.110671 symrate=1568.913031 2018-04-01 10:47:02: FLEX: State: FIW 2018-04-01 10:47:02: FLEX: FrameInfoWord: cycleno=11 frameno=107 fix3=0x3c time=47:20 2018-04-01 10:47:02: FLEX: State: SYNC2 2018-04-01 10:47:02: FLEX: State: DATA 2018-04-01 10:47:03: FLEX: BlockInfoWord: (Phase A) BIW:0000140A AW:01-05 (4 pages) 2018-04-01 10:47:03: FLEX: CAPCODE:00000000001ef800 2018-04-01 10:47:03: FLEX: Parse Alpha Numeric 2018-04-01 10:47:03: FLEX: 2018-04-01 08:47:03 1600/2/A 11.107 [002029568] ALN A1 AMBU 17104 Van Beverenvliet 2992WH Barendrecht BARDRT bon 33237 2018-04-01 10:47:03: FLEX Group message output: Groupbit: 0 Total Capcodes; 5; index 1; Capcode: [001400999] 2018-04-01 10:47:03: FLEX: 2018-04-01 10:47:03 1600/2/A 11.107 [001400999] ALN A1 AMBU 17104 Van Beverenvliet 2992WH Barendrecht BARDRT bon 33237 2018-04-01 10:47:03: FLEX Group message output: Groupbit: 0 Total Capcodes; 5; index 2; Capcode: [001400454] 2018-04-01 10:47:03: FLEX: 2018-04-01 10:47:03 1600/2/A 11.107 [001400454] ALN A1 AMBU 17104 Van Beverenvliet 2992WH Barendrecht BARDRT bon 33237 2018-04-01 10:47:03: FLEX Group message output: Groupbit: 0 Total Capcodes; 5; index 3; Capcode: [001400452] 2018-04-01 10:47:03: FLEX: 2018-04-01 10:47:03 1600/2/A 11.107 [001400452] ALN A1 AMBU 17104 Van Beverenvliet 2992WH Barendrecht BARDRT bon 33237 2018-04-01 10:47:03: FLEX Group message output: Groupbit: 0 Total Capcodes; 5; index 4; Capcode: [001420999] 2018-04-01 10:47:03: FLEX: 2018-04-01 10:47:03 1600/2/A 11.107 [001420999] ALN A1 AMBU 17104 Van Beverenvliet 2992WH Barendrecht BARDRT bon 33237 2018-04-01 10:47:03: FLEX Group message output: Groupbit: 0 Total Capcodes; 5; index 5; Capcode: [001420004] 2018-04-01 10:47:03: FLEX: 2018-04-01 10:47:03 1600/2/A 11.107 [001420004] ALN A1 AMBU 17104 Van Beverenvliet 2992WH Barendrecht BARDRT bon 33237

Detailed file: ISSUE 101 - example2 - p2000dump.txt

Zanoroy commented 6 years ago

@bertinholland thanks for the info. I'll have a look at it (probably tomorrow if I can get the time) and let you know how I go with the fix.

It will be interesting to see what happens when the group message is split over 3 or more frames and a middle message is corrupt. The decoder isn't really "state full", so to handle this it will need some thinking and a little re-design.

Let me see what I can come up with.

bertinholland commented 6 years ago

@Zanoroy

It will be interesting to see what happens when the group message is split over 3 or more frames and a middle message is corrupt. The decoder isn't really "state full", so to handle this it will need some thinking and a little re-design.

I have done some research and I didn't find a group message split over 3 frames. The maximum count I found is 21 short messages in a group. The short instruction is in 1 frame. The group message output is also in 1 frame.

This shows an example of a "21-count-group-message-output" (maximum is 2 frames I found):

2018-03-30 09:50:14: FLEX: FrameInfoWord: cycleno=12 frameno=081 fix3=0x00 time=50:31 2018-03-30 09:50:14: FLEX: State: SYNC2 2018-03-30 09:50:14: FLEX: State: DATA 2018-03-30 09:50:14: FLEX: Phase A Fixed 1 errors @ 0x00000400 (0x2b014c11 -> 0x2b014811) 2018-03-30 09:50:14: FLEX: BlockInfoWord: (Phase A) BIW:00005802 AW:01-22 (21 pages) 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4fe0 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [000806880] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4fde 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [000806878] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4fad 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [000806829] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4d7b 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [000806267] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4d60 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 5, adding Capcode: [000806240] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4ca2 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 6, adding Capcode: [000806050] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4b62 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 7, adding Capcode: [000805730] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4a0e 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 8, adding Capcode: [000805390] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4a02 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 9, adding Capcode: [000805378] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c4a01 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 10, adding Capcode: [000805377] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c49f7 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 11, adding Capcode: [000805367] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c49f6 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 12, adding Capcode: [000805366] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c49f5 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 13, adding Capcode: [000805365] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c49f3 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 14, adding Capcode: [000805363] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c48f6 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 15, adding Capcode: [000805110] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c48de 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 16, adding Capcode: [000805086] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c48dd 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 17, adding Capcode: [000805085] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c48db 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 18, adding Capcode: [000805083] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c48d0 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 19, adding Capcode: [000805072] 2018-03-30 09:50:14: FLEX: CAPCODE:00000000000c48cf 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 20, adding Capcode: [000805071] 2018-03-30 09:50:14: FLEX: CAPCODE:0000000000095600 2018-03-30 09:50:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 21, adding Capcode: [000611840] 2018-03-30 09:50:14: FLEX: State: SYNC1 2018-03-30 09:50:15: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033528 envelope=0.112618 symrate=1570.041023 2018-03-30 09:50:15: FLEX: State: FIW 2018-03-30 09:50:15: FLEX: FrameInfoWord: cycleno=12 frameno=082 fix3=0x3c time=50:33 2018-03-30 09:50:15: FLEX: State: SYNC2 2018-03-30 09:50:15: FLEX: State: DATA 2018-03-30 09:50:16: FLEX: Phase A Fixed 1 errors @ 0x00000040 (0x19400847 -> 0x19400807) 2018-03-30 09:50:16: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-03-30 09:50:16: FLEX: CAPCODE:00000000001ef800 2018-03-30 09:50:16: FLEX: Parse Alpha Numeric 2018-03-30 09:50:16: FLEX: 2018-03-30 07:50:16 1600/2/A 12.082 [002029568] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 1; Capcode: [000806880] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000806880] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 2; Capcode: [000806878] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000806878] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 3; Capcode: [000806829] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000806829] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 4; Capcode: [000806267] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000806267] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 5; Capcode: [000806240] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000806240] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 6; Capcode: [000806050] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000806050] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 7; Capcode: [000805730] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805730] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 8; Capcode: [000805390] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805390] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 9; Capcode: [000805378] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805378] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 10; Capcode: [000805377] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805377] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 11; Capcode: [000805367] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805367] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 12; Capcode: [000805366] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805366] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 13; Capcode: [000805365] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805365] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 14; Capcode: [000805363] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805363] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 15; Capcode: [000805110] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805110] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 16; Capcode: [000805086] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805086] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 17; Capcode: [000805085] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805085] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 18; Capcode: [000805083] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805083] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 19; Capcode: [000805072] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805072] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 20; Capcode: [000805071] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000805071] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX Group message output: Groupbit: 0 Total Capcodes; 21; index 21; Capcode: [000611840] 2018-03-30 09:50:16: FLEX: 2018-03-30 09:50:16 1600/2/A 12.082 [000611840] ALN P 1 (inci-03) BR Woning (Schoorsteen, Rietgedekt) Bovenstraatweg Oldebroek 066951 041094 069881 066742 066941 2018-03-30 09:50:16: FLEX: State: SYNC1 2018-03-30 09:50:34: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033586 envelope=0.112398 symrate=1569.951964 2018-03-30 09:50:34: FLEX: State: FIW 2018-03-30 09:50:34: FLEX: FrameInfoWord: cycleno=12 frameno=092 fix3=0x3c time=50:52 2018-03-30 09:50:34: FLEX: State: SYNC2

Detailed example file: 21 capcodes in groupmessage.txt

bertinholland commented 6 years ago

Example: group message split up over 3 frames, corruption middle frame, wrong split up

@Zanoroy

Short discription

Issue

-Capcodes [001220611] [001220499] (index 1,2) are split up at frame 73, that is wrong.

Logfile 2018-04-04 13:09:14: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033620 envelope=0.114910 symrate=1571.596430 2018-04-04 13:09:14: FLEX: State: FIW 2018-04-04 13:09:14: FLEX: FrameInfoWord: cycleno=02 frameno=049 fix3=0x00 time=09:31 2018-04-04 13:09:14: FLEX: State: SYNC2 2018-04-04 13:09:14: FLEX: State: DATA 2018-04-04 13:09:14: FLEX: BlockInfoWord: (Phase A) BIW:00002C01 AW:01-11 (10 pages) 2018-04-04 13:09:14: FLEX: CAPCODE:000000000012a003 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [001220611] 2018-04-04 13:09:14: FLEX: CAPCODE:0000000000129f93 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [001220499] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000ab568 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 1, adding Capcode: [000701800] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000ab196 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 2, adding Capcode: [000700822] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000ab195 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 3, adding Capcode: [000700821] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000ab194 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 4, adding Capcode: [000700820] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000ab18c 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 5, adding Capcode: [000700812] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000ab18b 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 6, adding Capcode: [000700811] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000ab18a 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 7, adding Capcode: [000700810] 2018-04-04 13:09:14: FLEX: CAPCODE:00000000000aae61 2018-04-04 13:09:14: FLEX: Found Short Instruction, Group bit: 1 capcodes in group so far 8, adding Capcode: [000700001] 2018-04-04 13:09:14: FLEX: State: SYNC1 2018-04-04 13:09:15: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033343 envelope=0.114918 symrate=1571.601460 2018-04-04 13:09:15: FLEX: State: FIW 2018-04-04 13:09:15: FLEX: FrameInfoWord: cycleno=02 frameno=050 fix3=0x3c time=09:33 2018-04-04 13:09:15: FLEX: State: SYNC2 2018-04-04 13:09:15: FLEX: State: DATA 2018-04-04 13:09:17: FLEX: Phase A Fixed 1 errors @ 0x00000080 (0x2a4824c5 -> 0x2a482445) 2018-04-04 13:09:17: FLEX: Phase A Data corruption - Unable to fix errors. 2018-04-04 13:09:17: FLEX: Garbled message at block 40 2018-04-04 13:09:17: FLEX: State: SYNC1 2018-04-04 13:09:17: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033638 envelope=0.114919 symrate=1571.606386 2018-04-04 13:09:17: FLEX: State: FIW 2018-04-04 13:09:17: FLEX: FrameInfoWord: cycleno=02 frameno=051 fix3=0x3c time=09:35 2018-04-04 13:09:17: FLEX: State: SYNC2 2018-04-04 13:09:17: FLEX: State: DATA 2018-04-04 13:09:18: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-04-04 13:09:18: FLEX: CAPCODE:00000000001ef801 2018-04-04 13:09:18: FLEX: Parse Alpha Numeric 2018-04-04 13:09:18: FLEX: 2018-04-04 11:09:18 1600/2/A 02.051 [002029569] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 1; Capcode: [000701800] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000701800] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 2; Capcode: [000700822] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000700822] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 3; Capcode: [000700821] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000700821] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 4; Capcode: [000700820] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000700820] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 5; Capcode: [000700812] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000700812] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 6; Capcode: [000700811] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000700811] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 7; Capcode: [000700810] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000700810] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX Group message output: Groupbit: 1 Total Capcodes; 8; index 8; Capcode: [000700001] 2018-04-04 13:09:18: FLEX: 2018-04-04 13:09:18 1600/2/A 02.051 [000700001] ALN Lee Seafish Ur 2018-04-04 13:09:18: FLEX: State: SYNC1 2018-04-04 13:09:25: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033350 envelope=0.114920 symrate=1571.606099 2018-04-04 13:09:25: FLEX: State: FIW 2018-04-04 13:09:25: FLEX: FrameInfoWord: cycleno=02 frameno=055 fix3=0x3c time=09:43 2018-04-04 13:09:25: FLEX: State: SYNC2 2018-04-04 13:09:25: FLEX: State: DATA 2018-04-04 13:09:26: FLEX: Phase A Fixed 1 errors @ 0x00000040 (0x0017b371 -> 0x0017b331) 2018-04-04 13:09:26: FLEX: Phase A Fixed 1 errors @ 0x00000080 (0x15f879c7 -> 0x15f87947) 2018-04-04 13:09:26: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-04-04 13:09:26: FLEX: CAPCODE:0000000000173331 2018-04-04 13:09:26: FLEX: Parse Alpha Numeric 2018-04-04 13:09:26: FLEX: 2018-04-04 11:09:26 1600/2/A 02.055 [001520433] ALN B2 RdG bgg Nucl.geneesk. / Reinier de Graafweg DELFT : 15433 2018-04-04 13:09:26: FLEX: State: SYNC1 2018-04-04 13:09:55: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033898 envelope=0.114884 symrate=1571.583993 2018-04-04 13:09:55: FLEX: State: FIW 2018-04-04 13:09:55: FLEX: FrameInfoWord: cycleno=02 frameno=071 fix3=0x3c time=10:13 2018-04-04 13:09:55: FLEX: State: SYNC2 2018-04-04 13:09:55: FLEX: State: DATA 2018-04-04 13:09:55: FLEX: BlockInfoWord: (Phase A) BIW:0000040B AW:01-01 (0 pages) 2018-04-04 13:09:55: FLEX: State: SYNC1 2018-04-04 13:09:57: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033569 envelope=0.114895 symrate=1571.588998 2018-04-04 13:09:57: FLEX: State: FIW 2018-04-04 13:09:57: FLEX: FrameInfoWord: cycleno=02 frameno=072 fix3=0x3c time=10:15 2018-04-04 13:09:57: FLEX: State: SYNC2 2018-04-04 13:09:57: FLEX: State: DATA 2018-04-04 13:09:57: FLEX: BlockInfoWord: (Phase A) BIW:00000C03 AW:01-03 (2 pages) 2018-04-04 13:09:57: FLEX: CAPCODE:000000000015aec7 2018-04-04 13:09:57: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [001420999] 2018-04-04 13:09:57: FLEX: CAPCODE:000000000015ab7b 2018-04-04 13:09:57: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [001420155] 2018-04-04 13:09:57: FLEX: State: SYNC1 2018-04-04 13:09:59: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033658 envelope=0.114905 symrate=1571.594002 2018-04-04 13:09:59: FLEX: State: FIW 2018-04-04 13:09:59: FLEX: FrameInfoWord: cycleno=02 frameno=073 fix3=0x3c time=10:16 2018-04-04 13:09:59: FLEX: State: SYNC2 2018-04-04 13:09:59: FLEX: State: DATA 2018-04-04 13:09:59: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-04-04 13:09:59: FLEX: CAPCODE:00000000001ef800 2018-04-04 13:09:59: FLEX: Parse Alpha Numeric 2018-04-04 13:09:59: FLEX: 2018-04-04 11:09:59 1600/2/A 02.073 [002029568] ALN A2 (DIA: ) AMBU 17340 Havenstraat Rotterdam ROTTDM bon 34286 2018-04-04 13:09:59: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 1; Capcode: [001220611] 2018-04-04 13:09:59: FLEX: 2018-04-04 13:09:59 1600/2/A 02.073 [001220611] ALN A2 (DIA: ) AMBU 17340 Havenstraat Rotterdam ROTTDM bon 34286 2018-04-04 13:09:59: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 2; Capcode: [001220499] 2018-04-04 13:09:59: FLEX: 2018-04-04 13:09:59 1600/2/A 02.073 [001220499] ALN A2 (DIA: ) AMBU 17340 Havenstraat Rotterdam ROTTDM bon 34286 2018-04-04 13:09:59: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 3; Capcode: [001420999] 2018-04-04 13:09:59: FLEX: 2018-04-04 13:09:59 1600/2/A 02.073 [001420999] ALN A2 (DIA: ) AMBU 17340 Havenstraat Rotterdam ROTTDM bon 34286 2018-04-04 13:09:59: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 4; Capcode: [001420155] 2018-04-04 13:09:59: FLEX: 2018-04-04 13:09:59 1600/2/A 02.073 [001420155] ALN A2 (DIA: ) AMBU 17340 Havenstraat Rotterdam ROTTDM bon 34286 2018-04-04 13:09:59: FLEX: State: SYNC1 2018-04-04 13:10:06: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033758 envelope=0.114904 symrate=1571.595321 2018-04-04 13:10:06: FLEX: State: FIW 2018-04-04 13:10:06: FLEX: FrameInfoWord: cycleno=02 frameno=077 fix3=0x3c time=10:24

ISSUE 101 - example 3.txt

Zanoroy commented 6 years ago

@bertinholland I am looking into this, but a previous change introduced another bug where characters are being dropped. I need to fix that first to ensure future changes don't break group messaging.

but I am working on it.

bertinholland commented 6 years ago

@Zanoroy

Hello Zanoroy,

I was wondering if it is a complex problem to fix? Can you tell a little bit about the solution? Thanks and best regards. I think it's interesting matter. If you need extra log information / or test let me know.

Bert from Holland.

Zanoroy commented 6 years ago

Morning Bert, It's complex in the fact that if group identified cannot be decoded it's difficult to clear out the relevant data.

I could really use some test data, are you able to record your radio so I can see the problem first hand and that will let me debug it closely.

Kind regards Zanoroy (Bruce)

On Mon, 16 Apr. 2018, 03:49 bertinholland, notifications@github.com wrote:

@Zanoroy https://github.com/Zanoroy

Hello Zanoroy,

I was wondering if it is a complex problem to fix? Can you tell a little bit about the solution? Thanks and best regards. I think it's interesting matter. If you need extra log information / or test let me know.

Bert from Holland.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EliasOenal/multimon-ng/issues/101#issuecomment-381426658, or mute the thread https://github.com/notifications/unsubscribe-auth/AH0NJQIupytZcVMx27EMoEUPwaDwytBsks5to48agaJpZM4TCnVr .

bertinholland commented 6 years ago

@Zanoroy Goodmorning,

I am generating radio data now (24hr a day) till I captured this issue scenario.

Bert

bertinholland commented 6 years ago

@Zanoroy This message contains RADIOFILE!

Attached files (at the end of this message):

Scenario: cycleno=12 frameno=014 Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [000120999] Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [000120404]

cycleno=12 frameno=015 data corruption

cycleno=12 frameno=035 Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [000220999] Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [000220188]

cycleno=12 frameno=036 wrong decode groupbit 0 and index 1 and 2 2018-04-17 16:56:25: FLEX: 2018-04-17 14:56:25 1600/2/A 12.036 [002029568] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 1; Capcode: [000120999] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000120999] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 2; Capcode: [000120404] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000120404] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 3; Capcode: [000220999] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000220999] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 4; Capcode: [000220188] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000220188] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC

Decode statement: cat radio.issue101.20180417133001.raw | multimon-ng -a FLEX -t raw /dev/stdin -v 3 --timestamp >> /home/pi/p2000/output/radio.issue101.20180417133001.txt

Higlight logfile: 2018-04-17 16:56:24: FLEX: FrameInfoWord: cycleno=12 frameno=014 fix3=0x3c time=48:26 2018-04-17 16:56:24: FLEX: State: SYNC2 2018-04-17 16:56:24: FLEX: State: DATA 2018-04-17 16:56:24: FLEX: BlockInfoWord: (Phase A) BIW:00000C03 AW:01-03 (2 pages) 2018-04-17 16:56:24: FLEX: CAPCODE:000000000001d8a7 2018-04-17 16:56:24: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [000120999] 2018-04-17 16:56:24: FLEX: CAPCODE:000000000001d654 2018-04-17 16:56:24: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [000120404] 2018-04-17 16:56:24: FLEX: State: SYNC1 2018-04-17 16:56:24: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032421 envelope=0.117733 symrate=1573.187258 2018-04-17 16:56:24: FLEX: State: FIW 2018-04-17 16:56:24: FLEX: FrameInfoWord: cycleno=12 frameno=015 fix3=0x3c time=48:28 2018-04-17 16:56:24: FLEX: State: SYNC2 2018-04-17 16:56:24: FLEX: State: DATA 2018-04-17 16:56:24: FLEX: Phase A Fixed 2 errors @ 0x00000005 (0x29797660 -> 0x29797665) 2018-04-17 16:56:24: FLEX: Phase A Fixed 2 errors @ 0x00000009 (0x3fd870e5 -> 0x3fd870ec) 2018-04-17 16:56:24: FLEX: Phase A Fixed 1 errors @ 0x00000002 (0x772c506c -> 0x772c506e) 2018-04-17 16:56:24: FLEX: Phase A Data corruption - Unable to fix errors. 2018-04-17 16:56:24: FLEX: Garbled message at block 28 2018-04-17 16:56:24: FLEX: State: SYNC1 2018-04-17 16:56:24: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033198 envelope=0.117649 symrate=1573.169284 2018-04-17 16:56:24: FLEX: State: FIW 2018-04-17 16:56:24: FLEX: FrameInfoWord: cycleno=12 frameno=020 fix3=0x3c time=48:37 2018-04-17 16:56:24: FLEX: State: SYNC2 2018-04-17 16:56:24: FLEX: State: DATA 2018-04-17 16:56:24: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-04-17 16:56:24: FLEX: CAPCODE:000000000011232f 2018-04-17 16:56:24: FLEX: Parse Alpha Numeric 2018-04-17 16:56:24: FLEX: 2018-04-17 14:56:24 1600/2/A 12.020 [001123119] ALN A2 5551EZ 70 : van Heinsbergdal Valkenswaard Obj: Rit: 48777 2018-04-17 16:56:24: FLEX: State: SYNC1 2018-04-17 16:56:25: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033282 envelope=0.117290 symrate=1572.980142 2018-04-17 16:56:25: FLEX: State: FIW 2018-04-17 16:56:25: FLEX: FrameInfoWord: cycleno=12 frameno=034 fix3=0x3c time=49:03 2018-04-17 16:56:25: FLEX: State: SYNC2 2018-04-17 16:56:25: FLEX: State: DATA 2018-04-17 16:56:25: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-04-17 16:56:25: FLEX: CAPCODE:00000000000e0a25 2018-04-17 16:56:25: FLEX: Parse Alpha Numeric 2018-04-17 16:56:25: FLEX: 2018-04-17 14:56:25 1600/2/A 12.034 [000920101] ALN A1 O2605 WZC Waalstaete Waalstraat Arnhem 6826BR 32657 2018-04-17 16:56:25: FLEX: State: SYNC1 2018-04-17 16:56:25: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032758 envelope=0.117368 symrate=1573.025308 2018-04-17 16:56:25: FLEX: State: FIW 2018-04-17 16:56:25: FLEX: FrameInfoWord: cycleno=12 frameno=035 fix3=0x3c time=49:05 2018-04-17 16:56:25: FLEX: State: SYNC2 2018-04-17 16:56:25: FLEX: State: DATA 2018-04-17 16:56:25: FLEX: BlockInfoWord: (Phase A) BIW:00000C03 AW:01-03 (2 pages) 2018-04-17 16:56:25: FLEX: CAPCODE:0000000000035f47 2018-04-17 16:56:25: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [000220999] 2018-04-17 16:56:25: FLEX: CAPCODE:0000000000035c1c 2018-04-17 16:56:25: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [000220188] 2018-04-17 16:56:25: FLEX: State: SYNC1 2018-04-17 16:56:25: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032994 envelope=0.117464 symrate=1573.070387 2018-04-17 16:56:25: FLEX: State: FIW 2018-04-17 16:56:25: FLEX: FrameInfoWord: cycleno=12 frameno=036 fix3=0x3c time=49:07 2018-04-17 16:56:25: FLEX: State: SYNC2 2018-04-17 16:56:25: FLEX: State: DATA 2018-04-17 16:56:25: FLEX: BlockInfoWord: (Phase A) BIW:00000807 AW:01-02 (1 pages) 2018-04-17 16:56:25: FLEX: CAPCODE:00000000001ef800 2018-04-17 16:56:25: FLEX: Parse Alpha Numeric 2018-04-17 16:56:25: FLEX: 2018-04-17 14:56:25 1600/2/A 12.036 [002029568] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 1; Capcode: [000120999] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000120999] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 2; Capcode: [000120404] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000120404] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 3; Capcode: [000220999] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000220999] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX Group message output: Groupbit: 0 Total Capcodes; 4; index 4; Capcode: [000220188] 2018-04-17 16:56:25: FLEX: 2018-04-17 16:56:25 1600/2/A 12.036 [000220188] ALN A2 (dia: ja) Velduil Heerhugowaard - 1704XC 2018-04-17 16:56:25: FLEX: State: SYNC1 2018-04-17 16:56:25: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033166 envelope=0.116883 symrate=1572.724988 2018-04-17 16:56:25: FLEX: State: FIW 2018-04-17 16:56:25: FLEX: FrameInfoWord: cycleno=12 frameno=058 fix3=0x3c time=49:48 2018-04-17 16:56:25: FLEX: State: SYNC2 2018-04-17 16:56:25: FLEX: State: DATA

Attached files: radio.issue101.20180417133001.txt

Radio file (download till 24 april, zipfile, 70 MB) https://wetransfer.com/downloads/a4e6143f3b3818021b1ed5be9bdae04320180417170446/958a1b9e0c1cdbd5d5d670bd23629c4720180417170447/71d03f

Zanoroy commented 6 years ago

@bertinholland Thanks for the data, I'll get onto this shortly, once my day job is complete.

Cheers

bertinholland commented 6 years ago

@Zanoroy

Goodmorning,

Okay fine. Let me know if you need an extra radio file. I'm also available to do testing after you fix the problem. Have a nice day.

bertinholland commented 6 years ago

Reference Guide information knipsel

Zanoroy commented 6 years ago

@bertinholland Thanks for that, I have had a look at the code and your idea will work fine. If the group frame is either corrupt or missed completely, I can just remove the group bit reference. I have started the modifications and some testing, I will have something to you by Monday afternoon I hope.

bertinholland commented 6 years ago

@Zanoroy Thats sounds fabulous. Great that you are started the modifications. I have a set of raw radio files available (with different scenarios) for regression test. Let me know if I can do some testing. Adios, greetings from Holland.

bertinholland commented 6 years ago

@Zanoroy Goodmorning Bruce, Thanks for started the modifications 3 weeks ago. Nice. Can you let me know a status update / progress? That would be nice. Thanks in advance. Greetings for Spain.

Zanoroy commented 6 years ago

Sorry, I'm currently working remotely so I haven't completed my testing.

On Sat, 12 May 2018, 18:07 bertinholland, notifications@github.com wrote:

@Zanoroy https://github.com/Zanoroy Goodmorning Bruce, Thanks for started the modifications 3 weeks ago. Nice. Can you let me know a status update / progress? That would be nice. Thanks in advance. Greetings for Spain.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EliasOenal/multimon-ng/issues/101#issuecomment-388540059, or mute the thread https://github.com/notifications/unsubscribe-auth/AH0NJa5zC-ijrR7R8d1JMH9zMRkhJNF-ks5txp8rgaJpZM4TCnVr .

Zanoroy commented 6 years ago

@bertinholland Ok, I have uploaded the fix to my 'pull' the file you need is demod_flex.c. please download it, compile and test.

Let me know how it goes, I have tested using your supplied Radio 101 data and all worked well.

Things to note: I changed the sync settings, so getting a "Lock" works faster. Of course you may find in your area its not as good (although it worked well with the radio 101 test data). You can reset the values if you see lock issues , the defaults are recorded in the 'changes made' with the version 0.8.8.9 section at the top of the file...

The approach I took to fixing the issue is: When a FIW is decoded loop through the Group message array, up to 17 elements, check if a group bit is present and check which Frame Number and Cycle number the expected message is in. If the current Frame and Cycle is greater then the expected output a warning message and reset the array group bit to indicate no messages expected.

Looping through the array adds a little bit of time to the overall processing time but not enough to effect reception of messages (far faster then 6400 bps of data can be transmitted and received).

Cheers

Zanoroy commented 6 years ago

If you are happy with the fix let me know and we'll get it pulled into EliasOenal's master branch.

bertinholland commented 6 years ago

@Zanoroy Thanks for version 0.8.9 Testing has started.

Also this week a will rerun the regression test for the backuped raw data set.

Minor remark, 5 compile warnings in make phase:

../demod_flex.c:1242:41: warning: iteration 17 invokes undefined behavior [-Waggressive-loop-optimizations] flex->GroupHandler.GroupCycle[g] = -1;


../demod_flex.c:1239:3: note: within this loop
   for(int g = 0; g < 18; g++)
   ^~~

../demod_eas.c:83:1: warning: variably modified ‘eascorr_mark_i’ at file scope
 static float eascorr_mark_i[CORRLEN];
 ^~~~~~

../demod_eas.c:84:1: warning: variably modified ‘eascorr_mark_q’ at file scope
 static float eascorr_mark_q[CORRLEN];
 ^~~~~~

../demod_eas.c:85:1: warning: variably modified ‘eascorr_space_i’ at file scope
 static float eascorr_space_i[CORRLEN];
 ^~~~~~

../demod_eas.c:86:1: warning: variably modified ‘eascorr_space_q’ at file scope
 static float eascorr_space_q[CORRLEN];
 ^~~~~~
Zanoroy commented 6 years ago

Bigger, ok the warning for the demod_flex.c file I will fix, I'm going through the loop one too many times for the array. Thanks for the report. The other warnings are from a mod Elias made to a different module with in multimon so I cannot fix those sorry...

On Mon, 21 May 2018, 17:18 bertinholland, notifications@github.com wrote:

@Zanoroy https://github.com/Zanoroy Thanks for version 0.8.9 Testing has started.

Also this week a will rerun the regression test for the backuped raw data set.

Minor remark, 5 compile warnings in make phase:

../demod_flex.c:1242:41: warning: iteration 17 invokes undefined behavior [-Waggressive-loop-optimizations] flex->GroupHandler.GroupCycle[g] = -1; ^ ../demod_flex.c:1239:3: note: within this loop for(int g = 0; g < 18; g++) ^~~

../demod_eas.c:83:1: warning: variably modified ‘eascorr_mark_i’ at file scope static float eascorr_mark_i[CORRLEN]; ^~

../demod_eas.c:84:1: warning: variably modified ‘eascorr_mark_q’ at file scope static float eascorr_mark_q[CORRLEN]; ^~

../demod_eas.c:85:1: warning: variably modified ‘eascorr_space_i’ at file scope static float eascorr_space_i[CORRLEN]; ^~

../demod_eas.c:86:1: warning: variably modified ‘eascorr_space_q’ at file scope static float eascorr_space_q[CORRLEN]; ^~

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EliasOenal/multimon-ng/issues/101#issuecomment-390579716, or mute the thread https://github.com/notifications/unsubscribe-auth/AH0NJTTgGDB8fUJtwGRbet_-OXES3tonks5t0nFIgaJpZM4TCnVr .

bertinholland commented 6 years ago

@Zanoroy

Test is in progress. First result:

2018-05-21 10:51:36: FLEX: FrameInfoWord: cycleno=12 frameno=125 fix3=0x3c time=51:54 2018-05-21 10:51:36: FLEX: State: SYNC2 2018-05-21 10:51:36: FLEX: State: DATA 2018-05-21 10:51:36: FLEX: Phase A Fixed 1 errors @ 0x04000000 (0x4d8d2b03 -> 0x498d2b03) 2018-05-21 10:51:36: FLEX: Phase A Fixed 1 errors @ 0x08000000 (0x2561f816 -> 0x2d61f816) 2018-05-21 10:51:36: FLEX: BlockInfoWord: (Phase A) BIW:00000C03 AW:01-03 (2 pages) 2018-05-21 10:51:36: FLEX: CAPCODE:00000000000cae17 2018-05-21 10:51:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [000830999] 2018-05-21 10:51:36: FLEX: CAPCODE:00000000000cab03 2018-05-21 10:51:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [000830211] 2018-05-21 10:51:36: FLEX: State: SYNC1 2018-05-21 10:51:38: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032595 envelope=0.114127 symrate=1597.700412 2018-05-21 10:51:38: FLEX: State: FIW 2018-05-21 10:51:38: FLEX: FrameInfoWord: cycleno=12 frameno=126 fix3=0x3c time=51:56 2018-05-21 10:51:38: FLEX: State: SYNC2 2018-05-21 10:51:38: FLEX: State: DATA 2018-05-21 10:51:39: FLEX: Phase A Data corruption - Unable to fix errors. 2018-05-21 10:51:39: FLEX: Garbled message at block 1 2018-05-21 10:51:39: FLEX: State: SYNC1 2018-05-21 10:51:42: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.032583 envelope=0.114142 symrate=1597.700890 2018-05-21 10:51:42: FLEX: State: FIW 2018-05-21 10:51:42: FLEX: FrameInfoWord: cycleno=13 frameno=000 fix3=0x3c time=52:00 2018-05-21 10:51:42: FLEX: Group messages seem to have been missed: Groupbit: 0; Total Capcodes; 1982740072; Clearing data; 2018-05-21 10:51:42: FLEX: State: SYNC2 2018-05-21 10:51:42: FLEX: State: DATA 2018-05-21 10:51:42: FLEX: BlockInfoWord: (Phase A) BIW:00000E01 AW:03-03 (0 pages) 2018-05-21 10:51:42: FLEX: State: SYNC1 2018-05-21 10:51:59: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033375 envelope=0.114108 symrate=1597.699026 2018-05-21 10:51:59: FLEX: State: FIW 2018-05-21 10:51:59: FLEX: FrameInfoWord: cycleno=13 frameno=009 fix3=0x3c time=52:16

Question:

bertinholland commented 6 years ago

@Zanoroy

First impression (10% of the whole regression set test) has passed, results look good.

In a few cases the message "FLEX: Phase A Data corruption - Unable to fix errors." disappears and that is wonderful. Decoding is now succesful.

It looks like

define PHASE_LOCKED_RATE 0.045 // Correction factor for locked state

define PHASE_UNLOCKED_RATE 0.050 // Correction factor for unlocked state

does the magic trick.

Live (production-shadow) testing and als regression testing is still in progress.

Next update follows.

bertinholland commented 6 years ago

@Zanoroy

Request, the output is now:

2018-05-21 19:39:36: FLEX: FrameInfoWord: cycleno=09 frameno=125 fix3=0x3c time=39:54 2018-05-21 19:39:36: FLEX: State: SYNC2 2018-05-21 19:39:36: FLEX: State: DATA 2018-05-21 19:39:36: FLEX: BlockInfoWord: (Phase A) BIW:00001806 AW:01-06 (5 pages) 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ac5 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [001403589] 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ac6 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [001403590] 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ade 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [001403614] 2018-05-21 19:39:36: FLEX: CAPCODE:000000000015687b 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [001403003] 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ae0 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 5, adding Capcode: [001403616] 2018-05-21 19:39:36: FLEX: State: SYNC1 2018-05-21 19:39:38: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.026819 envelope=0.113668 symrate=1597.681926 2018-05-21 19:39:38: FLEX: State: FIW 2018-05-21 19:39:38: FLEX: FrameInfoWord: cycleno=09 frameno=126 fix3=0x3c time=39:56 2018-05-21 19:39:38: FLEX: State: SYNC2 2018-05-21 19:39:38: FLEX: State: DATA 2018-05-21 19:39:39: FLEX: Phase A Fixed 1 errors @ 0x00002000 (0x406d7b36 -> 0x406d5b36) 2018-05-21 19:39:39: FLEX: Phase A Data corruption - Unable to fix errors. 2018-05-21 19:39:39: FLEX: Garbled message at block 28 2018-05-21 19:39:39: FLEX: State: SYNC1 2018-05-21 19:39:42: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033990 envelope=0.113669 symrate=1597.682002 2018-05-21 19:39:42: FLEX: State: FIW 2018-05-21 19:39:42: FLEX: FrameInfoWord: cycleno=10 frameno=000 fix3=0x3c time=40:00 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed: Groupbit: 0; Total Capcodes; 1982740072; Clearing data;

But I suggest this output, see the last 5 lines below (every capcode that has no group message per line). This is a clean solution to monitor for a specific capcode with a missing group message.

2018-05-21 19:39:36: FLEX: FrameInfoWord: cycleno=09 frameno=125 fix3=0x3c time=39:54 2018-05-21 19:39:36: FLEX: State: SYNC2 2018-05-21 19:39:36: FLEX: State: DATA 2018-05-21 19:39:36: FLEX: BlockInfoWord: (Phase A) BIW:00001806 AW:01-06 (5 pages) 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ac5 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 1, adding Capcode: [001403589] 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ac6 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 2, adding Capcode: [001403590] 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ade 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 3, adding Capcode: [001403614] 2018-05-21 19:39:36: FLEX: CAPCODE:000000000015687b 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 4, adding Capcode: [001403003] 2018-05-21 19:39:36: FLEX: CAPCODE:0000000000156ae0 2018-05-21 19:39:36: FLEX: Found Short Instruction, Group bit: 0 capcodes in group so far 5, adding Capcode: [001403616] 2018-05-21 19:39:36: FLEX: State: SYNC1 2018-05-21 19:39:38: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.026819 envelope=0.113668 symrate=1597.681926 2018-05-21 19:39:38: FLEX: State: FIW 2018-05-21 19:39:38: FLEX: FrameInfoWord: cycleno=09 frameno=126 fix3=0x3c time=39:56 2018-05-21 19:39:38: FLEX: State: SYNC2 2018-05-21 19:39:38: FLEX: State: DATA 2018-05-21 19:39:39: FLEX: Phase A Fixed 1 errors @ 0x00002000 (0x406d7b36 -> 0x406d5b36) 2018-05-21 19:39:39: FLEX: Phase A Data corruption - Unable to fix errors. 2018-05-21 19:39:39: FLEX: Garbled message at block 28 2018-05-21 19:39:39: FLEX: State: SYNC1 2018-05-21 19:39:42: FLEX: SyncInfoWord: sync_code=0x870c baud=1600 levels=2 polarity=POS zero=-0.033990 envelope=0.113669 symrate=1597.682002 2018-05-21 19:39:42: FLEX: State: FIW 2018-05-21 19:39:42: FLEX: FrameInfoWord: cycleno=10 frameno=000 fix3=0x3c time=40:00 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed: Groupbit: 0; Capcode [001403589]; Clearing data; 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed: Groupbit: 0; Capcode [001403590]; Clearing data; 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed: Groupbit: 0; Capcode [001403614]; Clearing data; 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed: Groupbit: 0; Capcode [001403003]; Clearing data; 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed: Groupbit: 0; Capcode [001403616]; Clearing data;

Can you implement this request?

Testing production (shadow-system) still in progress. Regression test 100% completed and succesfull (v0.8.9)

Zanoroy commented 6 years ago

@bertinholland I have created Version 0.9.0v (22 May 2018) of the flex demod file (demod_flex.c).

Default

REPORT_GROUP_CODES 1

Output is: FLEX: Group messages seem to have been missed: Groupbit: 0; Total Capcodes: 2; Clearing data; Capcodes [000830999], [000830211]

Alternatively

REPORT_GROUP_CODES 0

Output is: 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed; Groupbit: 0; Clearing data; Capcode [001403589] 2018-05-21 19:39:42: FLEX: Group messages seem to have been missed; Groupbit: 0; Clearing data; Capcode [001403590]

bertinholland commented 6 years ago

@Zanoroy Thanks.

Testresult later this week. Is in progress.

bertinholland commented 6 years ago

REPORT_GROUP_CODES 0 works fine!

2018-05-22 10:51:31: FLEX: Group messages seem to have been missed; Groupbit: 0; Clearing data; Capcode: [001423393] 2018-05-22 10:51:31: FLEX: Group messages seem to have been missed; Groupbit: 0; Clearing data; Capcode: [001423001] 2018-05-22 10:51:31: FLEX: Group messages seem to have been missed; Groupbit: 0; Clearing data; Capcode: [001420999]

bertinholland commented 6 years ago

REPORT_GROUP_CODES 1 works fine version 0.9.0v!

2018-05-25 07:11:40: FLEX: Group messages seem to have been missed; Groupbit: 0; Total Capcodes: 2; Clearing Data; Capcodes: [000120998],[000120097]

bertinholland commented 6 years ago

@Zanoroy @EliasOenal

Testis is finished. Testresults:

Overall testresult: 100% good, ready for integration in the base release (Elias-release).

@Zanoroy Can you please start a pull request.

Thanks for fixing this issue! Well done! After code integration/pull request finished and a successful short integration test I will close this issue.

Have a nice day, greetings from Holland (27 degrees celsius, sunny) ;-)

bertinholland commented 6 years ago

Merged #104 in de Elias release. Integration test started.

bertinholland commented 6 years ago

Integration test completed. Result is fine! Thanks!

Cheers.