mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-16 16:05:15 +02:00
0.5.103
merged MI improvements, thx @rejoe2 #778 changed display inverter online message
This commit is contained in:
parent
d7c06fd5d8
commit
159b78c326
6 changed files with 169 additions and 82 deletions
|
@ -253,7 +253,10 @@ class HmRadio {
|
|||
mBufCtrl.push(p);
|
||||
if (p.packet[0] == (TX_REQ_INFO + ALL_FRAMES)) // response from get information command
|
||||
isLastPackage = (p.packet[9] > 0x81); // > 0x81 indicates last packet received
|
||||
else if (p.packet[0] != 0x00) // ignore fragment number zero
|
||||
else if (p.packet[0] == ( 0x0f + ALL_FRAMES) ) // response from MI get information command
|
||||
isLastPackage = (p.packet[9] > 0x11); // > 0x11 indicates last packet received
|
||||
else if (p.packet[0] != 0x00 && p.packet[0] != 0x88 && p.packet[0] != 0x92)
|
||||
// ignore fragment number zero and MI status messages
|
||||
isLastPackage = true; // response from dev control command
|
||||
yield();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue