Repository navigation
MegaOpen v1.10.0-rc2
Pre-release
Pre-release
·
7 commits
to master
since this release
MegaOpen Companion over Bluetooth, and now playing from the head unit's apps with the cover.
Added
- MegaOpen Companion over Bluetooth. The app reaches the board over BLE as it does over USB: one GATT service (
4d4f0100-…) carries the same frames (the settings page, the alerts, the board's internet). It runs in every Bluetooth mode but «Вимкнено»; the new mode «Лише апка на ГУ» (bleModeapp) is the link alone. The first write bonds (an encrypted link only). WiFi is not touched by it: the log push and the GitHub update go through the app over BLE only when the board's WiFi is offline (the head unit's hotspot gone to 5 GHz). docs/design/usb-link.md «Over Bluetooth LE». In the app: «Підключення» Авто (USB → Bluetooth → WiFi) / only one, the board picker, the next retry on screen. - Now playing from the head unit's apps. Companion reads the playing media session on the head unit (Spotify, YouTube Music, a radio app, DUDU's player when it publishes one) and posts it (
POST /api/app/media,POST /api/app/art): title, artist, album, the player's name, play state and position, and the cover as a 48×48 one-bit picture. «Джерело треку» has «апка на ГУ»; «авто» takes the app first while it plays, then the head unit's own text, then the iPhone. The pane's new scene «обкладинка» shows the cover (the Media scene until there is one); the glass preview on «Екран» shows it too. Host testtest_appmedia. docs/design/companion-media.md. /api/healthchainapp(app_usb,app_ble,app_none,app_none_ble_off, withmediaPosts,mediaAgoMs) and its row «Апка на ГУ» on «Огляд»;/api/statuslinkViaandblebesideusb; log tag[link].
Changed
- The link's code is one session over two transports:
src/link/LinkSession.*(HELLO, the channels to httpd, the events, the app's internet),UsbPipe.*,BlePipe.*, served by one taskapplink(wasusblink) inAppLink.*;UsbLink.*is gone. The frame buffers moved from DRAM to PSRAM: 3.5 kB less static DRAM than 1.9.0. /api/statususb: the session counters as before, plusupandlastRxAgoMs.
Fixed
- «Перевірити» and «Встановити» (GitHub update) refused with
fw_apwhenever the board's WiFi was not connected, even with the app on the link offering its internet: now any way out counts (WiFi, or Companion over USB or Bluetooth). Its words say so.
Built from dfeee4f with AffaDisplay@6183b2e.
First flash over USB: esptool.py write_flash 0x0 megaopen-<env>-1.10.0-factory.bin.
Later updates: megaopen-<env>-1.10.0.bin from the board's /update page.
The head unit's app: install megaopen-companion-1.10.0.apk (Android 7+, no root).