Allen Hill
551cdaa23c
Reduce variable scope (global => local; reduce local var scope size)
2026-05-13 18:16:33 -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
c904bc2c89
Refactor AVCLAN_parseframe call signature to avoid dynamic allocs
2026-05-05 20:35:05 -07:00
Allen Hill
9d044cd1f7
Recognize more actions
2026-05-05 11:27:34 -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
cbb1c1a30d
Improve action/function names and tweak report responses
2025-10-08 21:26:04 -07:00
Allen Hill
977041bd67
Commit old working changes
2024-08-23 12:26:42 -07:00
Allen Hill
fadd2c4259
Refactor frame handling and response code
2023-10-28 14:41:56 -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
218b4320dd
Reorder avclan functions and rename AVCLAN_SendAnswer to AVCLAN_respond
2023-10-26 13:01:36 -04:00
Allen Hill
b0b3d9f34e
Add muteing functionality and avoid unnecessary work when muted
2023-10-25 14:10:42 -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
ebb5ec95ca
Add binary printing and reading/parsing from serial
2023-09-15 18:43:41 -04:00
Allen Hill
ff55d7e671
More send related bugfixes
2023-09-14 19:52:11 -04:00
Allen Hill
9fcca0a6fb
Rename INPUT_IS_SET/CLEAR to BUS_IS_IDLE
2023-09-13 21:53:53 -04:00
Allen Hill
18202c5264
Add toggleable verbose debugging messages and tweak/improve the serial interface
2023-09-12 19:21:19 -04:00
Allen Hill
82ab967b7c
Move incBCD to sniffer; only used there
2023-09-03 19:04:08 -04:00
Allen Hill
cedad9df9f
Remove unused functions
2023-09-03 18:29:13 -04:00
Allen Hill
9c024506c0
Add copyright attribution for louis frigon too
2023-09-03 18:15:50 -04:00
Allen Hill
064fc01ac6
Update LICENSE and notices in files
2023-09-03 13:43:49 -04:00
Allen Hill
b736816de0
Switch master/slave replacements to OSHWA recommended controller/peripheral
2023-09-03 13:42:12 -04:00
Allen Hill
b9bae7a65f
More reorganization [nfc]
2023-09-02 22:18:11 -04:00
Allen Hill
9581957eca
More cleanly separate specific functionality into the relevant files
2023-09-02 22:09:37 -04:00
Allen Hill
003c4c7f2f
Remove non-functional variables
2023-08-31 21:42:45 -04:00
Allen Hill
acd6709e73
Refactor send/receive functions to use a new AVCLAN_frame_t type
2023-08-28 21:00:52 -04:00
Allen Hill
408f648f77
Replace a bunch of defines with an enum
2023-08-23 18:52:09 -04:00
Allen Hill
8a7184a620
Change split 12bit variables to single uint16_t vars
2023-08-23 17:23:53 -04:00
Allen Hill
553dadfdd0
Move source files into src dir
2023-08-21 19:59:06 -04:00