Allen Hill
2a195972a8
Add triple-press for skip back
2026-06-21 14:24:02 -07:00
Allen Hill
c8a3797b82
Tweak debug play/pause test
2026-06-20 20:32:03 -07:00
Allen Hill
d6340d41a3
Stop "playing" after 2 failed status updates
2026-06-20 20:30:52 -07:00
Allen Hill
aefd539715
Improve periodic status reporting (tune interval better, reset count when changing time)
2026-06-18 19:58:50 -07:00
Allen Hill
dd3406c056
add more static annotations
2026-06-18 19:58:50 -07:00
Allen Hill
95925b563a
Stop playing if nobody's listening
2026-06-18 19:58:50 -07:00
Allen Hill
fee74e05c8
Add headset function control
2026-06-18 19:58:50 -07:00
Allen Hill
60d39c1c2f
Correctly respond to button actions (CMD_SW state report)
2026-06-18 19:58:50 -07:00
Allen Hill
09782495ab
Improve/correct several response bodies
2026-06-18 19:58:50 -07:00
Allen Hill
c366454c8f
Fix mutebus and improve bool literal hygiene
2026-06-15 12:52:58 -07:00
Allen Hill
3d0f92c824
Shift state machine from main loop to driver file
2026-06-13 19:27:55 +00:00
Allen Hill
c0bb9c4018
Use bool consistently now that we're on C23
2026-05-15 18:28:54 -07:00
Allen Hill
83271ef0d2
Use better name for variable
2026-05-15 18:28:54 -07:00
Allen Hill
87f0ddc2d4
Rename field broadcast => is_unicast
...
Improves readability and logical flow clarity
2026-05-15 18:28:54 -07:00
Allen Hill
99ca75ce45
Fix missed REPL docs update
2026-05-15 18:28:54 -07:00
Allen Hill
e5797b598a
Fix binary msg read edge cases
2026-05-15 18:28:54 -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
1e715d1daa
Fix bad function call
2026-05-10 18:55:23 -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
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
28db9fb6b5
Refactor canned message setting
2026-05-05 11:32:57 -07:00
Allen Hill
628ec2de5f
Replace use of numeric literals with appropriate enums
2026-05-04 11:47:34 -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
9c0fcb0bcb
Fix Event being sent when cd_mode isnt stPlay
2023-10-09 19:41:51 -04:00
Allen Hill
84f426f39f
Move readkey var to sniffer
2023-10-09 19:41:06 -04:00
Allen Hill
17f5510b16
Tweak formatting rules
2023-09-17 12:16:14 -04:00
Allen Hill
1d6690a234
Fix printBinary flag
2023-09-16 16:31:08 -04:00
Allen Hill
ebb5ec95ca
Add binary printing and reading/parsing from serial
2023-09-15 18:43:41 -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
7245695bc7
Setup timing better (fuses, clock speed, TCB clock speed)
2023-09-10 16:02:06 -04:00
Allen Hill
82ab967b7c
Move incBCD to sniffer; only used there
2023-09-03 19:04:08 -04:00
Allen Hill
f13ccffa8d
Annotate cases
2023-09-03 18:17:25 -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
3e008f32eb
Tooling updates and modification suggested by clang-tidy
2023-09-03 09:49:03 -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
acd6709e73
Refactor send/receive functions to use a new AVCLAN_frame_t type
2023-08-28 21:00:52 -04:00
Allen Hill
208fe2a097
Remove unused variables
2023-08-25 18:38:25 -04:00