Commit Graph
45 Commits
Author SHA1 Message Date
judge 58b3a97d73 lib-bms-protocol expose timestamp error and enable thiserror 2026-04-18 22:34:46 +02:00
judge 2d6cfdb031 lib-bms-protocol expose U26 error and use thiserror 2026-04-18 14:39:35 +02:00
judge 2744589110 Merge branch 'feature/base-type-error-correcting' 2026-04-12 22:30:48 +02:00
judge 71bfcd4cfd Merge branch 'feature/timestamp-store-transit-u52' into feature/base-type-error-correcting 2026-04-12 22:29:59 +02:00
judge 1dba2e85f2 Add Store/Transit_DateTimeUtc wrapper type for 52-bit timestamp 2026-04-12 22:28:59 +02:00
judge b3df9fedad basetypes i26 und u26 enable clone and disable warnings 2026-04-12 22:17:57 +02:00
judge 1c0ad62b79 add chrono dependency 2026-04-12 22:15:08 +02:00
judge 739065409c Merge branch 'feature/protocol-use-transit-u26' into feature/base-type-error-correcting 2026-03-26 22:29:46 +01:00
judge bf2ad52e0f Fix Transit_I26 implementation and complete protocol conversion 2026-03-26 22:26:59 +01:00
judge 2332b507b2 Replace u32::from with .into() for idiomatic Rust 2026-03-26 22:26:57 +01:00
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 0bb359cdc6 Merge branch 'refactor-workspace-with-lib' 2026-01-04 14:03:07 +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
judge 70931c00f1 Merge branch 'i2c-slave-testing' 2025-12-29 17:05:13 +01:00
judge 51dfc7da8f use debug binary for loading symbols 2025-12-29 14:32:01 +01:00
judge a1c1e8ca9f use public fork branch in Cargo.toml instead of local dev path 2025-12-29 14:31:33 +01:00
judge d2636108b2 minimal i2c slave example 2025-12-29 14:29:33 +01:00
judge 9e95573553 fix openocd cfg 2025-12-28 13:43:32 +01:00
judge e4b62bc4b4 i2c config adjustments during testing 2025-12-28 13:43:03 +01:00
judge 334b2d94e1 enable i2c interrupts 2025-12-28 13:42:33 +01:00
judge b932379982 testing i2c slave impl 2025-08-20 19:39:51 +02:00
judge 96cfe503c6 start working on i2c slave implementation 2025-08-10 01:09:40 +02:00
judge 2e03acfa62 add ch32 peripheral access crate to dependencies 2025-07-31 21:19:41 +02:00
judge e2a00874ac fix all compiler warnings 2025-07-31 21:18:51 +02:00
judge 9ab135672b minimal working project with instruct step debugging infrastructure in place 2025-07-13 19:57:20 +02:00
judge a794dac7d4 intial emacs config for debugging via openocd 2025-06-26 18:31:44 +02:00
judge 96f3ec0449 Initial commit 2025-06-20 10:23:11 +02:00