Commit Graph
20 Commits
Author SHA1 Message Date
judge 83f54d5953 Add specific ChecksumError variant to BmsProtocolError 2026-03-26 22:26:55 +01:00
judge 0437d30d04 Convert communication protocol to use Transit_U26 with built-in CRC calculation 2026-03-26 22:26:50 +01:00
judge d69c468ebc add crc6 calculation to Stored_U26 type and require crc for from_be_bytes function 2026-03-25 14:54:24 +01:00
judge 3641331da2 update crc6 check as well, seperate commit to check that test results are stable 2026-03-25 13:54:47 +01:00
judge 6b82ddcd74 updated crc algorithm to a more efficient implementation 2026-03-25 13:54:20 +01:00
judge 5ab61e77d6 Impl to_* and from_be_bytes function for transit type 2026-03-22 17:39:46 +01:00
judge bcaf76de12 impl Transit_U26 constructor 2026-03-22 17:39:30 +01:00
judge a71ac0c43e inital implementation of crc6 2026-03-22 17:39:25 +01:00
judge 1106b4a82e implement to and from be bytes for stored type 2026-03-22 17:35:24 +01:00
judge f4381cffb8 test detection of dual bit errors with hemming 2026-03-22 15:54:53 +01:00
judge 87bd3abaca testing hemming error correction logic 2026-03-22 10:08:57 +01:00
judge 4e810cf704 impl Stored_U26 constructor 2026-03-12 21:10:01 +01:00
judge a57b50887e add from and to u32 scaffolding for U26 types 2026-03-10 00:30:28 +01:00
judge 8448d94d46 document design choices and implement hemming (26, 31) with basic tests 2026-03-10 00:16:07 +01:00
judge 5b0251f4c9 add new types for charge window info to bms protocol
these type add support for reading how much the charge state of the
battery has changed according to the configured charge window
2026-02-26 20:45:34 +01:00
judge d2c35dc601 use thiserror for protocol error type 2026-01-05 17:26:05 +01:00
judge bb9e232005 make version new type inner value accessible 2026-01-05 17:24:55 +01:00
judge 95c5045a00 inital structure for bms communication protocol implemented 2026-01-04 14:02:49 +01:00
judge df6d9bf03d starting with library and measurment implementation 2026-01-01 21:20:55 +01:00
judge 03f17d5cd6 initial reoder of folders and library crate creation 2025-12-29 23:22:18 +01:00