[FIX] firmware: Refactor BMBT Menus and resolve CDC AWOL Bug
* Refactor and condense BMBT Menus
* Remove frivolous calls to redraw the menu items
* Add timer that will preemptively supply the RAD with the CDC status to prevent CDC AWOL
* Remove static variables in favor of defines
* Resolve issue that was causing the CDC to try to set us playing, even though we were (Send action of "Start" with Status "Playing")
by
t3ddftw
6 years 8 months
[IMP] BlueBus: README Updates
by
t3ddftw
6 years 8 months
[IMP] firmware: IBus improvements to lower messages transmitted
* Use update command to refresh screen back to previous state instead of writing the entire screen back out
* Resolve bug where CDC mode would fall back to FM because the CDC would not respond to the start playing message. This was resolved by lowering the message count as the ring buffer was being overflowed.
by
t3ddftw
6 years 8 months
[IMP] firmware: Massive BMBT and BC127 fixes
* BC127 Improvements:
* Disable auto-connect and automatically select first device that we find on ignition on
* Handle Device Resets Gracefully
* Handle pairing errors by attempting to reconnect every 1.5 seconds until it succeeds.
* Disconnect from active device before entering pairing mode
* IBus Improvements:
* Correctly implement CDC emulation
* Handle Screen States on BMBT
* Watermark (Add 0x10 to the end of the text) Main Screen Area updates so we can track if we should re-draw the display
* Improve debug logging when decoding packets
* Debug Improvements
* Add "Raw" debugger which does not CRLF terminate every message
* UART Improvements:
* Remove all logging from SFRs
* Add error byte that can have different bits set to signify a FERR/PERR/OERR
* Add function to print UART errors. This must be called explicitly
* General Improvements:
* Alphabetize items in configurations.xml
by
t3ddftw
6 years 8 months
[IMP] firmware: Handler improvements
* Document timer.c
* Fire BC127 Metadata update when playback time is received since we do not always have an album to display
* Add asterisks to selected device name when selecting a BT device (CD53/BMBT)
* Request Ignition status on startup
by
t3ddftw
6 years 8 months
[IMP] firmware: Add support for new TH3122 LIN IC
* Refactor function names so they are uniform
* Refactor code surrounding IBus transmission to use STA pin status from TH3122
* Remove UART code to track RX/TX status
by
t3ddftw
6 years 8 months
[IMP] firmware: Refactor connected BT device handling
* Disallow more than a single BT connection at a time
* Automatically scan for all devices in the BC127 pairing list and use those to populate selections of devices that can be connected
* Wait until the BT connection has closed before attempting to connect to a new device
* Attempt to open any "failed" BT profiles
* Attempt to open the AVRCP/A2DP profiles if they are not active for the connected device
by
t3ddftw
6 years 8 months
[IMP] firmware: Add additional BC127 commands
* Add command to set profiles configuration
* Add command to get the paired device list
* Add functionality to request the device name for each paired device
by
t3ddftw
6 years 8 months
[IMP] firmware: Add HW/SW decoding from GT on IBus
* Decode HW/SW versions for GT via IBus
* Support MKI/MKII/MKIII/MKIV Nav messages
* Minor updates to variables to make them consistent
by
t3ddftw
6 years 8 months
[IMP] firmware: Document handler and move code to pause to main handler
* Move pause on CDC stop to main handler
* Document handler funnctions
by
t3ddftw
6 years 8 months