HamBook – Diff between revs 15 and 41
?pathlinks?
Rev 15 | Rev 41 | |||
---|---|---|---|---|
Line 21... | Line 21... | |||
21 | public override CatLength CatLength => new CatLength { Set = 41, Read = 6, Answer = 41 }; |
21 | public override CatLength CatLength => new CatLength { Set = 41, Read = 6, Answer = 41 }; |
|
Line 22... | Line 22... | |||
22 | |
22 | |
|
23 | public MR(SerialPortStream serialPort) : base(serialPort) |
23 | public MR(SerialPortStream serialPort) : base(serialPort) |
|
24 | { |
24 | { |
|
25 | /// MTP9U026965000+0000004100001AAAAAAAAAAAA; |
25 | /// MTP9U026965000+0000004100001AAAAAAAAAAAA; |
|
26 | /// ^---- fixed: 0 in manual, but responds 1; looks like a radio bug |
26 | /// ^---- fixed: 0 in operation manual, but responds 1; looks like a radio bug |
|
27 | readRegex = new Regex($"^{Name}(?<currentLocation>[0-9PLU]{{3}})(?<frequency>[0-9]{{9}})(?<clarifierDirection>[\\+\\-]{{1}})(?<clarifierOffset>[0-9]{{4}})(?<clar>[01]{{1}})0(?<mode>[123456789ABCD]{{1}})[0-9]{{1}}(?<storage>[01]{{1}})(?<ctcssMode>[012]{{1}})00(?<phase>[012]{{1}}){Generic.Constants.EOT}$", RegexOptions.Compiled); |
27 | readRegex = new Regex($"^{Name}(?<currentLocation>[0-9PLU]{{3}})(?<frequency>[0-9]{{9}})(?<clarifierDirection>[\\+\\-]{{1}})(?<clarifierOffset>[0-9]{{4}})(?<clar>[01]{{1}})0(?<mode>[123456789ABCD]{{1}})[0-9]{{1}}(?<storage>[01]{{1}})(?<ctcssMode>[012]{{1}})00(?<phase>[012]{{1}}){Generic.Constants.EOT}$", RegexOptions.Compiled); |
|
Line 28... | Line 28... | |||
28 | } |
28 | } |
|
29 | |
29 | |