Commit b59f6b4
authored
Fix Mi Scale v1 measurments (#1294)
Handle the 10‑byte frames sent through CHAR_WEIGHT_MEAS and parse them with parseHistory10().
Live weight on Mi Scale v1 stopped working after 3.0.0. This restores it.
Tested on a real Mi Scale v1.
No changes made for v2.1 parent f65627d commit b59f6b4
1 file changed
Lines changed: 16 additions & 0 deletions
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
248 | 253 | | |
249 | 254 | | |
250 | 255 | | |
| |||
295 | 300 | | |
296 | 301 | | |
297 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
298 | 314 | | |
299 | 315 | | |
300 | 316 | | |
| |||
0 commit comments