240 Commits

Author SHA1 Message Date
Allen Hill 423fafb709 Improve error messaging/handling 2026-05-13 18:19:00 -07:00
Allen Hill 042521a744 Fix incorrect definition/initialization of caches 2026-05-13 18:17:27 -07:00
Allen Hill 551cdaa23c Reduce variable scope (global => local; reduce local var scope size) 2026-05-13 18:16:33 -07:00
Allen Hill 62f755c265 Group pointer increments for better assembly (in recent GCC) 2026-05-12 10:14:15 -07:00
Allen Hill 1e715d1daa Fix bad function call 2026-05-10 18:55:23 -07:00
Allen Hill a0071ea862 Fix incorrect address-of (and rename argument resp => out) 2026-05-10 18:53:42 -07:00
Allen Hill 746551351f store the results of tmp & 1 to avoid recalc 2026-05-10 18:52:43 -07:00
Allen Hill 8caee73765 Reorder error enums for simpler partial success check 2026-05-10 18:50:55 -07:00
Allen Hill 6b45648314 Fix memory leaks from refactor 2026-05-08 15:32:18 -07:00
Allen Hill ceea8b79a0 Cleanup flag setting cases 2026-05-08 13:20:14 -07:00
Allen Hill 4de22e01f3 Substantially refactor ~everything to separate concerns and improve flow clarity
Highlights:
- Remove all use of malloc and friends
- Refactor message handling functions to work with references
- Move core message read => triage => respond logic loop to main
  function
- Improve message triage and support follow-up messages
- Refactor hex byte parsing
- Disable periodic interrupt when not playing
2026-05-08 13:10:14 -07:00
Allen Hill bdb1a8af0d fixup readframe error logs 2026-05-06 13:59:04 -07:00
Allen Hill 18c5a28410 Fix incorrect time updating logic 2026-05-06 13:57:36 -07:00
Allen Hill c904bc2c89 Refactor AVCLAN_parseframe call signature to avoid dynamic allocs 2026-05-05 20:35:05 -07:00
Allen Hill 9b2c71fa6e Add some compiler warnings and fix revealed bugs 2026-05-05 18:17:02 -07:00
Allen Hill a37140a779 Refactor error handling in read/send frame 2026-05-05 14:37:09 -07:00
Allen Hill 67cec49a60 Combine similar sendbit functions 2026-05-05 12:32:43 -07:00
Allen Hill 28db9fb6b5 Refactor canned message setting 2026-05-05 11:32:57 -07:00
Allen Hill 9d044cd1f7 Recognize more actions 2026-05-05 11:27:34 -07:00
Allen Hill 3d67e0a2ca Refactor message handling switch tree 2026-05-05 11:27:09 -07:00
Allen Hill 6adffe1619 Convert some local macros to inline functions 2026-05-04 12:30:45 -07:00
Allen Hill 628ec2de5f Replace use of numeric literals with appropriate enums 2026-05-04 11:47:34 -07:00
Allen Hill d465bb38c7 Update pcap setup 2026-05-04 11:13:59 -07:00
Allen Hill 2d29a9a59d Add normalized brightness value to packet dissection 2025-10-10 12:02:01 -07:00
Allen Hill cbb1c1a30d Improve action/function names and tweak report responses 2025-10-08 21:26:04 -07:00
Allen Hill 6e8d9eb35f Expand Wireshark packet dissector support 2025-10-08 21:21:54 -07:00
Allen Hill 9354fa3ce6 Ignore more files 2024-10-08 13:59:55 -07:00
Allen Hill 3448224939 Remove mistakenly committed file 2024-10-08 13:59:45 -07:00
Allen Hill 448df3c5aa Add copyright year/author 2024-10-08 12:27:44 -07:00
Allen Hill b0d0703234 Update README.md 2024-08-23 12:33:05 -07:00
Allen Hill fe180c008e Add README 2024-08-23 12:27:38 -07:00
Allen Hill 977041bd67 Commit old working changes 2024-08-23 12:26:42 -07:00
Allen Hill b9382b26d7 Update Cmakelists 2024-08-23 12:25:56 -07:00
Allen Hill 8506e3bfb8 Update devcontainer 2024-08-23 12:25:21 -07:00
Allen Hill 1c1b9e961d Add circuit board and wiring harness 2024-08-23 12:21:31 -07:00
Allen Hill e857bbb09f Add Wireshark packet dissector plugin and associated tools 2024-08-23 11:02:40 -07:00
Allen Hill fadd2c4259 Refactor frame handling and response code 2023-10-28 14:41:56 -04:00
Allen Hill 18ae9a48cc Optimize binary printframe (reduce number of RS232_print calls) 2023-10-28 14:38:15 -04:00
Allen Hill 5b97eff725 Rename HU/CD_ID and change to defines (never need to change at runtime) 2023-10-28 14:36:02 -04:00
Allen Hill 326d4ced99 Boost UART speed 2023-10-28 14:31:44 -04:00
Allen Hill f80f2f1376 Remove bad send init commands function 2023-10-26 13:30:33 -04:00
Allen Hill 218b4320dd Reorder avclan functions and rename AVCLAN_SendAnswer to AVCLAN_respond 2023-10-26 13:01:36 -04:00
Allen Hill c656281275 [NFC] Update comments and move a defines 2023-10-25 14:26:09 -04:00
Allen Hill dbe8b8b877 Rename for_me to shouldACK 2023-10-25 14:13:20 -04:00
Allen Hill c4831b1b48 Remove non-functioning variable 2023-10-25 14:12:27 -04:00
Allen Hill b0b3d9f34e Add muteing functionality and avoid unnecessary work when muted 2023-10-25 14:10:42 -04:00
Allen Hill dea335af7f Remove hardcoded length in favor of const evaled sizeof 2023-10-24 17:42:38 -04:00
Allen Hill c906725a0c Move RTC PIT to avclandrv and add CD status struct and answerreq 2023-10-24 16:39:39 -04:00
Allen Hill 6d62fc4095 Remove copy of libc function 2023-10-23 14:13:53 -04:00
Allen Hill 67608e789f Fix binary printframe 2023-10-16 18:56:22 -04:00