diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5d9947b..056dabc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,26 @@
This history records implemented changes for each release.
Release dates are added when a version is published; older versions are not reconstructed from incomplete notes.
+## Version 3.0.0 - ClioPlay Link Ecosystem, All-Legs Multi-Stop CH & Zero-Menu Optical QR Sync
+
+Major ecosystem release unifying **ClioPlay** on Carminat TomTom with the redesigned **ClioPlay Link** companion web app — **100% compatible with existing `2.1.8–2.2.8` maps (`CPM5`, `CPR2 v5`, `QAD7`, `CPC1`)** and saved user data (`faves.dat`, `recent.dat`, `trip.dat`, `prefs.ini`, `mobility.dat`, `mobility-ml.dat` — zero map rebuilds required):
+
+- **Bidirectional `CLP3` Bluetooth Link (`clioa2dp.c`, `clio040.c`, `hud.h`, `audio_chime.h`):**
+ - **Instant AVRCP `ACK`/`NACK` confirmation (~0.3 s per packet):** `clioa2dp` parses `CLP3` frames (`N`, `S`, `T`, `F`, `P`, `C`, `Q`, `H`) alongside legacy `CLP2` packets, polls `/tmp/clnav_ack` at 20 ms, replies over AVRCP (`0x4b NEXT` = `ACK`, `0x4c PREV` = `NACK`, with cached retry), and validates map coverage so out-of-map sends report immediately on the phone.
+ - **Atomic multi-stop trip staging (`CLP3:T`), 2-way favourites sync (`CLP3:F`), 12-byte `prefs.ini` sync (`CLP3:P`), remote Cancel/Skip/Clock (`CLP3:C`) and silent Link Ping (`CLP3:H`):** with a proportional capsule progress bar in the top HUD during multi-stop receipt, pre-GPS phone clock fallback, cold-GPS `"Queued - waiting for GPS"` handling, and non-disruptive incoming-route handoff (`OK: Add stop / BACK: Undo` for 6.5 s).
+ - **Smart Music Resume & warm navigation chimes (`audio_chime.h`):** resumes Bluetooth music automatically if real media was playing prior to a `CLP3` burst; adds `Navigation chimes` (`Off` / `Link only` / `All cues`) in **Settings → Navigation** with distinct ascending link (`kind=3`), subtle turn (`kind=4`), and resolving 3-note arrival (`kind=5`) chimes.
+- **All-Legs Multi-Stop CH Planner & `Z7–Z9` Turn Chevrons (`trip_plan.h`, `map_raster.h`, `road_layout.h`, `clio040.c`, `menu_sheet.h`):**
+ - **All-legs cooperative CH calculation (`trip_plan.h`):** after Leg 0 reaches `R_READY`, cooperatively solves all future legs (`k = active_idx+1 .. count-1`) reusing the idle CH search arena (zero extra CH RAM, ~64.5 KB polyline pool) with Atlas cross-region fallback, smart partial invalidation on off-route recalculation, and in-place pool compaction on stop advance.
+ - **Dual-tone route overlay & `Z7–Z9` on-carriageway turn chevrons:** draws active Leg 0 in signature magenta (`C_ROUTE`) and future legs in soft lavender (`C_ROUTE_FUTURE`), plus a perspective-scaled white directional chevron directly on the wide carriageway within 380 m of upcoming turns at `Z7–Z9`.
+ - **Next + Total multi-stop ETAs:** keeps the driving HUD pill focused on the **Next stop**, while **Menu → Trip** shows both **Next** and **Total** journey ETA/distance plus individual per-stop arrival times.
+ - **ARMv4T hot-path optimisation (`road_layout.h`):** replaced 64-bit divisions in `road_smoothstep_q8`, `road_solve_transitions`, `road_draw_taper_span` and `road_draw_poly_pass` with 32-bit `Q12` integer ratios and added `render_checkpoint()` yields.
+- **Zero-Menu Optical QR Sync & `mobility.h` Exporter (`qr_encode.h`, `qr_sync.h`, `menu_sheet.h`, `overlay_frames.h`):**
+ - **Freestanding ISO/IEC 18004 QR encoder (`qr_encode.h`, Versions 1–8, ECC L):** pure integer C, zero heap, verified against Apple CoreImage (`CIDetectorTypeQRCode`) and offline pure-JS decoding.
+ - **Floating frosted-glass map QR pill (`CLP3:Q:S/A/D`):** tapping **Sync from Car** in ClioPlay Link pops up a sleek compact QR pill on the map screen streaming a CRC-protected binary bundle (car identity, map coverage bbox, 12-byte `prefs.ini`, favourites, active trip with real multi-leg ETAs, recents, and opt-in `mobility.h`/`mobility_ml.h` Driving Insights) via closed-loop BT-ACK stepped frames (with auto-cycle fallback), flashing `Synced ✓` and auto-closing back to the map.
+ - **Built-in Connect QR (`P_PAIR` & connected `P_PHONE_ACTIONS`):** zero extra menus — `Pair new phone` stays open after Bluetooth connect with `Connected ✓`, a focused `Done` button, and a crisp Connect QR card, auto-closing once ClioPlay Link sends its initial Ping.
+- **All 18 Languages & Verification:**
+ - Updated all 18 interface locales (`ui.json` + 15 language JSON files) and `ui_translations.h`; added UBSan host test suites `src/tests/clp3-link.c`, `src/tests/trip-multileg.c`, and `src/tests/qr-sync.c` into `src/tools/verify_ci.py`.
+
## Version 2.2.8 - Cartographic road overhaul & reliability fixes
Software-only map rendering overhaul plus close-zoom tracking and early-shutdown fixes — **100% compatible with existing `2.1.8–2.2.7` maps (`CPM5`, `CPR2 v5`, `QAD7`, `CPC1`)** and saved user data (no map rebuild required):
diff --git a/README.md b/README.md
index 4cd174c..f5e64cb 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,22 @@
-
ClioPlay 2.2.8
+ClioPlay 3.0.0
Offline navigation and Bluetooth audio for the original Carminat TomTom screen.
Created and maintained by Pawel (pxwel-dev).
-Download latest release · Fresh install · Update existing installation · Send a destination from your phone
+Download latest release · Fresh install · Update existing installation · ClioPlay Link companion app
-## Version 2.2.8
+## Version 3.0.0
-Version **2.2.8** is a software-only cartographic road overhaul plus close-zoom tracking and early-shutdown reliability release (**100% compatible with existing `2.1.8–2.2.7` maps** and saved user data; no map rebuild required):
+Version **3.0.0** unifies ClioPlay on Carminat TomTom with the redesigned **ClioPlay Link** companion web app while keeping **100% compatibility with existing `2.1.8–2.2.8` maps (`CPM5`, `CPR2 v5`, `QAD7`, `CPC1`)** and saved user data (no map rebuild required):
-- **Cartographic road rendering across all zooms (`Z0–Z9`):** Continuous sub-pixel (`Q4`) carriageway widths scaling proportionally up to `Z9`, true tapered capsules for 3D perspective driving view, zero-blob Day & Night kerb casings, elevated motorway flyovers, and scaled cased route overlays.
-- **Non-overlapping priority road expansion & seamless end-to-end transitions:** When roads run closely alongside one another, main carriageways expand first without encroaching on parallel neighbours, dual carriageways preserve crisp central reservations, and adjacent minor/service roads expand **outwards** on their open side so every road stays wide and visually distinct — while wide main roads joining narrower roads end-to-end glide smoothly down in both width and colour via a tangent-continuous S-curve funnel with zero abrupt step or bulbous end-cap.
-- **Stable, road-anchored street names:** Active road labels lock to a fixed world coordinate on the road with competition hysteresis, re-entry debounce, orientation/side deadbands and Schmitt-trigger spacing margins so street names glide calmly with the tarmac instead of flickering between competing roads or jumping along the same street while driving.
-- **Accurate close-zoom (`Z7–Z9`) junction positioning:** Paired proportional street widths with `Q4` track smoothing, bounded 1 Hz inter-fix dead-reckoning and post-stop settling so stopping at junctions converges cleanly onto the stop line instead of lagging behind.
-- **Reliable early ignition-off shutdown:** Cooperative `/tmp/clshutdown` signalling and hardware-init locks across `ttn`, `btstart.sh`, `clio040` and `clioa2dp` abort pending background startup cleanly when the ignition is turned off immediately after boot (such as during `"Acquiring GPS"`).
+- **Instant bidirectional `CLP3` Bluetooth Link:** ~0.3 s confirmed destination, atomic multi-stop trip, favourites, 18-field car settings (`prefs.ini`), remote Cancel/Skip and Clock/TZ sync over AVRCP `ACK`/`NACK`, with automatic Smart Music Resume, warm Link/Turn/Arrival navigation chimes, non-disruptive incoming route handoff (`OK: Add stop / BACK: Undo`), and automatic fallback for legacy `CLP2` senders.
+- **All-legs multi-stop CH routing & `Z7–Z9` on-road turn chevrons:** Cooperatively calculates every remaining leg of a multi-stop itinerary reusing the idle CH search arena, rendering active Leg 0 in magenta and future legs in soft lavender, with **Next + Total** ETAs in **Trip** and crisp perspective-scaled white directional chevrons on the carriageway at `Z7–Z9`.
+- **Zero-menu optical QR sync & Driving Insights:** Tapping **Sync from Car** in ClioPlay Link pops up a floating frosted-glass QR pill on ClioPlay's map screen to transfer favourites, active trip, recents, car settings, map coverage and opt-in `mobility.h` Driving Insights in ~2 seconds via closed-loop BT-ACK stepping — plus built-in Connect QRs right inside **Bluetooth → Pair new phone** and connected phone cards.
+- **18 languages & ARMv4T polish:** Complete 18-language parity across both ClioPlay and ClioPlay Link (including RTL Arabic and Hebrew) and 32-bit `Q12` road-layout hot-path optimisation.
See [CHANGELOG.md](CHANGELOG.md) for all prior releases, [intelligent navigation](src/docs/intelligent-navigation.md) for local ML behaviour and privacy, and the [zoom & controls guide](src/README.md#auto-zoom-and-close-up-street-names).
@@ -25,6 +24,14 @@ See [CHANGELOG.md](CHANGELOG.md) for all prior releases, [intelligent navigation
All previews below are captured from ClioPlay's native `480 × 272` renderer across real offline UK map regions (**Central London**, **Liverpool**, **Leeds**, **Edinburgh**, **Newcastle** and **Manchester**). See the [preview notes and full capture index](src/docs/demo/README.md) for methodology and regression archives.
+| Multi-leg future routing & on-road turn chevrons | Zero-menu optical QR sync & built-in Connect QR |
+| --- | --- |
+|  |  |
+
+| Bidirectional CLP3 sync ([ClioPlay Link](https://pxwel-dev.github.io/ClioPlay-Send/)) | Bluetooth A2DP phone audio & playback controls |
+| --- | --- |
+|
|
|
+
| Offline traffic diversions & Explore preview | Learned usual routes & calibrated ETA ranges |
| --- | --- |
|  |  |
@@ -37,10 +44,6 @@ All previews below are captured from ClioPlay's native `480 × 272` renderer acr
| --- | --- |
|  |  |
-| Send destinations over Bluetooth ([ClioPlay Send](https://pxwel-dev.github.io/ClioPlay-Send/)) | Bluetooth A2DP phone audio & playback controls |
-| --- | --- |
-|
|
|
-
| Offline camera warnings, map badges & overspeed alerts | Live expandable GPS telemetry HUD |
| --- | --- |
|  |  |
@@ -68,7 +71,7 @@ Focus temperature readings take priority when valid. See the
[console setup and controls](src/README.md#physical-console-and-temperature-sources).
The hardware protocol was contributed from a tested Scénic 3.
-ClioPlay automatically discovers Bluetooth hardware on the Carminat; for Bluetooth, the Carminat must have: (`hw_bluetooth=1`). If no Bluetooth hardware is discovered, ClioPlay hides all Bluetooth-related UI features (Bluetooth audio and sending destinations by phone via ClioPlay Send).
+ClioPlay automatically discovers Bluetooth hardware on the Carminat; for Bluetooth, the Carminat must have: (`hw_bluetooth=1`). If no Bluetooth hardware is discovered, ClioPlay hides all Bluetooth-related UI features (Bluetooth audio and bidirectional phone sync via ClioPlay Link).
ClioPlay handles the audio source as follows:
@@ -94,7 +97,7 @@ BT CTRL also requires a connected phone. Unavailable radio/volume readings stay
- Day/Night themes with custom daily switch times in Auto, automatic units and time zones, and 18 interface languages.
- Mapped speed limits and camera alerts where the bundled country policy allows them.
-For new stops/destinations, enter **Coordinates** on the head unit, choose **Next** on the keypad to validate both fields and proceed to naming, or use the separate [ClioPlay Send website](https://pxwel-dev.github.io/ClioPlay-Send/) to send the new route to ClioPlay from your phone via Bluetooth. For ease of use, add the website to your Home Screen as a web app.
+For new stops/destinations, enter **Coordinates** on the head unit, choose **Next** on the keypad to validate both fields and proceed to naming, or use the [ClioPlay Link companion web app](https://pxwel-dev.github.io/ClioPlay-Send/) to send destinations, multi-stop trips, saved places and car settings over Bluetooth (and sync back from ClioPlay via optical QR). For ease of use, add the web app to your Home Screen.
## Install
@@ -206,4 +209,4 @@ Original ClioPlay development includes:
Third-party software and dependencies retain their respective licences and attribution notices, as documented in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
-Release files refreshed 27 November 2026 (Europe/London).
+Release files refreshed 28 November 2026 (Europe/London).
diff --git a/SHA256SUMS b/SHA256SUMS
index 01c9a45..0b5f76c 100644
--- a/SHA256SUMS
+++ b/SHA256SUMS
@@ -5,12 +5,12 @@
5992aa9a07f51fdafe6a43425c82d600db23f7f95d441b71ea885b44d6280297 .github/pull_request_template.md
9ae9a27ec7297e955286758dc79321264ac1ce0dcc7cf6f4842df5bd12e47de4 .github/workflows/verify.yml
59be7b2df6a1a3609d4d6ad64662e0674f79c50b9b46eaac038ff15b77d7fbf0 .gitignore
-3423c3dd3a3cda0691a09d1573401a49a48d2ebba639cdfb04cde4d56ed73e83 CHANGELOG.md
+c0190cf6f0c873f400c4d0a2bfa256cfd81ff7562fbbfd4cee2497fd4ee84cd6 CHANGELOG.md
409123367334ae5aeaed5fe4cdc29020a6178599b876f20ac39c255662e5ba4f CONTRIBUTING.md
b504a77b6d13c036d2e027a9759f06fa8a30c677144f1ee286f56953d2020fa6 Install.cmd
5a3df10333b2db1c445eccf5c2875f9d1051c90b9b86ffacc4da1b1e4d1e3d9a Install.command
b04ac8d0e455fe1b4c2f8b0e42531cd7b67add31f3b06c05d58e600feda6f464 LICENSE
-0d86a5339ae9f2a874eb589096cf3dcd89cda14f7f03d1417bb3f11efd2982a8 README.md
+15f57de0394965923e8a8720f4097cc286abd2be3e72cba8bd4e25b2a34dccc5 README.md
a0ea6ad82b7f3db1a7699b442f766063fb1def68d991f27f2074fafd17963cef SOURCE_STATUS.md
b2c9845c83575f1fd185ef796cf8ae020168118fb2aef3d01ddd7362fbd631d9 THIRD_PARTY_NOTICES.md
a15064ed84d76e09513578ab053f5be041c0cbd4ef0961eba01e3dd4498b6645 WINDOWS.md
@@ -21,25 +21,25 @@ a15064ed84d76e09513578ab053f5be041c0cbd4ef0961eba01e3dd4498b6645 WINDOWS.md
b04ac8d0e455fe1b4c2f8b0e42531cd7b67add31f3b06c05d58e600feda6f464 src/LICENSE
54c485dcffbc4a6991de24bd868ac2031b8606c613495c5c3e6178898d2da314 src/README.md
b2c9845c83575f1fd185ef796cf8ae020168118fb2aef3d01ddd7362fbd631d9 src/THIRD_PARTY_NOTICES.md
-e235ebff02cdd23487d80fb82d07b8f746bd465f64c7ce9dc9979224481eb8eb src/VERSION
-eeb823e2486a0da11d8dca6be834d03ceacd342cbbd24ac070cf40b95ee27bb5 src/bootstrap-SHA256.json
-1b7a87aa460b4170716a1e573ad264aba9f3336fee447704e9420006a75ee7ff src/build-reports/clio040.build.json
-aa8f81dcd29f8781c3e44ad64045da19cd9ae8d94429d1100c377f2d506cc6e2 src/build-reports/clioa2dp.build.json
-933bf61503785639bf368a0d1d7e361623e7a69332f2a55c9b8151a440c23261 src/build-reports/cliospl.build.json
-6d5b363f2dca57b9d07d10da61455f307bb202c95cd59ab711ed7f8a75f83174 src/card-template/clio843/btstart.sh
+2985be8b28d3ade858e8d8fb4bc22f565b1bf6020dff982dce141f7721b9999c src/VERSION
+0fdfd7d58a64613b2e1ccac585f340ea602f8f8b37d6d5c2ca9264a5cb24d447 src/bootstrap-SHA256.json
+355e1b7816fd964d43015360955c1b2284772618dfea94f5eb454f36b10e08a1 src/build-reports/clio040.build.json
+fb738b985a96e611e0d84ed6ae3df20464985ed59d4762051e64b9594bbac294 src/build-reports/clioa2dp.build.json
+df1339f00d52c33313351dd56d662aca303a09b780fe949784e6fd72a41f277d src/build-reports/cliospl.build.json
+b9f27b12fc3530f33a4d0d47fefe43edcf2e816274af900756362a768f2670c4 src/card-template/clio843/btstart.sh
31145f8bebc5a35503bda94ee071b7ad1bf7b62727ed84c6887eba1600da1300 src/card-template/clio843/focusd
6830044438d40b781ddcc49853d14e3291b6b70eda82176596209ce908c0e53d src/card-template/clio843/hidd
a022c49ef39f0976e3faf92b43ad54a7d8a20758c72f71304388f233eb5fb299 src/card-template/clio843/prefs.ini
e04c3ec7b4d3ad2b16a3c512d68e450aab95cfd348fd693dcb61e3d871fa520c src/card-template/cswmap.example.ini
-6e0e29369221829cd6e4f1f146c8cd1bf21c6105449bda7d29b89028073c306a src/card-template/ttn
-f144fa36170e6d14ee7d22b7d16e713a8beda29c30ba6ddddc6e4959e27b7078 src/clio843/clio040
-a7bfc2483ad21a7d18b4dc90593905e5474c29b1e07d85bd4da4acf7a76f081e src/clio843/clioa2dp
-c72094ea20df54dd1b1279769d68ec1a9f4ce1998477e8ccb30f854711aa5318 src/clio843/cliospl
+0fbad1b0c418b102e5ab8fd14ed6281638813b98f26bc3ef54356922f93743be src/card-template/ttn
+9d35b8dcd7d7913abf46214d7d90d60b9d2941059017d360b4afd831c0577235 src/clio843/clio040
+bb3e400c7bb1528e7237992ac1ccd480a44077111fc67feaf37d6208e8e98710 src/clio843/clioa2dp
+588c8cabcb30b6ed0e9a6857d78ff2eaaf4c2f1a3cc8afc60cc1ef3b44e55f2e src/clio843/cliospl
f45a6b3a6d6c539e0e83556a49049bb2ee4df7a04f17f9a43dfee3a3e8760ea1 src/clio843/font.bin
d29e9228583e93e3007b37d42554b916ebef5c9c00c91db71310cd89eaf28bb8 src/clio843/src/arm_runtime.h
7c1c5599a121e702a0fe7ac89fc957e07086e27f20aaf1511971d197de3a39a0 src/clio843/src/atlas_catalog.h
-2c2130e992435277157a46ce985554797269ef605393580fe3748cd0ed7bf514 src/clio843/src/atlas_router.h
-31d9a5707c6fc561bd17f1df48ac89b8aee5a83e2a6beee6c47196a0ef52f0a7 src/clio843/src/audio_chime.h
+16f26644f44ffb95f4a6681d4922a15b0522b69f6651ccec8d5581964c3abfab src/clio843/src/atlas_router.h
+05059a11671957e575fd6d623a66eccbc130237980145a539f55e34d95d41fc8 src/clio843/src/audio_chime.h
25e0f01cd52eb89d447c5ecdf34f57bebeef36135c2912eaa3d49ec1ee7f13e1 src/clio843/src/audio_playback.h
bf37e189f7a0f372567287380820a357878fc1aaf519f85309224cd0d5ae85a6 src/clio843/src/audio_schedule.h
367249c4bf35acfa7ce5092dce4a906c566d5e9e818d1bbd3d65c35ba128dbeb src/clio843/src/boot_art.h
@@ -47,14 +47,14 @@ bf37e189f7a0f372567287380820a357878fc1aaf519f85309224cd0d5ae85a6 src/clio843/sr
fa46f1bda9c0f37306c90f34d497192953aa718b30fa688291bbc7a66ddab746 src/clio843/src/boot_theme.h
8ea391927a52cf8eaa9f010a70b8f8e012b768346ca9cd297110e40e6a850007 src/clio843/src/boot_transition.h
19a560ac05e8e769659da5d7ba3c138ca600bf057c21664e9da31a03d9f5ac2c src/clio843/src/camera_icons.h
-f79e1919e2ee76c3036f34b15b6210d50ba186c6b8dc63f5c6370ba4630f238a src/clio843/src/clio040.c
-1c4eea7def1c67b56af086f8c49c1e943bf3eb3ec59f1b6254d3fa1e599423d2 src/clio843/src/clioa2dp.c
+a0122941df81bb56aca43cc8516b4b5698b937de4edad38511c513bbe04f02fc src/clio843/src/clio040.c
+0b24bd0f33e83ad62c1605eb3380d1200260a3e96a38a6ebbde97e2809e532a2 src/clio843/src/clioa2dp.c
523530da194e4a859de29b448926f347d70c6c6c243d08d9b048fb68e08e3d33 src/clio843/src/cliospl.c
303c229e4c186fab01b092a770a434fca622047b792515df940ddec1983109ef src/clio843/src/coordinates.h
707aa0a1fdcd8048d2fa252a14ce32176fae347d512e11869f2905a69380530c src/clio843/src/cswd.c
840171782ef5b622da6746457e771303adc469fb13d43df4642efeea765fd0b8 src/clio843/src/explore_frames.h
0989a1e455dd2a047dfea49d3e4d2a66a30b178960b80a2c31603ee80ffc4ffc src/clio843/src/font_atlas.h
-ee6afde74d143203873f91fb853816ec52845a7f063f59eedc908c4d281d2087 src/clio843/src/frame_renderer.h
+1245a7a18894aaac685ad6efe12e9f427cded6e2f524e0d4e9516366c5797d89 src/clio843/src/frame_renderer.h
1a564fd03b4d72aa20eab4fbaff200ea40458efc0d6d38bd83b73546c7588bbb src/clio843/src/frame_schedule.h
3fc1b2aab42a5c72905f4be5a72e0f022a1190d7ca8a910903bb8dadb32ecb52 src/clio843/src/global_cameras.h
5fbcf43cb8aceb59e87d6f8118d121ce5798eec064c0ed5a7586a2eb25de8512 src/clio843/src/global_clock.h
@@ -62,7 +62,7 @@ ee6afde74d143203873f91fb853816ec52845a7f063f59eedc908c4d281d2087 src/clio843/sr
fcc87baf5b5a8073e1043c6a82f4021299f8757b32a8897966f1ed7f8c19cc4f src/clio843/src/global_text.cc
afb6807676750c41030d6e6723b933c538774e622881251056c8091a00b48695 src/clio843/src/global_text.h
31e8561c3c3087a9e8970faad199049b021d3800d138ae4c386d303b763166f0 src/clio843/src/gps_panel.h
-82745aa23e62a1fc7d52686b94b473154f14fee9f36c6c8c7513563c85e1aeba src/clio843/src/hud.h
+b69455c0867b303fdc386a7ff740137115c12c2ff3e5439d5860436dadeac6c2 src/clio843/src/hud.h
e34158dabf25b53ec7e5aa55945305dc69e85001108a7f506fd83f00a1a25f23 src/clio843/src/hud_glass.h
a2757e57a552bf1e03a30b7b62b60bf2ade02cf62ddf565531d2eb753f86f881 src/clio843/src/hud_playback.h
91f9d2cc57aeae72deebee57974292a8c3033631b4cd11b83d57fdececbaeaed src/clio843/src/hud_status.h
@@ -73,18 +73,20 @@ e7a93b009565cfce55919a381437ac4db883e9da2126fa28b91d12732bc53d96 src/clio843/sr
25230af0cc85c9f9efe285151fc9633cd7bdcff3769351797e47a3f6d271dd14 src/clio843/src/keyboard-data/pinyin.json
f3237bf2ace7761c42968234f93ada0f25ea906498e8afa5437b83f127fe5649 src/clio843/src/keyboard.h
eaf9a30204c7b146bf83ea6ea6f2f4a9c25486dcbf69bc366824888426668cca src/clio843/src/last_fix.h
-f309ddc10637873a3e5ca63fad1afee8a434f387951ef37ac8b5e4d12536958e src/clio843/src/map_raster.h
+ec120f66b752609590cd0d854d81932382255da7292db04a15997ad3bb3e545d src/clio843/src/map_raster.h
d4632a1dd789176be35ded06a21b84d272d69910532f31e05dc03fbfc092e5fb src/clio843/src/map_thin_coverage.h
394310c060e073c651cbc61a64c69d5ba61cfd4072e43277f70c40b8344e77f9 src/clio843/src/menu_keyboard.h
c413f261277151f8bd9be15f08cc896a41fc186619ec607501c1a18a463bd23e src/clio843/src/menu_layout.h
-e2068ba47e7e7dd4ad49d6c2b40eae7dcfe7fd5477b8338d9217709bde5428eb src/clio843/src/menu_sheet.h
+de39684b25842d612ed13d386e70de035124f7b7f1c069d9bcc6e87f840f191c src/clio843/src/menu_sheet.h
1d273f5222008c317917874383a259480e0495aa28a4e7e9485b88b9c1129a2a src/clio843/src/mobility.h
beb1d1932b992f275ae343cfad1fa2b3c507f29e80b50d2981d8d0666aa01429 src/clio843/src/mobility_ml.h
470390303a8f18184a020710012ea0353d0425c26a1381bbaa4064ca2d7f39be src/clio843/src/nav_roundabout.h
10ef610b741b7f7a49810350875f827068c8115330549ff5da5e74690a0e8038 src/clio843/src/nearby_pois.h
-b1b6e79491dad7a2a62004f999793bccfef7bb6580b3a877777c284f4537557c src/clio843/src/overlay_frames.h
+fa2bed7bba3b83f15b33bab9b7acd498965a7072453279c98175c538c8827a96 src/clio843/src/overlay_frames.h
4d9ae8f57e3fdf141dc21ad2e06ba9d90c7c5e4058b584fa47d614fdc265b4c8 src/clio843/src/poi_icons.h
b16c75163580e2fbbe17a9359bc473d368a57c3c8c2347b5d5f56ce73295f61d src/clio843/src/popups.h
+978a2d4bd23c9059d8814e201226e8433700dd4586196b8269fb6fae78aa3841 src/clio843/src/qr_encode.h
+a55d8bfb5e36d8689c5918bd0e3abcf3d763e9b164bd4f74bb74eb1bcd532bf0 src/clio843/src/qr_sync.h
f7233dee4174fb0302c994f1cc4c4341ab1c83c1ae20ad66d122963438537900 src/clio843/src/recovered/README.md
b7c4b72a05922aec8994a585a6a504ac8e5a09809fd99c5062340ef667796b2a src/clio843/src/recovered/focusd/assembly.txt
3953dd8a81db0e66d61f1c478e9cbfb1beb955eac1e428a459a67d5f9c9c3591 src/clio843/src/recovered/focusd/coverage.json
@@ -92,13 +94,14 @@ b7c4b72a05922aec8994a585a6a504ac8e5a09809fd99c5062340ef667796b2a src/clio843/sr
cf0e86b66c363bcaf1ef9f547b9a5eeaafc079bf5020ccb165cded983a8294c4 src/clio843/src/recovered/focusd/initialized-data.h
cfac1159c0c34e8ac521d0e35a793779c81c196041a61ae27ac96d0d4d68f41a src/clio843/src/recovered/focusd/procedure-index.json
67ad061d49251f85c1baed92674d8c4e7b9b5f35c50394a08c895b07c7879369 src/clio843/src/recovered/focusd.ghidra.c
-f2affbc9bc676b9e4584baef3d94a401e2416d668c95207601fef9e7f9837481 src/clio843/src/release_version.h
-ca48845434ccc9e1e8fce974733a0d08a61abdfe8598cd73b9b68128aa9d392e src/clio843/src/road_layout.h
+67b19ffec050bac87ef8e800a0324dd721fbd73d8351b5e64af5fea1253e2ab9 src/clio843/src/release_version.h
+a80fe8f1a22c65331ef0b2ded1473b080145a938f7cabbd655ce0f5f1c016935 src/clio843/src/road_layout.h
557ced1d687e781032ccc5356b6c1f360f67aa2b4084ea8f1105ef1b32abe283 src/clio843/src/speed_estimates.h
1c0cb3bf3be97ce49cdf626bc0184b0736b49fee877a92f5bf2e5cb2d0ec17eb src/clio843/src/splash_icon.h
b1927acad9ddb72ba2ef205c23ef8743f278d533ceeac9e633dd608b31ddc20a src/clio843/src/traffic.h
+8725d4932d941c06547afb5bba5c432f1a64ae6170bb5448c410d49a85dc4662 src/clio843/src/trip_plan.h
50767eb3a56c5192daabb07944b255b34d4e77b1db48b14a30a6914871420284 src/clio843/src/ui_raster.h
-2e534c8b09ad27caeef17a395f568610fb2fcac8273b20cc13286caddf1a2350 src/clio843/src/ui_translations.h
+15c349e3469e89e15c2abaacac591e41d3d527c276237d9a7a39c2d5bd140ab7 src/clio843/src/ui_translations.h
43a20e8dde712fbdb5e087062ad68d3ae5aec704c1ab864dec9c57a99fd54b77 src/clio843/src/unicode_support.c
a719a3d065f16bc39727b01d7ed73f412beeb4d8703b5bde73a8c6ff1c35ac10 src/clio843/src/urban_speed_defaults.h
e6e172fb98b7f4c9e958322d13296190fd003025562c05146bcc9a3d50af8b7c src/clio843/src/utf8.h
@@ -1063,47 +1066,49 @@ e5cc2a6310e0b504f518568b48e95ef2616026bd17ec035f7c774de99cd7f325 src/clio843/sr
348774283d029f4afa64b95ba9fe04240d754587b483a8bcc345e1d6e78c6261 src/clio843/src/vendor/sheenbidi/Source/UBA/StatusStack.h
a359d214853cdd511fb79e905fafc52f5413b635bb3288b268d04c15724a666f src/clio843/src/vstatd.c
d5432be02ce0ec0867b6db310f31f41b3a448d5002496f45c1bcdc713b4284ed src/docs/camera-support.md
-3423c3dd3a3cda0691a09d1573401a49a48d2ebba639cdfb04cde4d56ed73e83 src/docs/changelog.md
-b6dfe14240ce7cb2369be571ac159c2fb4200779fe65d51db0c4aeff28e63f3e src/docs/demo/README.md
-9804b3aeebcdb8dd61196a894ea4be9619c9a03b0013dcd452373af46b553a5d src/docs/demo/add-stop.gif
-6e8204f7583810f301f1fd030812913f114aefbdb1b031663f1786d63aacb8b2 src/docs/demo/bluetooth.gif
-6efb5a459f759a444372c427bc349bb878fa80ae00ee242969827e47a28650d7 src/docs/demo/boot-day.gif
-b9354b7e44b6a2cd741a4107881408058547bbc794c87be736d8bcdf6af1d576 src/docs/demo/boot-night.gif
-c1b433f72a7776990be9a3e01658bc047533c517efd6e1df81eab58e2e71bfb6 src/docs/demo/coordinate-route.gif
+c0190cf6f0c873f400c4d0a2bfa256cfd81ff7562fbbfd4cee2497fd4ee84cd6 src/docs/changelog.md
+e68a2ac0efca22366bc3714da580b5ffafceab6f5f8dd42fe37ac41ffee018f2 src/docs/demo/README.md
+767d859c5f42af3e5de70e6f363aa4119e53614c19ab826e6aa6423ab4586f90 src/docs/demo/add-stop.gif
+5d9aa339e013ab6eca614366ee445940de8486d0387f3be3db51a7cb343f6920 src/docs/demo/bluetooth.gif
+4229159de271967c564a15474dadcc48752466aa8dacdb5fda696ea358fbd47d src/docs/demo/boot-day.gif
+ab6bb3837e5bb631ab15cfcee2212883c71075590818083353ef0bb22efe3e2c src/docs/demo/boot-night.gif
+e1b4b3b92a77c9e2ba88cfd5b3bc24e0513f59ddfa8bdea7aede97f42a504587 src/docs/demo/coordinate-route.gif
2c4365d3b0b1a79f9736ea71ea8ec78c5ca8a375d8e87a950c16ccd4070250f3 src/docs/demo/coordinates.gif
-9d2d38393ae390da84ae06b21e4076ed14be2274723af7f436f2708905436ccb src/docs/demo/driving.gif
-4aec0207d7bdebe97a2fe5fdab51324542722279febf9f9225cc6cf66c719ab4 src/docs/demo/manifest.json
-1c36e555ce1354214ff6356b25126544b88f5f57e43c74db34d97ae8b0a27ba0 src/docs/demo/map-browsing.gif
+1a6818b0bc369819eda4424ea051fefd65079daa84ed1ce61fdaf8f54c11b5cf src/docs/demo/driving.gif
+6d93e8b688f41ce371c42e1b7059515e6561a72194d6dc0b00d2bcca3b4805ff src/docs/demo/manifest.json
+7e34108eb6cace19ead090e9729c7e742b752bb5c10cc0b26a4928e07d6fef34 src/docs/demo/map-browsing.gif
3c47d6ce4b4f38bd2ed2e05f7cadd2336269c08397308dee00737e60fd06ad6a src/docs/demo/map-point-route.gif
-6c9a8c768ee1605a6f6d01e565164f14228ab56264f9ed07cd876f760b5c4cfe src/docs/demo/menus.gif
-854dce43b589172fbcd10e7e451d25c6fe9798501b0e3b20a527db36dd72ce2f src/docs/demo/metadata-updates.gif
-718c60cdebe9fe1a1fe618314a8f05f3fd0b17885418d89dd86f031550c0f791 src/docs/demo/phone-destination.gif
-f3ea8e00aab6e16a5b36d6e65cf75a048fac7fd9cbb522aa16e161effb8d17ec src/docs/demo/popups-layout.gif
-ead5c51dd3a8a34836b2af836963cd598b71a1abf63d43cf714b2f64832a1eb7 src/docs/demo/popups.gif
-64719c6e580488f4c17d2fa06e8e5024ee9f8ec8c10b1b8c3e9ed2d864b0e14e src/docs/demo/roundabout-eta.gif
-084b7463314116c7acbbf0f4ef8f4b5130de3c90e998d75d13f86c5ffd513bb7 src/docs/demo/speed-warning.gif
-47b79c7c42f681d952c641536519e230e9baca9a577fa28694eb2f5c8d524feb src/docs/demo/status-notifications.gif
-30f3458b6cab2e1f633a5ba3063b2b7a08efb267252658dc3a1751dbc0840f08 src/docs/demo/trips-empty-layout.gif
-d86afb72546caf107c2f693931c3069098803dc3117c4a492dfe710b42b98cd9 src/docs/demo/trips-layout.gif
-66096eb16245db4d5dfaff13ed7a3b8af6529147506686c42ae08265818daadc src/docs/demo/v216-bluetooth-hidden.gif
-f8ed414641119b1bb67351599c75494e8e2b12ffb6b2c8f5c997c1c515fbf5f0 src/docs/demo/v216-coordinates.gif
-b73bb94ee4b268ac0dce227a977be488f9987da4585c6d40c9bdef361b66d7fc src/docs/demo/v216-hud-settings.gif
-25b950c40f3e6aa4e90cc7738619f54a54647cb4eb6939bbb0df08c80c7ba830 src/docs/demo/v216-itinerary.gif
+ba6a40463a42656b025aebc4eeb3effd4d7f2de5db9b22dda093ba1aa1385fb3 src/docs/demo/menus.gif
+d7d2b7b71ea9cf3be5372ef512aaa978316ad6e5625c6b071129c3b885751210 src/docs/demo/metadata-updates.gif
+fb4c7213d19090da1c47550eef0799a60d82b6d6f320981b43630b011c81b45e src/docs/demo/phone-destination.gif
+f88e4386ef1731de776afaef2ca44ae8b52712f03262db863830c972f9f8dc7e src/docs/demo/popups-layout.gif
+8a1d49c840cd4f3b84563c2aab8877cf0ab34c38e1565dbf62779865f357ca2a src/docs/demo/popups.gif
+39631309d6ba1b537b8d63c775ec5530fcdb583d247d6281aa1df4ca4dd034fe src/docs/demo/roundabout-eta.gif
+926c4315dacd9e0fd42f339be83c1d0a9991491a70629acd997a9bcbcb878fc0 src/docs/demo/speed-warning.gif
+7f5e89c78d770998032f604b90ee6c96adfc2a175328e191805cdfe653715352 src/docs/demo/status-notifications.gif
+a5ce120880cbb4a0acde1aa0a97f9a539081233095676823a03d04ca2c176500 src/docs/demo/trips-empty-layout.gif
+4a230c266871986446b6b72eb6a25670e40bbe3d347a35e7c267d6f277ef4ac3 src/docs/demo/trips-layout.gif
+8aed0d096dacacb5dee9705364038b0508f3cb2780fdc5a738898c127122d1e8 src/docs/demo/v216-bluetooth-hidden.gif
+0f82c52061011a9cde515edb4e6c415382d3abddef7f11f2ac0154629fcdc145 src/docs/demo/v216-coordinates.gif
+918cd753c2aa461151487450f24f7bb994e52c665ca21a67d0ebd62b88c7ff50 src/docs/demo/v216-hud-settings.gif
+940124e9f1498863e70a3d0c3ad6ca2191a906b242d37672cffe1c82245fcfe5 src/docs/demo/v216-itinerary.gif
e26b8c0f6826f89f84f55de926129ebd593c35ca640e23f25a28cb3924a9adb9 src/docs/demo/v220-destination-prediction.gif
991c774999a34a8e45ab1cafffa38fd7364879544a9af7c27ebfd9bf87ef7072 src/docs/demo/v220-frequent-place.gif
3f75cc89fce6d85e1e0685abe4faa075239b6b3e2bc0d3c1e22c98962cc05790 src/docs/demo/v220-intelligent-diversions.gif
-9012371afb22e6e65e3c10bcaed613f278a0dea4c5b8f2a09ad12ecad96d0381 src/docs/demo/v223-nearby-pois.gif
-b8f590b4ed7b28c29a49f4b13e876211e9e62d604d424840057388b691169e50 src/docs/demo/v223-secondary-manoeuvre.gif
+969ef8b993a8a92b31a8a8dbc6bef9cd2cfa20439e0301667002cba68539f98e src/docs/demo/v223-nearby-pois.gif
+91ba8ea8684403330d133525f7bb569921985c34c1aa123e835826ff77047bd8 src/docs/demo/v223-secondary-manoeuvre.gif
16cf6f28bb10f58f80f483399648c23ab00e5508d96d13d9bc092cb2303eecc3 src/docs/demo/v223-view-diversion.gif
-7d0b1b36e0fb7090dd9614cafc737994b04c56812190533c1c2bda0a252e6c62 src/docs/demo/v224-ml-adaptive-hud.gif
+a885dfa57ad3b6c5939896556a1ac354d83a0fa7ac90f947bb9349351753a475 src/docs/demo/v224-ml-adaptive-hud.gif
0f0407facfceb7306995f3b7d6cc2ee7cdd06f857eb56de7f07877ef1743a33a src/docs/demo/v224-ml-eta-and-habits.gif
-b8a17d0d8794503c8b0ac77e8acad793be3709d7d002bd9fcc38c45ffa4cb7fb src/docs/demo/v224-ml-parking-and-pois.gif
-f6847ffa036bf7e6e2473c40b93b05e080a2791b041c9110b7904b437db59017 src/docs/demo/v224-ml-slowdowns.gif
-b037fd492d633054e24790bd0b0c5446dc066dd08c05805963d9aa785943116b src/docs/demo/v225-gps-panel.gif
+3273957fc4a21c7328a3606396249402398fb39fcc2f4e43705da447cc9c45ec src/docs/demo/v224-ml-parking-and-pois.gif
+a2596191c13175f04edf733fce877362f836119b140555d447d1e56c3d69e362 src/docs/demo/v224-ml-slowdowns.gif
+43c8ec76afa674ee5ba3729d515ca5dfb1c67bec06aa3171c30b9d29dbefff8e src/docs/demo/v225-gps-panel.gif
d9ac61251ec50b4362b174a1e4caa8b93cc6923cdda7b9fb42c03dc998ed6538 src/docs/demo/v227-camera-alerts.gif
+4b22eeddfa2f372e2915f0192e16d2bd79e0b95436e7a305250bf433e1bccdd7 src/docs/demo/v300-multileg-and-chevron.gif
+ae9f7aea41539d9c85d6736c9cfcda40fd010c0f0e91b6785b04b56b0ce6f91f src/docs/demo/v300-qr-sync-and-connect.gif
bdddc438b3cb2c1e03cf14959afbff42fe8da61fdf3206ffb9cba19b3f455100 src/docs/intelligent-navigation.md
7f10d940cb3048e5c223559bea9822dd1f4a1fb54cc9fce4ea60d9bdb24a323e src/docs/release-workflow.md
-42ea71c48cfe72e59c76dfc48392c9ec03b94ee24affbdbfb439e848f3c3a38f src/docs/repository-readme.md
+2bbc156180f03cb2f984a6fba67b827c7d837674e35b7d8542b45270f9cc05a1 src/docs/repository-readme.md
57fac2b054701f5b7a5da0f133a9dba838638aeebee3bd50937f803ff63c4a9f src/docs/scenic-iii-hardware.md
a0ea6ad82b7f3db1a7699b442f766063fb1def68d991f27f2074fafd17963cef src/docs/source-status.md
fbff8fb6d065c769715dd801655e4aabf1754bb8117ad2ed402c7647637bfc48 src/docs/updating.md
@@ -1115,23 +1120,23 @@ cc037385e4d55bfde89b13e03091ee93bf40c0c52ddd391ff031ab276f13b8e9 src/fonts/Vera
35d046ba6ae04978227f83ecc6cd99367aef4149a711730a69f6e8f26ae52b47 src/legacy-binaries/clioaux-init
93fbfbbb77f3dd632b453e36cf814f39fd5a71aca40625740201f83e23f2cebc src/legacy-binaries/manifest.json
ee48d08587ed5291da5ebcc773f9f376db281d3329bfd3c7a2ec04aa455d795e src/locales/README.md
-caf32a67c17623d7f3869421a2cb9c70ebccf03121092df61bdcff57de6cd8c1 src/locales/ar.json
-5e69aa1643c0b373571c2f973f295d309b2d50be9208366434bdf7fe3b58abec src/locales/de.json
-a9edb44de1756516d5b9f1e0c4d5e1ceba41fc67b07e124b8849aecddabc3398 src/locales/el.json
-9663f68bcb85c85536848b2073bfcc3ff7aab315078e79e5bd4ccbf42fb05ceb src/locales/he.json
-e87ebf95390138c97583e52fd0b8a5d7b54c24fcb749ae451411ab787cfa667a src/locales/hi.json
-a9a78303242a580a92e22d3539ccf61665a5b0737d609d11ffda45e00b1896d1 src/locales/it.json
-81b12deb4364b243469e4d586997dee6c263a7817604b863340310be89acf762 src/locales/ja.json
+e38275a7887164759594976ec6627ddd26c1016454e5b9813c41e70243461cb6 src/locales/ar.json
+d13b4347796132e46a9e6c89b04365862f2572aa4362dda4d9d34921c0d0af71 src/locales/de.json
+0bf9f8be715049dda9b33a9260e74769016da7b538ccb65bdc8ded86fc81eb12 src/locales/el.json
+1a50c43dfa5a609a4c2c24e4cedda1ec48f8c84e08af67fe82f953ccd6b3deb2 src/locales/he.json
+0bb44cad65c828755b73ccfe4b6300d03e144475a06c5dbee9213202c1009478 src/locales/hi.json
+2aeea02c84fa9147359022e6eb7820fed2a18df9cbbdea76650ed2679e6ee7cc src/locales/it.json
+dbbaf5560f557cba2d03a20dba103ca6439ac1a77fada9748941534198271561 src/locales/ja.json
3f594a4cbec10cc8906017e2e41ce7dd4545f8dd4b70b3e9dff13ea4a57a3401 src/locales/keyboards.json
-2f3b7f3e7ede2fdf8e4d93ede01f46dcb31010b9eec5ecf8c597930b86cb2614 src/locales/ko.json
-a48ed3c82648b007d24abf4211aa06328739e33b1fdf11582bdb308542154538 src/locales/nl.json
-d16627d1645b3baf6db3f5d6bc43c64a98e70a187c2b4626587bbb4771291e06 src/locales/pl.json
-9f2a8af9e14dd488bd6ca69dc87d636e84822cbe8e8156b747ab03b2424ca2c2 src/locales/pt.json
-045b527e8a98d4ae68ab4b6897f07f1a53048e2d53ce886eefaa0add0cd6e89c src/locales/ru.json
-ccf34332f10540071a82e7a75cfd131ed7d59bf9b2036329af0f76c10ade846c src/locales/tr.json
-bf396f21951e429dfcc09bd7b7bb255092b693a07f42f9aa8154415f3f86d09e src/locales/ui.json
-020368c12315130b1ab756af6720aae55157f66724ba501442384ab6b011ac74 src/locales/uk.json
-fd87eba834530b3290b2ebbc73bfdef132fe95f685b7e3d6bb3a72fb321a4b10 src/locales/zh-Hans.json
+49eee1f6fbdb5d55f642b8950f786a69d817367716fcdf1f6e7901a6fff26a50 src/locales/ko.json
+747f86364b7cffd9c5c4af068eadd7e4b5079985134ffd127be0477ebc019f4c src/locales/nl.json
+c5e3933b2fea615b3f5cced0e1a687387afa4feda78474e502f7270bf37d44c6 src/locales/pl.json
+a958ddcc54811b17a3300d81e399599ba3b98ae5c568ec14c6b339207f3660ec src/locales/pt.json
+f343026d488b5f47459dd50f9345d21f77808de50af18193c7c3528d23cc15a4 src/locales/ru.json
+4746d53bd025d2f7badbdba8b930007b1b87c5813165f80982f28e6a60038ae1 src/locales/tr.json
+035f8ed827550340821665c8df8f085ea053ed05c26bfa5fa717567560d3ae30 src/locales/ui.json
+0b724c9f21e66fc6fb1f12c224e2f3ad786232625dd76e4a72ce0342543551a4 src/locales/uk.json
+8e4290717c44ebe526a5431ff1e1256ebfa82d80bd11ab237405b9a44916231b src/locales/zh-Hans.json
f27d172e3e75d08069bd112f43c60ecb529d19a8a7f23534d50d17e0e455dc9b src/navigation-builder/QAD7_FAST_QUERY.md
7106cc02d5279a8ed8cf5ec3044fdda633a7e9f397670ffc69fd1e657bd869b2 src/navigation-builder/README.md
7dee05508272befbf204fef16ea16e350d083bde151768989c3fd6244c266fcf src/navigation-builder/build_navigation.command
@@ -1199,9 +1204,9 @@ c109451b5f3e9e1c33f068d29b448f3f126196db94d9d1eedfba54d0ce4a04bc src/tests/atla
f0ecbe8e02781cca40b8b073e052ec14c9bba07957a824a667691f332806d50d src/tests/atlas-real.c
58cfad5b7f81ebe4f044665f42b8986770a399466f0a2b165805b58423a1c566 src/tests/atlas-viewport.c
40fbbf07c562ea0ea61727a49cd678e2cb91ce89f60a0fd32211a503ad8dced2 src/tests/atlas.c
-5aa522dcb82b154373f5e997a5e6c800223bc7ef1a7d97e48b01858f327477c6 src/tests/audio-chime.c
+840b87ee6d0b5d0686e10af52b3c5846bbba38ef610c5ba9317cc5ad71169e5e src/tests/audio-chime.c
181132aee80a1c3d12b0107b4b932541ca3785c1735a3d63c5358b6859e9852f src/tests/audio-decoder.c
-1f2ca6e08eb0498bb3bb63f69ff3aaa49efbdaf099571682ec1775af84790c71 src/tests/audio-runtime.c
+809a62f6eb004c62b3808ac685be4efcb59dfe4ad5768b5b10e7368fade4e54d src/tests/audio-runtime.c
3238d58a0d6b89cc29a5139e9fd0cd487eb184f9e5a4df1746c8b2ee94638071 src/tests/auto-theme.c
3e2009bbff7a041c71854d666daf6e17cca782cc9a3c9986d6f4e94809dc05e6 src/tests/bluetooth-sources.c
56fce86e8d9fa0a8201c91acb2637f8f4addd370f67e027ed5f5e2ba9ccf9a51 src/tests/boot-profile.c
@@ -1210,6 +1215,7 @@ f0ecbe8e02781cca40b8b073e052ec14c9bba07957a824a667691f332806d50d src/tests/atla
49d345c09c86f0ead4d6e7a7adda0ab9c357035d9e49efcbd869432501085a49 src/tests/camera-policy.c
db6687a42024753daf18cb39c8d15236a21d7d86fd86c2b45ba438178c15c3ce src/tests/cameras.csv
053bf2877588dedd7f07fcc3114353841ac6a89aa2d1dea3639aba4bf36ca6be src/tests/clock.c
+4de7242d9de1908c3034135c72381a7bb360efd39ad5b8f12a99a2093f38c40c src/tests/clp3-link.c
f6a7fd95a512ead2936b76e8f6f0aedd72663c4309eb0bcbab4a8421af0aaf9c src/tests/coordinates.c
61c9258398eb7df507daabb11981fcfea83695f34ba54615c3037168c92765c6 src/tests/current-formats.c
aac4cedb14862aba176aa8630ad07cae31f69db6ac2e955e8eeb129db0c20bc4 src/tests/fixtures/console-input.h
@@ -1237,6 +1243,7 @@ f95385ec5e0fde7deb426ed8d1f15828b4f03fc9e91187dc3dd99e9af2004e4e src/tests/menu
18136d514409fbf55a88809360750bbe84477016f696d12e69441a0b0c8e4f42 src/tests/mobility.c
f125852e4e0c57f557417c378d8168db0eb36efa7e29938adcaf40528d660b37 src/tests/native.c
290a9acb7614fddc1db4df8ec3bb9ab82714059d73dd2f323f5e1f849c27911e src/tests/popups.c
+16cca33aa7195ca71752a37cd6a6792fbdb17dc13695c759249e9ef80418eeaf src/tests/qr-sync.c
9b3a316b8e5296bc9080b70c637f35ba6769f39c4f9a78553fd0cb7510f83e45 src/tests/render-fast-paths.c
26974c7465bd602d5776037a9b5eedb92b8e2ddf919f466ce4ef081f0cec8211 src/tests/roundabout.c
d2a110bfb3946e08b129b298191dfdcc659c25db3afa589cb53add19a580522b src/tests/speed-estimates.c
@@ -1259,6 +1266,7 @@ a094184af9de76e1fad7b9b7b358b7ec36db9a9e5f456cd81e9c779426ae2b3b src/tests/test
28c5e05dcc797d42d9194676788a78899f51332484ff9bfee6c1e8e5ed5b8a77 src/tests/test_update_card.py
81f88c9c2c0c22f8def595f9f3874525b5f13d24a4a397f0cd8ba8e431e95821 src/tests/test_vendor_download.py
8477f422c8da37d94be2aa6456bb559f6cfa1fa063fc6ed135b7fc0d1775d171 src/tests/test_windows_launcher.ps1
+7adeb1939757fe6e68fd047557126a0d06f362fa954526956ce5088d84fd7953 src/tests/trip-multileg.c
44a84b6b36d4dcf83c77557983cbb372fa18f1d25b98f8616a51c80dc480f552 src/tests/ui-labels-alerts.c
1e9f84b0c770b677d90404d09d5bb78e2259f9103274ed227129530264423ba9 src/tests/unicode.c
ab52964669bf5f5cbe3fd9612e0487c04a742021b01395f22b06045345404801 src/tests/vehicle-input.c
@@ -1293,16 +1301,16 @@ b7e7d0d4b9e819a91339eb0cadf7d845e517af44e388f909268d18fe54315541 src/tools/mobi
255fce1b39fe7aee2236c93cd9f6a93d6b0151eb75584faf51112e6893b54cbf src/tools/prepare_card.py
06fd0f8b978e7a33ca4702d310e0d6de2ee9b0fae7dc4efe4344eccdea636078 src/tools/prepare_vendor.py
9de488c69bd32ba2063f783dc48fc0c8095761bd3b80b2a0fc3e5c67f00c9fb1 src/tools/profile_boot.py
-8991de50696e2eba1ed39cec0fb492b1acc112eae5014933b185b70145c8a38c src/tools/publication.py
+32d5a92a9383e6fe112839def8e68162825173a0a9c56f99b9e82e580a94ac8d src/tools/publication.py
14e5d6c44bb909a5f23beb655dcfbe23aabe54ced7169e859c13ce06e1bab429 src/tools/publication_install.py
c9486ce954b5a477f7cc6147a380e8e8c304af345a5aba641151a570f8ff7e60 src/tools/rebuild_arm.py
8061af3f752e3dc81a2aec2bdc731d13de1b44b576c66ef80079957a161feef3 src/tools/refresh_latest.py
02add3aee2bc6dabd4b967e0208729b515ea41396bbd009ea783ab675e4bb6c3 src/tools/regenerate_gifs.py
60af5fa9cfbd5fac724ae4f97d2b360517e37c365a966e5cbe789eb437e5871f src/tools/release_version.py
-36c04871c87b6496ab397b9ad0934810ade1aaa69a249959feebc101f1c9283e src/tools/render_gallery.py
+ab49cc60c3ee153d68c9b72d951d8534bcb895f9026c7674226bf4077f9f5751 src/tools/render_gallery.py
dc11770d3298817f6079edf992be2f57c907c34940319fc43f7d54905a93c5be src/tools/render_locales.py
702b871aa72d45fc0c16011de7343e0173b26e2386cd787a1064e8a42fc3fce3 src/tools/render_mapless_gifs.py
-77eac15cdaf05baa510106692a93828f1ce2b24fb79e1a3124e15b07e552f943 src/tools/render_previews.py
+e2db343661c60c28131971713d05d6403801ee9a3e11a4387dd6118e2bd8ddb5 src/tools/render_previews.py
c72f8c7560b6a73bc39d7525934c28dcf270a7c87f6750ace097884938510924 src/tools/render_roundabout.py
3660499909dc3f6c650d81cb8e822fd53dc65451a7bbf4d991f2553f322dee54 src/tools/replay_history.py
d90f5996548ca4383a5574ee18556b56d69bfeafb337043bc0b72d422f830d61 src/tools/runtime_integrity.py
@@ -1318,7 +1326,7 @@ eec1e0cb9097c38518ff7ea05d0067622352b68a87a9fa4d0151b287f84aff59 src/tools/veri
174f24eb780d815cd5a45d14a6efb1df41d5ca80ce478f647d42f670d094df65 src/tools/verify_atlas_viewport.py
13561c4fb256725da59835084755103a61df07024e9cc24d8b6c12c4b893a44d src/tools/verify_border.py
792be5eb7c86b818330b6884436d6369770354c04b4e5c257b76cea5791f4a55 src/tools/verify_camera_policy.py
-c4044dac18d3584a45327e54944ca47028d3a17a2123bcfe5e0be6163cf886f4 src/tools/verify_ci.py
+7bf9c4dc3ded78ffc3e6ad605188ded802824cabc27e6e592852302d0fb5ae14 src/tools/verify_ci.py
19c510692b29f95a102b77c8b1197dea2e80f99cc56c497160edbb0bd5b635f1 src/tools/verify_country_atlas.py
bdb9723210ef78363239e506e76b165daddea1906acfde53eb830a5a68602f9a src/tools/verify_global.py
b6831be17ee935fadbb349bdc3dce54409b3aeb407ff1752489c38b5c13567fd src/tools/verify_install.py
diff --git a/latest.json b/latest.json
index 31d4742..9e133fe 100644
--- a/latest.json
+++ b/latest.json
@@ -1,19 +1,19 @@
{
"format": "clioplay-latest-1",
- "updated_at": "2026-11-27T19:14:09+00:00",
+ "updated_at": "2026-11-28T08:53:18+00:00",
"edition": "Global",
- "version": "2.2.8",
+ "version": "3.0.0",
"payload": "Source package, current binaries, legacy bootstrap, fresh-install and software-update tools; no vendor firmware, navigation packs or companion website",
"executables": {
- "clio040": "f144fa36170e6d14ee7d22b7d16e713a8beda29c30ba6ddddc6e4959e27b7078",
- "cliospl": "c72094ea20df54dd1b1279769d68ec1a9f4ce1998477e8ccb30f854711aa5318",
- "clioa2dp": "a7bfc2483ad21a7d18b4dc90593905e5474c29b1e07d85bd4da4acf7a76f081e"
+ "clio040": "9d35b8dcd7d7913abf46214d7d90d60b9d2941059017d360b4afd831c0577235",
+ "cliospl": "588c8cabcb30b6ed0e9a6857d78ff2eaaf4c2f1a3cc8afc60cc1ef3b44e55f2e",
+ "clioa2dp": "bb3e400c7bb1528e7237992ac1ccd480a44077111fc67feaf37d6208e8e98710"
},
"source_sha256": {
"clio843/src/arm_runtime.h": "d29e9228583e93e3007b37d42554b916ebef5c9c00c91db71310cd89eaf28bb8",
"clio843/src/atlas_catalog.h": "7c1c5599a121e702a0fe7ac89fc957e07086e27f20aaf1511971d197de3a39a0",
- "clio843/src/atlas_router.h": "2c2130e992435277157a46ce985554797269ef605393580fe3748cd0ed7bf514",
- "clio843/src/audio_chime.h": "31d9a5707c6fc561bd17f1df48ac89b8aee5a83e2a6beee6c47196a0ef52f0a7",
+ "clio843/src/atlas_router.h": "16f26644f44ffb95f4a6681d4922a15b0522b69f6651ccec8d5581964c3abfab",
+ "clio843/src/audio_chime.h": "05059a11671957e575fd6d623a66eccbc130237980145a539f55e34d95d41fc8",
"clio843/src/audio_playback.h": "25e0f01cd52eb89d447c5ecdf34f57bebeef36135c2912eaa3d49ec1ee7f13e1",
"clio843/src/audio_schedule.h": "bf37e189f7a0f372567287380820a357878fc1aaf519f85309224cd0d5ae85a6",
"clio843/src/boot_art.h": "367249c4bf35acfa7ce5092dce4a906c566d5e9e818d1bbd3d65c35ba128dbeb",
@@ -21,14 +21,14 @@
"clio843/src/boot_theme.h": "fa46f1bda9c0f37306c90f34d497192953aa718b30fa688291bbc7a66ddab746",
"clio843/src/boot_transition.h": "8ea391927a52cf8eaa9f010a70b8f8e012b768346ca9cd297110e40e6a850007",
"clio843/src/camera_icons.h": "19a560ac05e8e769659da5d7ba3c138ca600bf057c21664e9da31a03d9f5ac2c",
- "clio843/src/clio040.c": "f79e1919e2ee76c3036f34b15b6210d50ba186c6b8dc63f5c6370ba4630f238a",
- "clio843/src/clioa2dp.c": "1c4eea7def1c67b56af086f8c49c1e943bf3eb3ec59f1b6254d3fa1e599423d2",
+ "clio843/src/clio040.c": "a0122941df81bb56aca43cc8516b4b5698b937de4edad38511c513bbe04f02fc",
+ "clio843/src/clioa2dp.c": "0b24bd0f33e83ad62c1605eb3380d1200260a3e96a38a6ebbde97e2809e532a2",
"clio843/src/cliospl.c": "523530da194e4a859de29b448926f347d70c6c6c243d08d9b048fb68e08e3d33",
"clio843/src/coordinates.h": "303c229e4c186fab01b092a770a434fca622047b792515df940ddec1983109ef",
"clio843/src/cswd.c": "707aa0a1fdcd8048d2fa252a14ce32176fae347d512e11869f2905a69380530c",
"clio843/src/explore_frames.h": "840171782ef5b622da6746457e771303adc469fb13d43df4642efeea765fd0b8",
"clio843/src/font_atlas.h": "0989a1e455dd2a047dfea49d3e4d2a66a30b178960b80a2c31603ee80ffc4ffc",
- "clio843/src/frame_renderer.h": "ee6afde74d143203873f91fb853816ec52845a7f063f59eedc908c4d281d2087",
+ "clio843/src/frame_renderer.h": "1245a7a18894aaac685ad6efe12e9f427cded6e2f524e0d4e9516366c5797d89",
"clio843/src/frame_schedule.h": "1a564fd03b4d72aa20eab4fbaff200ea40458efc0d6d38bd83b73546c7588bbb",
"clio843/src/global_cameras.h": "3fc1b2aab42a5c72905f4be5a72e0f022a1190d7ca8a910903bb8dadb32ecb52",
"clio843/src/global_clock.h": "5fbcf43cb8aceb59e87d6f8118d121ce5798eec064c0ed5a7586a2eb25de8512",
@@ -36,7 +36,7 @@
"clio843/src/global_text.cc": "fcc87baf5b5a8073e1043c6a82f4021299f8757b32a8897966f1ed7f8c19cc4f",
"clio843/src/global_text.h": "afb6807676750c41030d6e6723b933c538774e622881251056c8091a00b48695",
"clio843/src/gps_panel.h": "31e8561c3c3087a9e8970faad199049b021d3800d138ae4c386d303b763166f0",
- "clio843/src/hud.h": "82745aa23e62a1fc7d52686b94b473154f14fee9f36c6c8c7513563c85e1aeba",
+ "clio843/src/hud.h": "b69455c0867b303fdc386a7ff740137115c12c2ff3e5439d5860436dadeac6c2",
"clio843/src/hud_glass.h": "e34158dabf25b53ec7e5aa55945305dc69e85001108a7f506fd83f00a1a25f23",
"clio843/src/hud_playback.h": "a2757e57a552bf1e03a30b7b62b60bf2ade02cf62ddf565531d2eb753f86f881",
"clio843/src/hud_status.h": "91f9d2cc57aeae72deebee57974292a8c3033631b4cd11b83d57fdececbaeaed",
@@ -47,18 +47,20 @@
"clio843/src/keyboard-data/pinyin.json": "25230af0cc85c9f9efe285151fc9633cd7bdcff3769351797e47a3f6d271dd14",
"clio843/src/keyboard.h": "f3237bf2ace7761c42968234f93ada0f25ea906498e8afa5437b83f127fe5649",
"clio843/src/last_fix.h": "eaf9a30204c7b146bf83ea6ea6f2f4a9c25486dcbf69bc366824888426668cca",
- "clio843/src/map_raster.h": "f309ddc10637873a3e5ca63fad1afee8a434f387951ef37ac8b5e4d12536958e",
+ "clio843/src/map_raster.h": "ec120f66b752609590cd0d854d81932382255da7292db04a15997ad3bb3e545d",
"clio843/src/map_thin_coverage.h": "d4632a1dd789176be35ded06a21b84d272d69910532f31e05dc03fbfc092e5fb",
"clio843/src/menu_keyboard.h": "394310c060e073c651cbc61a64c69d5ba61cfd4072e43277f70c40b8344e77f9",
"clio843/src/menu_layout.h": "c413f261277151f8bd9be15f08cc896a41fc186619ec607501c1a18a463bd23e",
- "clio843/src/menu_sheet.h": "e2068ba47e7e7dd4ad49d6c2b40eae7dcfe7fd5477b8338d9217709bde5428eb",
+ "clio843/src/menu_sheet.h": "de39684b25842d612ed13d386e70de035124f7b7f1c069d9bcc6e87f840f191c",
"clio843/src/mobility.h": "1d273f5222008c317917874383a259480e0495aa28a4e7e9485b88b9c1129a2a",
"clio843/src/mobility_ml.h": "beb1d1932b992f275ae343cfad1fa2b3c507f29e80b50d2981d8d0666aa01429",
"clio843/src/nav_roundabout.h": "470390303a8f18184a020710012ea0353d0425c26a1381bbaa4064ca2d7f39be",
"clio843/src/nearby_pois.h": "10ef610b741b7f7a49810350875f827068c8115330549ff5da5e74690a0e8038",
- "clio843/src/overlay_frames.h": "b1b6e79491dad7a2a62004f999793bccfef7bb6580b3a877777c284f4537557c",
+ "clio843/src/overlay_frames.h": "fa2bed7bba3b83f15b33bab9b7acd498965a7072453279c98175c538c8827a96",
"clio843/src/poi_icons.h": "4d9ae8f57e3fdf141dc21ad2e06ba9d90c7c5e4058b584fa47d614fdc265b4c8",
"clio843/src/popups.h": "b16c75163580e2fbbe17a9359bc473d368a57c3c8c2347b5d5f56ce73295f61d",
+ "clio843/src/qr_encode.h": "978a2d4bd23c9059d8814e201226e8433700dd4586196b8269fb6fae78aa3841",
+ "clio843/src/qr_sync.h": "a55d8bfb5e36d8689c5918bd0e3abcf3d763e9b164bd4f74bb74eb1bcd532bf0",
"clio843/src/recovered/README.md": "f7233dee4174fb0302c994f1cc4c4341ab1c83c1ae20ad66d122963438537900",
"clio843/src/recovered/focusd/assembly.txt": "b7c4b72a05922aec8994a585a6a504ac8e5a09809fd99c5062340ef667796b2a",
"clio843/src/recovered/focusd/coverage.json": "3953dd8a81db0e66d61f1c478e9cbfb1beb955eac1e428a459a67d5f9c9c3591",
@@ -66,13 +68,14 @@
"clio843/src/recovered/focusd/initialized-data.h": "cf0e86b66c363bcaf1ef9f547b9a5eeaafc079bf5020ccb165cded983a8294c4",
"clio843/src/recovered/focusd/procedure-index.json": "cfac1159c0c34e8ac521d0e35a793779c81c196041a61ae27ac96d0d4d68f41a",
"clio843/src/recovered/focusd.ghidra.c": "67ad061d49251f85c1baed92674d8c4e7b9b5f35c50394a08c895b07c7879369",
- "clio843/src/release_version.h": "f2affbc9bc676b9e4584baef3d94a401e2416d668c95207601fef9e7f9837481",
- "clio843/src/road_layout.h": "ca48845434ccc9e1e8fce974733a0d08a61abdfe8598cd73b9b68128aa9d392e",
+ "clio843/src/release_version.h": "67b19ffec050bac87ef8e800a0324dd721fbd73d8351b5e64af5fea1253e2ab9",
+ "clio843/src/road_layout.h": "a80fe8f1a22c65331ef0b2ded1473b080145a938f7cabbd655ce0f5f1c016935",
"clio843/src/speed_estimates.h": "557ced1d687e781032ccc5356b6c1f360f67aa2b4084ea8f1105ef1b32abe283",
"clio843/src/splash_icon.h": "1c0cb3bf3be97ce49cdf626bc0184b0736b49fee877a92f5bf2e5cb2d0ec17eb",
"clio843/src/traffic.h": "b1927acad9ddb72ba2ef205c23ef8743f278d533ceeac9e633dd608b31ddc20a",
+ "clio843/src/trip_plan.h": "8725d4932d941c06547afb5bba5c432f1a64ae6170bb5448c410d49a85dc4662",
"clio843/src/ui_raster.h": "50767eb3a56c5192daabb07944b255b34d4e77b1db48b14a30a6914871420284",
- "clio843/src/ui_translations.h": "2e534c8b09ad27caeef17a395f568610fb2fcac8273b20cc13286caddf1a2350",
+ "clio843/src/ui_translations.h": "15c349e3469e89e15c2abaacac591e41d3d527c276237d9a7a39c2d5bd140ab7",
"clio843/src/unicode_support.c": "43a20e8dde712fbdb5e087062ad68d3ae5aec704c1ab864dec9c57a99fd54b77",
"clio843/src/urban_speed_defaults.h": "a719a3d065f16bc39727b01d7ed73f412beeb4d8703b5bde73a8c6ff1c35ac10",
"clio843/src/utf8.h": "e6e172fb98b7f4c9e958322d13296190fd003025562c05146bcc9a3d50af8b7c",
@@ -1108,16 +1111,16 @@
"tools/prepare_card.py": "255fce1b39fe7aee2236c93cd9f6a93d6b0151eb75584faf51112e6893b54cbf",
"tools/prepare_vendor.py": "06fd0f8b978e7a33ca4702d310e0d6de2ee9b0fae7dc4efe4344eccdea636078",
"tools/profile_boot.py": "9de488c69bd32ba2063f783dc48fc0c8095761bd3b80b2a0fc3e5c67f00c9fb1",
- "tools/publication.py": "8991de50696e2eba1ed39cec0fb492b1acc112eae5014933b185b70145c8a38c",
+ "tools/publication.py": "32d5a92a9383e6fe112839def8e68162825173a0a9c56f99b9e82e580a94ac8d",
"tools/publication_install.py": "14e5d6c44bb909a5f23beb655dcfbe23aabe54ced7169e859c13ce06e1bab429",
"tools/rebuild_arm.py": "c9486ce954b5a477f7cc6147a380e8e8c304af345a5aba641151a570f8ff7e60",
"tools/refresh_latest.py": "8061af3f752e3dc81a2aec2bdc731d13de1b44b576c66ef80079957a161feef3",
"tools/regenerate_gifs.py": "02add3aee2bc6dabd4b967e0208729b515ea41396bbd009ea783ab675e4bb6c3",
"tools/release_version.py": "60af5fa9cfbd5fac724ae4f97d2b360517e37c365a966e5cbe789eb437e5871f",
- "tools/render_gallery.py": "36c04871c87b6496ab397b9ad0934810ade1aaa69a249959feebc101f1c9283e",
+ "tools/render_gallery.py": "ab49cc60c3ee153d68c9b72d951d8534bcb895f9026c7674226bf4077f9f5751",
"tools/render_locales.py": "dc11770d3298817f6079edf992be2f57c907c34940319fc43f7d54905a93c5be",
"tools/render_mapless_gifs.py": "702b871aa72d45fc0c16011de7343e0173b26e2386cd787a1064e8a42fc3fce3",
- "tools/render_previews.py": "77eac15cdaf05baa510106692a93828f1ce2b24fb79e1a3124e15b07e552f943",
+ "tools/render_previews.py": "e2db343661c60c28131971713d05d6403801ee9a3e11a4387dd6118e2bd8ddb5",
"tools/render_roundabout.py": "c72f8c7560b6a73bc39d7525934c28dcf270a7c87f6750ace097884938510924",
"tools/replay_history.py": "3660499909dc3f6c650d81cb8e822fd53dc65451a7bbf4d991f2553f322dee54",
"tools/runtime_integrity.py": "d90f5996548ca4383a5574ee18556b56d69bfeafb337043bc0b72d422f830d61",
@@ -1133,7 +1136,7 @@
"tools/verify_atlas_viewport.py": "174f24eb780d815cd5a45d14a6efb1df41d5ca80ce478f647d42f670d094df65",
"tools/verify_border.py": "13561c4fb256725da59835084755103a61df07024e9cc24d8b6c12c4b893a44d",
"tools/verify_camera_policy.py": "792be5eb7c86b818330b6884436d6369770354c04b4e5c257b76cea5791f4a55",
- "tools/verify_ci.py": "c4044dac18d3584a45327e54944ca47028d3a17a2123bcfe5e0be6163cf886f4",
+ "tools/verify_ci.py": "7bf9c4dc3ded78ffc3e6ad605188ded802824cabc27e6e592852302d0fb5ae14",
"tools/verify_country_atlas.py": "19c510692b29f95a102b77c8b1197dea2e80f99cc56c497160edbb0bd5b635f1",
"tools/verify_global.py": "bdb9723210ef78363239e506e76b165daddea1906acfde53eb830a5a68602f9a",
"tools/verify_install.py": "b6831be17ee935fadbb349bdc3dce54409b3aeb407ff1752489c38b5c13567fd",
@@ -1154,9 +1157,9 @@
"tests/atlas-real.c": "f0ecbe8e02781cca40b8b073e052ec14c9bba07957a824a667691f332806d50d",
"tests/atlas-viewport.c": "58cfad5b7f81ebe4f044665f42b8986770a399466f0a2b165805b58423a1c566",
"tests/atlas.c": "40fbbf07c562ea0ea61727a49cd678e2cb91ce89f60a0fd32211a503ad8dced2",
- "tests/audio-chime.c": "5aa522dcb82b154373f5e997a5e6c800223bc7ef1a7d97e48b01858f327477c6",
+ "tests/audio-chime.c": "840b87ee6d0b5d0686e10af52b3c5846bbba38ef610c5ba9317cc5ad71169e5e",
"tests/audio-decoder.c": "181132aee80a1c3d12b0107b4b932541ca3785c1735a3d63c5358b6859e9852f",
- "tests/audio-runtime.c": "1f2ca6e08eb0498bb3bb63f69ff3aaa49efbdaf099571682ec1775af84790c71",
+ "tests/audio-runtime.c": "809a62f6eb004c62b3808ac685be4efcb59dfe4ad5768b5b10e7368fade4e54d",
"tests/auto-theme.c": "3238d58a0d6b89cc29a5139e9fd0cd487eb184f9e5a4df1746c8b2ee94638071",
"tests/bluetooth-sources.c": "3e2009bbff7a041c71854d666daf6e17cca782cc9a3c9986d6f4e94809dc05e6",
"tests/boot-profile.c": "56fce86e8d9fa0a8201c91acb2637f8f4addd370f67e027ed5f5e2ba9ccf9a51",
@@ -1165,6 +1168,7 @@
"tests/camera-policy.c": "49d345c09c86f0ead4d6e7a7adda0ab9c357035d9e49efcbd869432501085a49",
"tests/cameras.csv": "db6687a42024753daf18cb39c8d15236a21d7d86fd86c2b45ba438178c15c3ce",
"tests/clock.c": "053bf2877588dedd7f07fcc3114353841ac6a89aa2d1dea3639aba4bf36ca6be",
+ "tests/clp3-link.c": "4de7242d9de1908c3034135c72381a7bb360efd39ad5b8f12a99a2093f38c40c",
"tests/coordinates.c": "f6a7fd95a512ead2936b76e8f6f0aedd72663c4309eb0bcbab4a8421af0aaf9c",
"tests/current-formats.c": "61c9258398eb7df507daabb11981fcfea83695f34ba54615c3037168c92765c6",
"tests/fixtures/console-input.h": "aac4cedb14862aba176aa8630ad07cae31f69db6ac2e955e8eeb129db0c20bc4",
@@ -1192,6 +1196,7 @@
"tests/mobility.c": "18136d514409fbf55a88809360750bbe84477016f696d12e69441a0b0c8e4f42",
"tests/native.c": "f125852e4e0c57f557417c378d8168db0eb36efa7e29938adcaf40528d660b37",
"tests/popups.c": "290a9acb7614fddc1db4df8ec3bb9ab82714059d73dd2f323f5e1f849c27911e",
+ "tests/qr-sync.c": "16cca33aa7195ca71752a37cd6a6792fbdb17dc13695c759249e9ef80418eeaf",
"tests/render-fast-paths.c": "9b3a316b8e5296bc9080b70c637f35ba6769f39c4f9a78553fd0cb7510f83e45",
"tests/roundabout.c": "26974c7465bd602d5776037a9b5eedb92b8e2ddf919f466ce4ef081f0cec8211",
"tests/speed-estimates.c": "d2a110bfb3946e08b129b298191dfdcc659c25db3afa589cb53add19a580522b",
@@ -1214,6 +1219,7 @@
"tests/test_update_card.py": "28c5e05dcc797d42d9194676788a78899f51332484ff9bfee6c1e8e5ed5b8a77",
"tests/test_vendor_download.py": "81f88c9c2c0c22f8def595f9f3874525b5f13d24a4a397f0cd8ba8e431e95821",
"tests/test_windows_launcher.ps1": "8477f422c8da37d94be2aa6456bb559f6cfa1fa063fc6ed135b7fc0d1775d171",
+ "tests/trip-multileg.c": "7adeb1939757fe6e68fd047557126a0d06f362fa954526956ce5088d84fd7953",
"tests/ui-labels-alerts.c": "44a84b6b36d4dcf83c77557983cbb372fa18f1d25b98f8616a51c80dc480f552",
"tests/unicode.c": "1e9f84b0c770b677d90404d09d5bb78e2259f9103274ed227129530264423ba9",
"tests/vehicle-input.c": "ab52964669bf5f5cbe3fd9612e0487c04a742021b01395f22b06045345404801",
@@ -1232,23 +1238,23 @@
"fonts/Vera.ttf": "c4c45690b345435b2cba52ecabe275f05e49b389b39fe68ad03afbb551288d3d",
"fonts/VeraBd.ttf": "cc037385e4d55bfde89b13e03091ee93bf40c0c52ddd391ff031ab276f13b8e9",
"locales/README.md": "ee48d08587ed5291da5ebcc773f9f376db281d3329bfd3c7a2ec04aa455d795e",
- "locales/ar.json": "caf32a67c17623d7f3869421a2cb9c70ebccf03121092df61bdcff57de6cd8c1",
- "locales/de.json": "5e69aa1643c0b373571c2f973f295d309b2d50be9208366434bdf7fe3b58abec",
- "locales/el.json": "a9edb44de1756516d5b9f1e0c4d5e1ceba41fc67b07e124b8849aecddabc3398",
- "locales/he.json": "9663f68bcb85c85536848b2073bfcc3ff7aab315078e79e5bd4ccbf42fb05ceb",
- "locales/hi.json": "e87ebf95390138c97583e52fd0b8a5d7b54c24fcb749ae451411ab787cfa667a",
- "locales/it.json": "a9a78303242a580a92e22d3539ccf61665a5b0737d609d11ffda45e00b1896d1",
- "locales/ja.json": "81b12deb4364b243469e4d586997dee6c263a7817604b863340310be89acf762",
+ "locales/ar.json": "e38275a7887164759594976ec6627ddd26c1016454e5b9813c41e70243461cb6",
+ "locales/de.json": "d13b4347796132e46a9e6c89b04365862f2572aa4362dda4d9d34921c0d0af71",
+ "locales/el.json": "0bf9f8be715049dda9b33a9260e74769016da7b538ccb65bdc8ded86fc81eb12",
+ "locales/he.json": "1a50c43dfa5a609a4c2c24e4cedda1ec48f8c84e08af67fe82f953ccd6b3deb2",
+ "locales/hi.json": "0bb44cad65c828755b73ccfe4b6300d03e144475a06c5dbee9213202c1009478",
+ "locales/it.json": "2aeea02c84fa9147359022e6eb7820fed2a18df9cbbdea76650ed2679e6ee7cc",
+ "locales/ja.json": "dbbaf5560f557cba2d03a20dba103ca6439ac1a77fada9748941534198271561",
"locales/keyboards.json": "3f594a4cbec10cc8906017e2e41ce7dd4545f8dd4b70b3e9dff13ea4a57a3401",
- "locales/ko.json": "2f3b7f3e7ede2fdf8e4d93ede01f46dcb31010b9eec5ecf8c597930b86cb2614",
- "locales/nl.json": "a48ed3c82648b007d24abf4211aa06328739e33b1fdf11582bdb308542154538",
- "locales/pl.json": "d16627d1645b3baf6db3f5d6bc43c64a98e70a187c2b4626587bbb4771291e06",
- "locales/pt.json": "9f2a8af9e14dd488bd6ca69dc87d636e84822cbe8e8156b747ab03b2424ca2c2",
- "locales/ru.json": "045b527e8a98d4ae68ab4b6897f07f1a53048e2d53ce886eefaa0add0cd6e89c",
- "locales/tr.json": "ccf34332f10540071a82e7a75cfd131ed7d59bf9b2036329af0f76c10ade846c",
- "locales/ui.json": "bf396f21951e429dfcc09bd7b7bb255092b693a07f42f9aa8154415f3f86d09e",
- "locales/uk.json": "020368c12315130b1ab756af6720aae55157f66724ba501442384ab6b011ac74",
- "locales/zh-Hans.json": "fd87eba834530b3290b2ebbc73bfdef132fe95f685b7e3d6bb3a72fb321a4b10",
+ "locales/ko.json": "49eee1f6fbdb5d55f642b8950f786a69d817367716fcdf1f6e7901a6fff26a50",
+ "locales/nl.json": "747f86364b7cffd9c5c4af068eadd7e4b5079985134ffd127be0477ebc019f4c",
+ "locales/pl.json": "c5e3933b2fea615b3f5cced0e1a687387afa4feda78474e502f7270bf37d44c6",
+ "locales/pt.json": "a958ddcc54811b17a3300d81e399599ba3b98ae5c568ec14c6b339207f3660ec",
+ "locales/ru.json": "f343026d488b5f47459dd50f9345d21f77808de50af18193c7c3528d23cc15a4",
+ "locales/tr.json": "4746d53bd025d2f7badbdba8b930007b1b87c5813165f80982f28e6a60038ae1",
+ "locales/ui.json": "035f8ed827550340821665c8df8f085ea053ed05c26bfa5fa717567560d3ae30",
+ "locales/uk.json": "0b724c9f21e66fc6fb1f12c224e2f3ad786232625dd76e4a72ce0342543551a4",
+ "locales/zh-Hans.json": "8e4290717c44ebe526a5431ff1e1256ebfa82d80bd11ab237405b9a44916231b",
"third_party/bluez-2.15/BUILDING.md": "58425beef161e5853ba9ab6ad2ae19f3eb886907647dc8cd9b3117d1e2861673",
"third_party/bluez-2.15/COPYING": "32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670",
"third_party/bluez-2.15/README.md": "34b2d57551e28b8034a1eca791ef9719880ab4432306afc22da6e11ba1c403d5",
@@ -1258,18 +1264,18 @@
"third_party/bluez-2.15/bluez-utils_2.15-1.1.dsc": "cdfd49622adf4ed713edbfe6eb96b262ffb08c92d09393461f658cbb39ca7d26",
"third_party/bluez-2.15/bluez-utils_2.15.orig.tar.gz": "dc6c4d4e1a89872d7d7859d0c909fa473c5af6da69a70a60cad278c6a36a2710",
"README.md": "54c485dcffbc4a6991de24bd868ac2031b8606c613495c5c3e6178898d2da314",
- "VERSION": "e235ebff02cdd23487d80fb82d07b8f746bd465f64c7ce9dc9979224481eb8eb",
+ "VERSION": "2985be8b28d3ade858e8d8fb4bc22f565b1bf6020dff982dce141f7721b9999c",
"BUILDING.md": "1afcc38d3aaa04495166e80c86af89bc376719c0247f836c44a8dc263221e03a",
"LICENSE": "b04ac8d0e455fe1b4c2f8b0e42531cd7b67add31f3b06c05d58e600feda6f464",
"THIRD_PARTY_NOTICES.md": "b2c9845c83575f1fd185ef796cf8ae020168118fb2aef3d01ddd7362fbd631d9",
".gitignore": "0a86a94cb929aa7641fc4a07e5ca571a82ae060e4c5ad5fe8545640aca85f0e0",
"Install.command": "86391c316ab51b6749cc09201acf57e95181ff1f533ef1e9fb961ec8533ed826",
"install.py": "19fd0c18a70f875de998763727e20f1a1552804c32bd5a25a18569ac85982dee",
- "bootstrap-SHA256.json": "eeb823e2486a0da11d8dca6be834d03ceacd342cbbd24ac070cf40b95ee27bb5",
+ "bootstrap-SHA256.json": "0fdfd7d58a64613b2e1ccac585f340ea602f8f8b37d6d5c2ca9264a5cb24d447",
"docs/source-status.md": "a0ea6ad82b7f3db1a7699b442f766063fb1def68d991f27f2074fafd17963cef",
"docs/camera-support.md": "d5432be02ce0ec0867b6db310f31f41b3a448d5002496f45c1bcdc713b4284ed",
- "docs/repository-readme.md": "42ea71c48cfe72e59c76dfc48392c9ec03b94ee24affbdbfb439e848f3c3a38f",
- "docs/changelog.md": "3423c3dd3a3cda0691a09d1573401a49a48d2ebba639cdfb04cde4d56ed73e83",
+ "docs/repository-readme.md": "2bbc156180f03cb2f984a6fba67b827c7d837674e35b7d8542b45270f9cc05a1",
+ "docs/changelog.md": "c0190cf6f0c873f400c4d0a2bfa256cfd81ff7562fbbfd4cee2497fd4ee84cd6",
"docs/updating.md": "fbff8fb6d065c769715dd801655e4aabf1754bb8117ad2ed402c7647637bfc48",
"docs/intelligent-navigation.md": "bdddc438b3cb2c1e03cf14959afbff42fe8da61fdf3206ffb9cba19b3f455100",
"docs/release-workflow.md": "7f10d940cb3048e5c223559bea9822dd1f4a1fb54cc9fce4ea60d9bdb24a323e",
@@ -1278,54 +1284,56 @@
"legacy-binaries/clioaux-init": "35d046ba6ae04978227f83ecc6cd99367aef4149a711730a69f6e8f26ae52b47",
"legacy-binaries/manifest.json": "93fbfbbb77f3dd632b453e36cf814f39fd5a71aca40625740201f83e23f2cebc",
"clio843/font.bin": "f45a6b3a6d6c539e0e83556a49049bb2ee4df7a04f17f9a43dfee3a3e8760ea1",
- "card-template/ttn": "6e0e29369221829cd6e4f1f146c8cd1bf21c6105449bda7d29b89028073c306a",
- "card-template/clio843/btstart.sh": "6d5b363f2dca57b9d07d10da61455f307bb202c95cd59ab711ed7f8a75f83174",
+ "card-template/ttn": "0fbad1b0c418b102e5ab8fd14ed6281638813b98f26bc3ef54356922f93743be",
+ "card-template/clio843/btstart.sh": "b9f27b12fc3530f33a4d0d47fefe43edcf2e816274af900756362a768f2670c4",
"card-template/clio843/prefs.ini": "a022c49ef39f0976e3faf92b43ad54a7d8a20758c72f71304388f233eb5fb299",
"card-template/clio843/focusd": "31145f8bebc5a35503bda94ee071b7ad1bf7b62727ed84c6887eba1600da1300",
"card-template/clio843/hidd": "6830044438d40b781ddcc49853d14e3291b6b70eda82176596209ce908c0e53d",
- "clio843/clio040": "f144fa36170e6d14ee7d22b7d16e713a8beda29c30ba6ddddc6e4959e27b7078",
- "build-reports/clio040.build.json": "1b7a87aa460b4170716a1e573ad264aba9f3336fee447704e9420006a75ee7ff",
- "clio843/cliospl": "c72094ea20df54dd1b1279769d68ec1a9f4ce1998477e8ccb30f854711aa5318",
- "build-reports/cliospl.build.json": "933bf61503785639bf368a0d1d7e361623e7a69332f2a55c9b8151a440c23261",
- "clio843/clioa2dp": "a7bfc2483ad21a7d18b4dc90593905e5474c29b1e07d85bd4da4acf7a76f081e",
- "build-reports/clioa2dp.build.json": "aa8f81dcd29f8781c3e44ad64045da19cd9ae8d94429d1100c377f2d506cc6e2",
- "docs/demo/README.md": "b6dfe14240ce7cb2369be571ac159c2fb4200779fe65d51db0c4aeff28e63f3e",
- "docs/demo/manifest.json": "4aec0207d7bdebe97a2fe5fdab51324542722279febf9f9225cc6cf66c719ab4",
- "docs/demo/boot-day.gif": "6efb5a459f759a444372c427bc349bb878fa80ae00ee242969827e47a28650d7",
- "docs/demo/boot-night.gif": "b9354b7e44b6a2cd741a4107881408058547bbc794c87be736d8bcdf6af1d576",
- "docs/demo/popups.gif": "ead5c51dd3a8a34836b2af836963cd598b71a1abf63d43cf714b2f64832a1eb7",
- "docs/demo/driving.gif": "9d2d38393ae390da84ae06b21e4076ed14be2274723af7f436f2708905436ccb",
- "docs/demo/menus.gif": "6c9a8c768ee1605a6f6d01e565164f14228ab56264f9ed07cd876f760b5c4cfe",
- "docs/demo/bluetooth.gif": "6e8204f7583810f301f1fd030812913f114aefbdb1b031663f1786d63aacb8b2",
- "docs/demo/phone-destination.gif": "718c60cdebe9fe1a1fe618314a8f05f3fd0b17885418d89dd86f031550c0f791",
- "docs/demo/speed-warning.gif": "084b7463314116c7acbbf0f4ef8f4b5130de3c90e998d75d13f86c5ffd513bb7",
- "docs/demo/map-browsing.gif": "1c36e555ce1354214ff6356b25126544b88f5f57e43c74db34d97ae8b0a27ba0",
- "docs/demo/roundabout-eta.gif": "64719c6e580488f4c17d2fa06e8e5024ee9f8ec8c10b1b8c3e9ed2d864b0e14e",
- "docs/demo/add-stop.gif": "9804b3aeebcdb8dd61196a894ea4be9619c9a03b0013dcd452373af46b553a5d",
- "docs/demo/status-notifications.gif": "47b79c7c42f681d952c641536519e230e9baca9a577fa28694eb2f5c8d524feb",
- "docs/demo/metadata-updates.gif": "854dce43b589172fbcd10e7e451d25c6fe9798501b0e3b20a527db36dd72ce2f",
+ "clio843/clio040": "9d35b8dcd7d7913abf46214d7d90d60b9d2941059017d360b4afd831c0577235",
+ "build-reports/clio040.build.json": "355e1b7816fd964d43015360955c1b2284772618dfea94f5eb454f36b10e08a1",
+ "clio843/cliospl": "588c8cabcb30b6ed0e9a6857d78ff2eaaf4c2f1a3cc8afc60cc1ef3b44e55f2e",
+ "build-reports/cliospl.build.json": "df1339f00d52c33313351dd56d662aca303a09b780fe949784e6fd72a41f277d",
+ "clio843/clioa2dp": "bb3e400c7bb1528e7237992ac1ccd480a44077111fc67feaf37d6208e8e98710",
+ "build-reports/clioa2dp.build.json": "fb738b985a96e611e0d84ed6ae3df20464985ed59d4762051e64b9594bbac294",
+ "docs/demo/README.md": "e68a2ac0efca22366bc3714da580b5ffafceab6f5f8dd42fe37ac41ffee018f2",
+ "docs/demo/manifest.json": "6d93e8b688f41ce371c42e1b7059515e6561a72194d6dc0b00d2bcca3b4805ff",
+ "docs/demo/boot-day.gif": "4229159de271967c564a15474dadcc48752466aa8dacdb5fda696ea358fbd47d",
+ "docs/demo/boot-night.gif": "ab6bb3837e5bb631ab15cfcee2212883c71075590818083353ef0bb22efe3e2c",
+ "docs/demo/popups.gif": "8a1d49c840cd4f3b84563c2aab8877cf0ab34c38e1565dbf62779865f357ca2a",
+ "docs/demo/driving.gif": "1a6818b0bc369819eda4424ea051fefd65079daa84ed1ce61fdaf8f54c11b5cf",
+ "docs/demo/menus.gif": "ba6a40463a42656b025aebc4eeb3effd4d7f2de5db9b22dda093ba1aa1385fb3",
+ "docs/demo/bluetooth.gif": "5d9aa339e013ab6eca614366ee445940de8486d0387f3be3db51a7cb343f6920",
+ "docs/demo/phone-destination.gif": "fb4c7213d19090da1c47550eef0799a60d82b6d6f320981b43630b011c81b45e",
+ "docs/demo/speed-warning.gif": "926c4315dacd9e0fd42f339be83c1d0a9991491a70629acd997a9bcbcb878fc0",
+ "docs/demo/map-browsing.gif": "7e34108eb6cace19ead090e9729c7e742b752bb5c10cc0b26a4928e07d6fef34",
+ "docs/demo/roundabout-eta.gif": "39631309d6ba1b537b8d63c775ec5530fcdb583d247d6281aa1df4ca4dd034fe",
+ "docs/demo/add-stop.gif": "767d859c5f42af3e5de70e6f363aa4119e53614c19ab826e6aa6423ab4586f90",
+ "docs/demo/status-notifications.gif": "7f5e89c78d770998032f604b90ee6c96adfc2a175328e191805cdfe653715352",
+ "docs/demo/metadata-updates.gif": "d7d2b7b71ea9cf3be5372ef512aaa978316ad6e5625c6b071129c3b885751210",
"docs/demo/coordinates.gif": "2c4365d3b0b1a79f9736ea71ea8ec78c5ca8a375d8e87a950c16ccd4070250f3",
- "docs/demo/coordinate-route.gif": "c1b433f72a7776990be9a3e01658bc047533c517efd6e1df81eab58e2e71bfb6",
+ "docs/demo/coordinate-route.gif": "e1b4b3b92a77c9e2ba88cfd5b3bc24e0513f59ddfa8bdea7aede97f42a504587",
"docs/demo/map-point-route.gif": "3c47d6ce4b4f38bd2ed2e05f7cadd2336269c08397308dee00737e60fd06ad6a",
- "docs/demo/v216-coordinates.gif": "f8ed414641119b1bb67351599c75494e8e2b12ffb6b2c8f5c997c1c515fbf5f0",
- "docs/demo/v216-hud-settings.gif": "b73bb94ee4b268ac0dce227a977be488f9987da4585c6d40c9bdef361b66d7fc",
- "docs/demo/v216-bluetooth-hidden.gif": "66096eb16245db4d5dfaff13ed7a3b8af6529147506686c42ae08265818daadc",
- "docs/demo/v216-itinerary.gif": "25b950c40f3e6aa4e90cc7738619f54a54647cb4eb6939bbb0df08c80c7ba830",
- "docs/demo/trips-layout.gif": "d86afb72546caf107c2f693931c3069098803dc3117c4a492dfe710b42b98cd9",
- "docs/demo/trips-empty-layout.gif": "30f3458b6cab2e1f633a5ba3063b2b7a08efb267252658dc3a1751dbc0840f08",
- "docs/demo/popups-layout.gif": "f3ea8e00aab6e16a5b36d6e65cf75a048fac7fd9cbb522aa16e161effb8d17ec",
+ "docs/demo/v216-coordinates.gif": "0f82c52061011a9cde515edb4e6c415382d3abddef7f11f2ac0154629fcdc145",
+ "docs/demo/v216-hud-settings.gif": "918cd753c2aa461151487450f24f7bb994e52c665ca21a67d0ebd62b88c7ff50",
+ "docs/demo/v216-bluetooth-hidden.gif": "8aed0d096dacacb5dee9705364038b0508f3cb2780fdc5a738898c127122d1e8",
+ "docs/demo/v216-itinerary.gif": "940124e9f1498863e70a3d0c3ad6ca2191a906b242d37672cffe1c82245fcfe5",
+ "docs/demo/trips-layout.gif": "4a230c266871986446b6b72eb6a25670e40bbe3d347a35e7c267d6f277ef4ac3",
+ "docs/demo/trips-empty-layout.gif": "a5ce120880cbb4a0acde1aa0a97f9a539081233095676823a03d04ca2c176500",
+ "docs/demo/popups-layout.gif": "f88e4386ef1731de776afaef2ca44ae8b52712f03262db863830c972f9f8dc7e",
"docs/demo/v220-destination-prediction.gif": "e26b8c0f6826f89f84f55de926129ebd593c35ca640e23f25a28cb3924a9adb9",
"docs/demo/v220-intelligent-diversions.gif": "3f75cc89fce6d85e1e0685abe4faa075239b6b3e2bc0d3c1e22c98962cc05790",
"docs/demo/v220-frequent-place.gif": "991c774999a34a8e45ab1cafffa38fd7364879544a9af7c27ebfd9bf87ef7072",
- "docs/demo/v223-nearby-pois.gif": "9012371afb22e6e65e3c10bcaed613f278a0dea4c5b8f2a09ad12ecad96d0381",
- "docs/demo/v223-secondary-manoeuvre.gif": "b8f590b4ed7b28c29a49f4b13e876211e9e62d604d424840057388b691169e50",
+ "docs/demo/v223-nearby-pois.gif": "969ef8b993a8a92b31a8a8dbc6bef9cd2cfa20439e0301667002cba68539f98e",
+ "docs/demo/v223-secondary-manoeuvre.gif": "91ba8ea8684403330d133525f7bb569921985c34c1aa123e835826ff77047bd8",
"docs/demo/v223-view-diversion.gif": "16cf6f28bb10f58f80f483399648c23ab00e5508d96d13d9bc092cb2303eecc3",
"docs/demo/v224-ml-eta-and-habits.gif": "0f0407facfceb7306995f3b7d6cc2ee7cdd06f857eb56de7f07877ef1743a33a",
- "docs/demo/v224-ml-slowdowns.gif": "f6847ffa036bf7e6e2473c40b93b05e080a2791b041c9110b7904b437db59017",
- "docs/demo/v224-ml-parking-and-pois.gif": "b8a17d0d8794503c8b0ac77e8acad793be3709d7d002bd9fcc38c45ffa4cb7fb",
- "docs/demo/v224-ml-adaptive-hud.gif": "7d0b1b36e0fb7090dd9614cafc737994b04c56812190533c1c2bda0a252e6c62",
- "docs/demo/v225-gps-panel.gif": "b037fd492d633054e24790bd0b0c5446dc066dd08c05805963d9aa785943116b",
- "docs/demo/v227-camera-alerts.gif": "d9ac61251ec50b4362b174a1e4caa8b93cc6923cdda7b9fb42c03dc998ed6538"
+ "docs/demo/v224-ml-slowdowns.gif": "a2596191c13175f04edf733fce877362f836119b140555d447d1e56c3d69e362",
+ "docs/demo/v224-ml-parking-and-pois.gif": "3273957fc4a21c7328a3606396249402398fb39fcc2f4e43705da447cc9c45ec",
+ "docs/demo/v224-ml-adaptive-hud.gif": "a885dfa57ad3b6c5939896556a1ac354d83a0fa7ac90f947bb9349351753a475",
+ "docs/demo/v225-gps-panel.gif": "43c8ec76afa674ee5ba3729d515ca5dfb1c67bec06aa3171c30b9d29dbefff8e",
+ "docs/demo/v227-camera-alerts.gif": "d9ac61251ec50b4362b174a1e4caa8b93cc6923cdda7b9fb42c03dc998ed6538",
+ "docs/demo/v300-multileg-and-chevron.gif": "4b22eeddfa2f372e2915f0192e16d2bd79e0b95436e7a305250bf433e1bccdd7",
+ "docs/demo/v300-qr-sync-and-connect.gif": "ae9f7aea41539d9c85d6736c9cfcda40fd010c0f0e91b6785b04b56b0ce6f91f"
},
"files": {
".editorconfig": "70e0d0b849695d15411546b3d364a9f123e2187e097c80b146c24f07cebca65f",
@@ -1335,12 +1343,12 @@
".github/pull_request_template.md": "5992aa9a07f51fdafe6a43425c82d600db23f7f95d441b71ea885b44d6280297",
".github/workflows/verify.yml": "9ae9a27ec7297e955286758dc79321264ac1ce0dcc7cf6f4842df5bd12e47de4",
".gitignore": "59be7b2df6a1a3609d4d6ad64662e0674f79c50b9b46eaac038ff15b77d7fbf0",
- "CHANGELOG.md": "3423c3dd3a3cda0691a09d1573401a49a48d2ebba639cdfb04cde4d56ed73e83",
+ "CHANGELOG.md": "c0190cf6f0c873f400c4d0a2bfa256cfd81ff7562fbbfd4cee2497fd4ee84cd6",
"CONTRIBUTING.md": "409123367334ae5aeaed5fe4cdc29020a6178599b876f20ac39c255662e5ba4f",
"Install.cmd": "b504a77b6d13c036d2e027a9759f06fa8a30c677144f1ee286f56953d2020fa6",
"Install.command": "5a3df10333b2db1c445eccf5c2875f9d1051c90b9b86ffacc4da1b1e4d1e3d9a",
"LICENSE": "b04ac8d0e455fe1b4c2f8b0e42531cd7b67add31f3b06c05d58e600feda6f464",
- "README.md": "0d86a5339ae9f2a874eb589096cf3dcd89cda14f7f03d1417bb3f11efd2982a8",
+ "README.md": "15f57de0394965923e8a8720f4097cc286abd2be3e72cba8bd4e25b2a34dccc5",
"SOURCE_STATUS.md": "a0ea6ad82b7f3db1a7699b442f766063fb1def68d991f27f2074fafd17963cef",
"THIRD_PARTY_NOTICES.md": "b2c9845c83575f1fd185ef796cf8ae020168118fb2aef3d01ddd7362fbd631d9",
"WINDOWS.md": "a15064ed84d76e09513578ab053f5be041c0cbd4ef0961eba01e3dd4498b6645",
@@ -1351,25 +1359,25 @@
"src/LICENSE": "b04ac8d0e455fe1b4c2f8b0e42531cd7b67add31f3b06c05d58e600feda6f464",
"src/README.md": "54c485dcffbc4a6991de24bd868ac2031b8606c613495c5c3e6178898d2da314",
"src/THIRD_PARTY_NOTICES.md": "b2c9845c83575f1fd185ef796cf8ae020168118fb2aef3d01ddd7362fbd631d9",
- "src/VERSION": "e235ebff02cdd23487d80fb82d07b8f746bd465f64c7ce9dc9979224481eb8eb",
- "src/bootstrap-SHA256.json": "eeb823e2486a0da11d8dca6be834d03ceacd342cbbd24ac070cf40b95ee27bb5",
- "src/build-reports/clio040.build.json": "1b7a87aa460b4170716a1e573ad264aba9f3336fee447704e9420006a75ee7ff",
- "src/build-reports/clioa2dp.build.json": "aa8f81dcd29f8781c3e44ad64045da19cd9ae8d94429d1100c377f2d506cc6e2",
- "src/build-reports/cliospl.build.json": "933bf61503785639bf368a0d1d7e361623e7a69332f2a55c9b8151a440c23261",
- "src/card-template/clio843/btstart.sh": "6d5b363f2dca57b9d07d10da61455f307bb202c95cd59ab711ed7f8a75f83174",
+ "src/VERSION": "2985be8b28d3ade858e8d8fb4bc22f565b1bf6020dff982dce141f7721b9999c",
+ "src/bootstrap-SHA256.json": "0fdfd7d58a64613b2e1ccac585f340ea602f8f8b37d6d5c2ca9264a5cb24d447",
+ "src/build-reports/clio040.build.json": "355e1b7816fd964d43015360955c1b2284772618dfea94f5eb454f36b10e08a1",
+ "src/build-reports/clioa2dp.build.json": "fb738b985a96e611e0d84ed6ae3df20464985ed59d4762051e64b9594bbac294",
+ "src/build-reports/cliospl.build.json": "df1339f00d52c33313351dd56d662aca303a09b780fe949784e6fd72a41f277d",
+ "src/card-template/clio843/btstart.sh": "b9f27b12fc3530f33a4d0d47fefe43edcf2e816274af900756362a768f2670c4",
"src/card-template/clio843/focusd": "31145f8bebc5a35503bda94ee071b7ad1bf7b62727ed84c6887eba1600da1300",
"src/card-template/clio843/hidd": "6830044438d40b781ddcc49853d14e3291b6b70eda82176596209ce908c0e53d",
"src/card-template/clio843/prefs.ini": "a022c49ef39f0976e3faf92b43ad54a7d8a20758c72f71304388f233eb5fb299",
"src/card-template/cswmap.example.ini": "e04c3ec7b4d3ad2b16a3c512d68e450aab95cfd348fd693dcb61e3d871fa520c",
- "src/card-template/ttn": "6e0e29369221829cd6e4f1f146c8cd1bf21c6105449bda7d29b89028073c306a",
- "src/clio843/clio040": "f144fa36170e6d14ee7d22b7d16e713a8beda29c30ba6ddddc6e4959e27b7078",
- "src/clio843/clioa2dp": "a7bfc2483ad21a7d18b4dc90593905e5474c29b1e07d85bd4da4acf7a76f081e",
- "src/clio843/cliospl": "c72094ea20df54dd1b1279769d68ec1a9f4ce1998477e8ccb30f854711aa5318",
+ "src/card-template/ttn": "0fbad1b0c418b102e5ab8fd14ed6281638813b98f26bc3ef54356922f93743be",
+ "src/clio843/clio040": "9d35b8dcd7d7913abf46214d7d90d60b9d2941059017d360b4afd831c0577235",
+ "src/clio843/clioa2dp": "bb3e400c7bb1528e7237992ac1ccd480a44077111fc67feaf37d6208e8e98710",
+ "src/clio843/cliospl": "588c8cabcb30b6ed0e9a6857d78ff2eaaf4c2f1a3cc8afc60cc1ef3b44e55f2e",
"src/clio843/font.bin": "f45a6b3a6d6c539e0e83556a49049bb2ee4df7a04f17f9a43dfee3a3e8760ea1",
"src/clio843/src/arm_runtime.h": "d29e9228583e93e3007b37d42554b916ebef5c9c00c91db71310cd89eaf28bb8",
"src/clio843/src/atlas_catalog.h": "7c1c5599a121e702a0fe7ac89fc957e07086e27f20aaf1511971d197de3a39a0",
- "src/clio843/src/atlas_router.h": "2c2130e992435277157a46ce985554797269ef605393580fe3748cd0ed7bf514",
- "src/clio843/src/audio_chime.h": "31d9a5707c6fc561bd17f1df48ac89b8aee5a83e2a6beee6c47196a0ef52f0a7",
+ "src/clio843/src/atlas_router.h": "16f26644f44ffb95f4a6681d4922a15b0522b69f6651ccec8d5581964c3abfab",
+ "src/clio843/src/audio_chime.h": "05059a11671957e575fd6d623a66eccbc130237980145a539f55e34d95d41fc8",
"src/clio843/src/audio_playback.h": "25e0f01cd52eb89d447c5ecdf34f57bebeef36135c2912eaa3d49ec1ee7f13e1",
"src/clio843/src/audio_schedule.h": "bf37e189f7a0f372567287380820a357878fc1aaf519f85309224cd0d5ae85a6",
"src/clio843/src/boot_art.h": "367249c4bf35acfa7ce5092dce4a906c566d5e9e818d1bbd3d65c35ba128dbeb",
@@ -1377,14 +1385,14 @@
"src/clio843/src/boot_theme.h": "fa46f1bda9c0f37306c90f34d497192953aa718b30fa688291bbc7a66ddab746",
"src/clio843/src/boot_transition.h": "8ea391927a52cf8eaa9f010a70b8f8e012b768346ca9cd297110e40e6a850007",
"src/clio843/src/camera_icons.h": "19a560ac05e8e769659da5d7ba3c138ca600bf057c21664e9da31a03d9f5ac2c",
- "src/clio843/src/clio040.c": "f79e1919e2ee76c3036f34b15b6210d50ba186c6b8dc63f5c6370ba4630f238a",
- "src/clio843/src/clioa2dp.c": "1c4eea7def1c67b56af086f8c49c1e943bf3eb3ec59f1b6254d3fa1e599423d2",
+ "src/clio843/src/clio040.c": "a0122941df81bb56aca43cc8516b4b5698b937de4edad38511c513bbe04f02fc",
+ "src/clio843/src/clioa2dp.c": "0b24bd0f33e83ad62c1605eb3380d1200260a3e96a38a6ebbde97e2809e532a2",
"src/clio843/src/cliospl.c": "523530da194e4a859de29b448926f347d70c6c6c243d08d9b048fb68e08e3d33",
"src/clio843/src/coordinates.h": "303c229e4c186fab01b092a770a434fca622047b792515df940ddec1983109ef",
"src/clio843/src/cswd.c": "707aa0a1fdcd8048d2fa252a14ce32176fae347d512e11869f2905a69380530c",
"src/clio843/src/explore_frames.h": "840171782ef5b622da6746457e771303adc469fb13d43df4642efeea765fd0b8",
"src/clio843/src/font_atlas.h": "0989a1e455dd2a047dfea49d3e4d2a66a30b178960b80a2c31603ee80ffc4ffc",
- "src/clio843/src/frame_renderer.h": "ee6afde74d143203873f91fb853816ec52845a7f063f59eedc908c4d281d2087",
+ "src/clio843/src/frame_renderer.h": "1245a7a18894aaac685ad6efe12e9f427cded6e2f524e0d4e9516366c5797d89",
"src/clio843/src/frame_schedule.h": "1a564fd03b4d72aa20eab4fbaff200ea40458efc0d6d38bd83b73546c7588bbb",
"src/clio843/src/global_cameras.h": "3fc1b2aab42a5c72905f4be5a72e0f022a1190d7ca8a910903bb8dadb32ecb52",
"src/clio843/src/global_clock.h": "5fbcf43cb8aceb59e87d6f8118d121ce5798eec064c0ed5a7586a2eb25de8512",
@@ -1392,7 +1400,7 @@
"src/clio843/src/global_text.cc": "fcc87baf5b5a8073e1043c6a82f4021299f8757b32a8897966f1ed7f8c19cc4f",
"src/clio843/src/global_text.h": "afb6807676750c41030d6e6723b933c538774e622881251056c8091a00b48695",
"src/clio843/src/gps_panel.h": "31e8561c3c3087a9e8970faad199049b021d3800d138ae4c386d303b763166f0",
- "src/clio843/src/hud.h": "82745aa23e62a1fc7d52686b94b473154f14fee9f36c6c8c7513563c85e1aeba",
+ "src/clio843/src/hud.h": "b69455c0867b303fdc386a7ff740137115c12c2ff3e5439d5860436dadeac6c2",
"src/clio843/src/hud_glass.h": "e34158dabf25b53ec7e5aa55945305dc69e85001108a7f506fd83f00a1a25f23",
"src/clio843/src/hud_playback.h": "a2757e57a552bf1e03a30b7b62b60bf2ade02cf62ddf565531d2eb753f86f881",
"src/clio843/src/hud_status.h": "91f9d2cc57aeae72deebee57974292a8c3033631b4cd11b83d57fdececbaeaed",
@@ -1403,18 +1411,20 @@
"src/clio843/src/keyboard-data/pinyin.json": "25230af0cc85c9f9efe285151fc9633cd7bdcff3769351797e47a3f6d271dd14",
"src/clio843/src/keyboard.h": "f3237bf2ace7761c42968234f93ada0f25ea906498e8afa5437b83f127fe5649",
"src/clio843/src/last_fix.h": "eaf9a30204c7b146bf83ea6ea6f2f4a9c25486dcbf69bc366824888426668cca",
- "src/clio843/src/map_raster.h": "f309ddc10637873a3e5ca63fad1afee8a434f387951ef37ac8b5e4d12536958e",
+ "src/clio843/src/map_raster.h": "ec120f66b752609590cd0d854d81932382255da7292db04a15997ad3bb3e545d",
"src/clio843/src/map_thin_coverage.h": "d4632a1dd789176be35ded06a21b84d272d69910532f31e05dc03fbfc092e5fb",
"src/clio843/src/menu_keyboard.h": "394310c060e073c651cbc61a64c69d5ba61cfd4072e43277f70c40b8344e77f9",
"src/clio843/src/menu_layout.h": "c413f261277151f8bd9be15f08cc896a41fc186619ec607501c1a18a463bd23e",
- "src/clio843/src/menu_sheet.h": "e2068ba47e7e7dd4ad49d6c2b40eae7dcfe7fd5477b8338d9217709bde5428eb",
+ "src/clio843/src/menu_sheet.h": "de39684b25842d612ed13d386e70de035124f7b7f1c069d9bcc6e87f840f191c",
"src/clio843/src/mobility.h": "1d273f5222008c317917874383a259480e0495aa28a4e7e9485b88b9c1129a2a",
"src/clio843/src/mobility_ml.h": "beb1d1932b992f275ae343cfad1fa2b3c507f29e80b50d2981d8d0666aa01429",
"src/clio843/src/nav_roundabout.h": "470390303a8f18184a020710012ea0353d0425c26a1381bbaa4064ca2d7f39be",
"src/clio843/src/nearby_pois.h": "10ef610b741b7f7a49810350875f827068c8115330549ff5da5e74690a0e8038",
- "src/clio843/src/overlay_frames.h": "b1b6e79491dad7a2a62004f999793bccfef7bb6580b3a877777c284f4537557c",
+ "src/clio843/src/overlay_frames.h": "fa2bed7bba3b83f15b33bab9b7acd498965a7072453279c98175c538c8827a96",
"src/clio843/src/poi_icons.h": "4d9ae8f57e3fdf141dc21ad2e06ba9d90c7c5e4058b584fa47d614fdc265b4c8",
"src/clio843/src/popups.h": "b16c75163580e2fbbe17a9359bc473d368a57c3c8c2347b5d5f56ce73295f61d",
+ "src/clio843/src/qr_encode.h": "978a2d4bd23c9059d8814e201226e8433700dd4586196b8269fb6fae78aa3841",
+ "src/clio843/src/qr_sync.h": "a55d8bfb5e36d8689c5918bd0e3abcf3d763e9b164bd4f74bb74eb1bcd532bf0",
"src/clio843/src/recovered/README.md": "f7233dee4174fb0302c994f1cc4c4341ab1c83c1ae20ad66d122963438537900",
"src/clio843/src/recovered/focusd/assembly.txt": "b7c4b72a05922aec8994a585a6a504ac8e5a09809fd99c5062340ef667796b2a",
"src/clio843/src/recovered/focusd/coverage.json": "3953dd8a81db0e66d61f1c478e9cbfb1beb955eac1e428a459a67d5f9c9c3591",
@@ -1422,13 +1432,14 @@
"src/clio843/src/recovered/focusd/initialized-data.h": "cf0e86b66c363bcaf1ef9f547b9a5eeaafc079bf5020ccb165cded983a8294c4",
"src/clio843/src/recovered/focusd/procedure-index.json": "cfac1159c0c34e8ac521d0e35a793779c81c196041a61ae27ac96d0d4d68f41a",
"src/clio843/src/recovered/focusd.ghidra.c": "67ad061d49251f85c1baed92674d8c4e7b9b5f35c50394a08c895b07c7879369",
- "src/clio843/src/release_version.h": "f2affbc9bc676b9e4584baef3d94a401e2416d668c95207601fef9e7f9837481",
- "src/clio843/src/road_layout.h": "ca48845434ccc9e1e8fce974733a0d08a61abdfe8598cd73b9b68128aa9d392e",
+ "src/clio843/src/release_version.h": "67b19ffec050bac87ef8e800a0324dd721fbd73d8351b5e64af5fea1253e2ab9",
+ "src/clio843/src/road_layout.h": "a80fe8f1a22c65331ef0b2ded1473b080145a938f7cabbd655ce0f5f1c016935",
"src/clio843/src/speed_estimates.h": "557ced1d687e781032ccc5356b6c1f360f67aa2b4084ea8f1105ef1b32abe283",
"src/clio843/src/splash_icon.h": "1c0cb3bf3be97ce49cdf626bc0184b0736b49fee877a92f5bf2e5cb2d0ec17eb",
"src/clio843/src/traffic.h": "b1927acad9ddb72ba2ef205c23ef8743f278d533ceeac9e633dd608b31ddc20a",
+ "src/clio843/src/trip_plan.h": "8725d4932d941c06547afb5bba5c432f1a64ae6170bb5448c410d49a85dc4662",
"src/clio843/src/ui_raster.h": "50767eb3a56c5192daabb07944b255b34d4e77b1db48b14a30a6914871420284",
- "src/clio843/src/ui_translations.h": "2e534c8b09ad27caeef17a395f568610fb2fcac8273b20cc13286caddf1a2350",
+ "src/clio843/src/ui_translations.h": "15c349e3469e89e15c2abaacac591e41d3d527c276237d9a7a39c2d5bd140ab7",
"src/clio843/src/unicode_support.c": "43a20e8dde712fbdb5e087062ad68d3ae5aec704c1ab864dec9c57a99fd54b77",
"src/clio843/src/urban_speed_defaults.h": "a719a3d065f16bc39727b01d7ed73f412beeb4d8703b5bde73a8c6ff1c35ac10",
"src/clio843/src/utf8.h": "e6e172fb98b7f4c9e958322d13296190fd003025562c05146bcc9a3d50af8b7c",
@@ -2393,47 +2404,49 @@
"src/clio843/src/vendor/sheenbidi/Source/UBA/StatusStack.h": "348774283d029f4afa64b95ba9fe04240d754587b483a8bcc345e1d6e78c6261",
"src/clio843/src/vstatd.c": "a359d214853cdd511fb79e905fafc52f5413b635bb3288b268d04c15724a666f",
"src/docs/camera-support.md": "d5432be02ce0ec0867b6db310f31f41b3a448d5002496f45c1bcdc713b4284ed",
- "src/docs/changelog.md": "3423c3dd3a3cda0691a09d1573401a49a48d2ebba639cdfb04cde4d56ed73e83",
- "src/docs/demo/README.md": "b6dfe14240ce7cb2369be571ac159c2fb4200779fe65d51db0c4aeff28e63f3e",
- "src/docs/demo/add-stop.gif": "9804b3aeebcdb8dd61196a894ea4be9619c9a03b0013dcd452373af46b553a5d",
- "src/docs/demo/bluetooth.gif": "6e8204f7583810f301f1fd030812913f114aefbdb1b031663f1786d63aacb8b2",
- "src/docs/demo/boot-day.gif": "6efb5a459f759a444372c427bc349bb878fa80ae00ee242969827e47a28650d7",
- "src/docs/demo/boot-night.gif": "b9354b7e44b6a2cd741a4107881408058547bbc794c87be736d8bcdf6af1d576",
- "src/docs/demo/coordinate-route.gif": "c1b433f72a7776990be9a3e01658bc047533c517efd6e1df81eab58e2e71bfb6",
+ "src/docs/changelog.md": "c0190cf6f0c873f400c4d0a2bfa256cfd81ff7562fbbfd4cee2497fd4ee84cd6",
+ "src/docs/demo/README.md": "e68a2ac0efca22366bc3714da580b5ffafceab6f5f8dd42fe37ac41ffee018f2",
+ "src/docs/demo/add-stop.gif": "767d859c5f42af3e5de70e6f363aa4119e53614c19ab826e6aa6423ab4586f90",
+ "src/docs/demo/bluetooth.gif": "5d9aa339e013ab6eca614366ee445940de8486d0387f3be3db51a7cb343f6920",
+ "src/docs/demo/boot-day.gif": "4229159de271967c564a15474dadcc48752466aa8dacdb5fda696ea358fbd47d",
+ "src/docs/demo/boot-night.gif": "ab6bb3837e5bb631ab15cfcee2212883c71075590818083353ef0bb22efe3e2c",
+ "src/docs/demo/coordinate-route.gif": "e1b4b3b92a77c9e2ba88cfd5b3bc24e0513f59ddfa8bdea7aede97f42a504587",
"src/docs/demo/coordinates.gif": "2c4365d3b0b1a79f9736ea71ea8ec78c5ca8a375d8e87a950c16ccd4070250f3",
- "src/docs/demo/driving.gif": "9d2d38393ae390da84ae06b21e4076ed14be2274723af7f436f2708905436ccb",
- "src/docs/demo/manifest.json": "4aec0207d7bdebe97a2fe5fdab51324542722279febf9f9225cc6cf66c719ab4",
- "src/docs/demo/map-browsing.gif": "1c36e555ce1354214ff6356b25126544b88f5f57e43c74db34d97ae8b0a27ba0",
+ "src/docs/demo/driving.gif": "1a6818b0bc369819eda4424ea051fefd65079daa84ed1ce61fdaf8f54c11b5cf",
+ "src/docs/demo/manifest.json": "6d93e8b688f41ce371c42e1b7059515e6561a72194d6dc0b00d2bcca3b4805ff",
+ "src/docs/demo/map-browsing.gif": "7e34108eb6cace19ead090e9729c7e742b752bb5c10cc0b26a4928e07d6fef34",
"src/docs/demo/map-point-route.gif": "3c47d6ce4b4f38bd2ed2e05f7cadd2336269c08397308dee00737e60fd06ad6a",
- "src/docs/demo/menus.gif": "6c9a8c768ee1605a6f6d01e565164f14228ab56264f9ed07cd876f760b5c4cfe",
- "src/docs/demo/metadata-updates.gif": "854dce43b589172fbcd10e7e451d25c6fe9798501b0e3b20a527db36dd72ce2f",
- "src/docs/demo/phone-destination.gif": "718c60cdebe9fe1a1fe618314a8f05f3fd0b17885418d89dd86f031550c0f791",
- "src/docs/demo/popups-layout.gif": "f3ea8e00aab6e16a5b36d6e65cf75a048fac7fd9cbb522aa16e161effb8d17ec",
- "src/docs/demo/popups.gif": "ead5c51dd3a8a34836b2af836963cd598b71a1abf63d43cf714b2f64832a1eb7",
- "src/docs/demo/roundabout-eta.gif": "64719c6e580488f4c17d2fa06e8e5024ee9f8ec8c10b1b8c3e9ed2d864b0e14e",
- "src/docs/demo/speed-warning.gif": "084b7463314116c7acbbf0f4ef8f4b5130de3c90e998d75d13f86c5ffd513bb7",
- "src/docs/demo/status-notifications.gif": "47b79c7c42f681d952c641536519e230e9baca9a577fa28694eb2f5c8d524feb",
- "src/docs/demo/trips-empty-layout.gif": "30f3458b6cab2e1f633a5ba3063b2b7a08efb267252658dc3a1751dbc0840f08",
- "src/docs/demo/trips-layout.gif": "d86afb72546caf107c2f693931c3069098803dc3117c4a492dfe710b42b98cd9",
- "src/docs/demo/v216-bluetooth-hidden.gif": "66096eb16245db4d5dfaff13ed7a3b8af6529147506686c42ae08265818daadc",
- "src/docs/demo/v216-coordinates.gif": "f8ed414641119b1bb67351599c75494e8e2b12ffb6b2c8f5c997c1c515fbf5f0",
- "src/docs/demo/v216-hud-settings.gif": "b73bb94ee4b268ac0dce227a977be488f9987da4585c6d40c9bdef361b66d7fc",
- "src/docs/demo/v216-itinerary.gif": "25b950c40f3e6aa4e90cc7738619f54a54647cb4eb6939bbb0df08c80c7ba830",
+ "src/docs/demo/menus.gif": "ba6a40463a42656b025aebc4eeb3effd4d7f2de5db9b22dda093ba1aa1385fb3",
+ "src/docs/demo/metadata-updates.gif": "d7d2b7b71ea9cf3be5372ef512aaa978316ad6e5625c6b071129c3b885751210",
+ "src/docs/demo/phone-destination.gif": "fb4c7213d19090da1c47550eef0799a60d82b6d6f320981b43630b011c81b45e",
+ "src/docs/demo/popups-layout.gif": "f88e4386ef1731de776afaef2ca44ae8b52712f03262db863830c972f9f8dc7e",
+ "src/docs/demo/popups.gif": "8a1d49c840cd4f3b84563c2aab8877cf0ab34c38e1565dbf62779865f357ca2a",
+ "src/docs/demo/roundabout-eta.gif": "39631309d6ba1b537b8d63c775ec5530fcdb583d247d6281aa1df4ca4dd034fe",
+ "src/docs/demo/speed-warning.gif": "926c4315dacd9e0fd42f339be83c1d0a9991491a70629acd997a9bcbcb878fc0",
+ "src/docs/demo/status-notifications.gif": "7f5e89c78d770998032f604b90ee6c96adfc2a175328e191805cdfe653715352",
+ "src/docs/demo/trips-empty-layout.gif": "a5ce120880cbb4a0acde1aa0a97f9a539081233095676823a03d04ca2c176500",
+ "src/docs/demo/trips-layout.gif": "4a230c266871986446b6b72eb6a25670e40bbe3d347a35e7c267d6f277ef4ac3",
+ "src/docs/demo/v216-bluetooth-hidden.gif": "8aed0d096dacacb5dee9705364038b0508f3cb2780fdc5a738898c127122d1e8",
+ "src/docs/demo/v216-coordinates.gif": "0f82c52061011a9cde515edb4e6c415382d3abddef7f11f2ac0154629fcdc145",
+ "src/docs/demo/v216-hud-settings.gif": "918cd753c2aa461151487450f24f7bb994e52c665ca21a67d0ebd62b88c7ff50",
+ "src/docs/demo/v216-itinerary.gif": "940124e9f1498863e70a3d0c3ad6ca2191a906b242d37672cffe1c82245fcfe5",
"src/docs/demo/v220-destination-prediction.gif": "e26b8c0f6826f89f84f55de926129ebd593c35ca640e23f25a28cb3924a9adb9",
"src/docs/demo/v220-frequent-place.gif": "991c774999a34a8e45ab1cafffa38fd7364879544a9af7c27ebfd9bf87ef7072",
"src/docs/demo/v220-intelligent-diversions.gif": "3f75cc89fce6d85e1e0685abe4faa075239b6b3e2bc0d3c1e22c98962cc05790",
- "src/docs/demo/v223-nearby-pois.gif": "9012371afb22e6e65e3c10bcaed613f278a0dea4c5b8f2a09ad12ecad96d0381",
- "src/docs/demo/v223-secondary-manoeuvre.gif": "b8f590b4ed7b28c29a49f4b13e876211e9e62d604d424840057388b691169e50",
+ "src/docs/demo/v223-nearby-pois.gif": "969ef8b993a8a92b31a8a8dbc6bef9cd2cfa20439e0301667002cba68539f98e",
+ "src/docs/demo/v223-secondary-manoeuvre.gif": "91ba8ea8684403330d133525f7bb569921985c34c1aa123e835826ff77047bd8",
"src/docs/demo/v223-view-diversion.gif": "16cf6f28bb10f58f80f483399648c23ab00e5508d96d13d9bc092cb2303eecc3",
- "src/docs/demo/v224-ml-adaptive-hud.gif": "7d0b1b36e0fb7090dd9614cafc737994b04c56812190533c1c2bda0a252e6c62",
+ "src/docs/demo/v224-ml-adaptive-hud.gif": "a885dfa57ad3b6c5939896556a1ac354d83a0fa7ac90f947bb9349351753a475",
"src/docs/demo/v224-ml-eta-and-habits.gif": "0f0407facfceb7306995f3b7d6cc2ee7cdd06f857eb56de7f07877ef1743a33a",
- "src/docs/demo/v224-ml-parking-and-pois.gif": "b8a17d0d8794503c8b0ac77e8acad793be3709d7d002bd9fcc38c45ffa4cb7fb",
- "src/docs/demo/v224-ml-slowdowns.gif": "f6847ffa036bf7e6e2473c40b93b05e080a2791b041c9110b7904b437db59017",
- "src/docs/demo/v225-gps-panel.gif": "b037fd492d633054e24790bd0b0c5446dc066dd08c05805963d9aa785943116b",
+ "src/docs/demo/v224-ml-parking-and-pois.gif": "3273957fc4a21c7328a3606396249402398fb39fcc2f4e43705da447cc9c45ec",
+ "src/docs/demo/v224-ml-slowdowns.gif": "a2596191c13175f04edf733fce877362f836119b140555d447d1e56c3d69e362",
+ "src/docs/demo/v225-gps-panel.gif": "43c8ec76afa674ee5ba3729d515ca5dfb1c67bec06aa3171c30b9d29dbefff8e",
"src/docs/demo/v227-camera-alerts.gif": "d9ac61251ec50b4362b174a1e4caa8b93cc6923cdda7b9fb42c03dc998ed6538",
+ "src/docs/demo/v300-multileg-and-chevron.gif": "4b22eeddfa2f372e2915f0192e16d2bd79e0b95436e7a305250bf433e1bccdd7",
+ "src/docs/demo/v300-qr-sync-and-connect.gif": "ae9f7aea41539d9c85d6736c9cfcda40fd010c0f0e91b6785b04b56b0ce6f91f",
"src/docs/intelligent-navigation.md": "bdddc438b3cb2c1e03cf14959afbff42fe8da61fdf3206ffb9cba19b3f455100",
"src/docs/release-workflow.md": "7f10d940cb3048e5c223559bea9822dd1f4a1fb54cc9fce4ea60d9bdb24a323e",
- "src/docs/repository-readme.md": "42ea71c48cfe72e59c76dfc48392c9ec03b94ee24affbdbfb439e848f3c3a38f",
+ "src/docs/repository-readme.md": "2bbc156180f03cb2f984a6fba67b827c7d837674e35b7d8542b45270f9cc05a1",
"src/docs/scenic-iii-hardware.md": "57fac2b054701f5b7a5da0f133a9dba838638aeebee3bd50937f803ff63c4a9f",
"src/docs/source-status.md": "a0ea6ad82b7f3db1a7699b442f766063fb1def68d991f27f2074fafd17963cef",
"src/docs/updating.md": "fbff8fb6d065c769715dd801655e4aabf1754bb8117ad2ed402c7647637bfc48",
@@ -2445,23 +2458,23 @@
"src/legacy-binaries/clioaux-init": "35d046ba6ae04978227f83ecc6cd99367aef4149a711730a69f6e8f26ae52b47",
"src/legacy-binaries/manifest.json": "93fbfbbb77f3dd632b453e36cf814f39fd5a71aca40625740201f83e23f2cebc",
"src/locales/README.md": "ee48d08587ed5291da5ebcc773f9f376db281d3329bfd3c7a2ec04aa455d795e",
- "src/locales/ar.json": "caf32a67c17623d7f3869421a2cb9c70ebccf03121092df61bdcff57de6cd8c1",
- "src/locales/de.json": "5e69aa1643c0b373571c2f973f295d309b2d50be9208366434bdf7fe3b58abec",
- "src/locales/el.json": "a9edb44de1756516d5b9f1e0c4d5e1ceba41fc67b07e124b8849aecddabc3398",
- "src/locales/he.json": "9663f68bcb85c85536848b2073bfcc3ff7aab315078e79e5bd4ccbf42fb05ceb",
- "src/locales/hi.json": "e87ebf95390138c97583e52fd0b8a5d7b54c24fcb749ae451411ab787cfa667a",
- "src/locales/it.json": "a9a78303242a580a92e22d3539ccf61665a5b0737d609d11ffda45e00b1896d1",
- "src/locales/ja.json": "81b12deb4364b243469e4d586997dee6c263a7817604b863340310be89acf762",
+ "src/locales/ar.json": "e38275a7887164759594976ec6627ddd26c1016454e5b9813c41e70243461cb6",
+ "src/locales/de.json": "d13b4347796132e46a9e6c89b04365862f2572aa4362dda4d9d34921c0d0af71",
+ "src/locales/el.json": "0bf9f8be715049dda9b33a9260e74769016da7b538ccb65bdc8ded86fc81eb12",
+ "src/locales/he.json": "1a50c43dfa5a609a4c2c24e4cedda1ec48f8c84e08af67fe82f953ccd6b3deb2",
+ "src/locales/hi.json": "0bb44cad65c828755b73ccfe4b6300d03e144475a06c5dbee9213202c1009478",
+ "src/locales/it.json": "2aeea02c84fa9147359022e6eb7820fed2a18df9cbbdea76650ed2679e6ee7cc",
+ "src/locales/ja.json": "dbbaf5560f557cba2d03a20dba103ca6439ac1a77fada9748941534198271561",
"src/locales/keyboards.json": "3f594a4cbec10cc8906017e2e41ce7dd4545f8dd4b70b3e9dff13ea4a57a3401",
- "src/locales/ko.json": "2f3b7f3e7ede2fdf8e4d93ede01f46dcb31010b9eec5ecf8c597930b86cb2614",
- "src/locales/nl.json": "a48ed3c82648b007d24abf4211aa06328739e33b1fdf11582bdb308542154538",
- "src/locales/pl.json": "d16627d1645b3baf6db3f5d6bc43c64a98e70a187c2b4626587bbb4771291e06",
- "src/locales/pt.json": "9f2a8af9e14dd488bd6ca69dc87d636e84822cbe8e8156b747ab03b2424ca2c2",
- "src/locales/ru.json": "045b527e8a98d4ae68ab4b6897f07f1a53048e2d53ce886eefaa0add0cd6e89c",
- "src/locales/tr.json": "ccf34332f10540071a82e7a75cfd131ed7d59bf9b2036329af0f76c10ade846c",
- "src/locales/ui.json": "bf396f21951e429dfcc09bd7b7bb255092b693a07f42f9aa8154415f3f86d09e",
- "src/locales/uk.json": "020368c12315130b1ab756af6720aae55157f66724ba501442384ab6b011ac74",
- "src/locales/zh-Hans.json": "fd87eba834530b3290b2ebbc73bfdef132fe95f685b7e3d6bb3a72fb321a4b10",
+ "src/locales/ko.json": "49eee1f6fbdb5d55f642b8950f786a69d817367716fcdf1f6e7901a6fff26a50",
+ "src/locales/nl.json": "747f86364b7cffd9c5c4af068eadd7e4b5079985134ffd127be0477ebc019f4c",
+ "src/locales/pl.json": "c5e3933b2fea615b3f5cced0e1a687387afa4feda78474e502f7270bf37d44c6",
+ "src/locales/pt.json": "a958ddcc54811b17a3300d81e399599ba3b98ae5c568ec14c6b339207f3660ec",
+ "src/locales/ru.json": "f343026d488b5f47459dd50f9345d21f77808de50af18193c7c3528d23cc15a4",
+ "src/locales/tr.json": "4746d53bd025d2f7badbdba8b930007b1b87c5813165f80982f28e6a60038ae1",
+ "src/locales/ui.json": "035f8ed827550340821665c8df8f085ea053ed05c26bfa5fa717567560d3ae30",
+ "src/locales/uk.json": "0b724c9f21e66fc6fb1f12c224e2f3ad786232625dd76e4a72ce0342543551a4",
+ "src/locales/zh-Hans.json": "8e4290717c44ebe526a5431ff1e1256ebfa82d80bd11ab237405b9a44916231b",
"src/navigation-builder/QAD7_FAST_QUERY.md": "f27d172e3e75d08069bd112f43c60ecb529d19a8a7f23534d50d17e0e455dc9b",
"src/navigation-builder/README.md": "7106cc02d5279a8ed8cf5ec3044fdda633a7e9f397670ffc69fd1e657bd869b2",
"src/navigation-builder/build_navigation.command": "7dee05508272befbf204fef16ea16e350d083bde151768989c3fd6244c266fcf",
@@ -2529,9 +2542,9 @@
"src/tests/atlas-real.c": "f0ecbe8e02781cca40b8b073e052ec14c9bba07957a824a667691f332806d50d",
"src/tests/atlas-viewport.c": "58cfad5b7f81ebe4f044665f42b8986770a399466f0a2b165805b58423a1c566",
"src/tests/atlas.c": "40fbbf07c562ea0ea61727a49cd678e2cb91ce89f60a0fd32211a503ad8dced2",
- "src/tests/audio-chime.c": "5aa522dcb82b154373f5e997a5e6c800223bc7ef1a7d97e48b01858f327477c6",
+ "src/tests/audio-chime.c": "840b87ee6d0b5d0686e10af52b3c5846bbba38ef610c5ba9317cc5ad71169e5e",
"src/tests/audio-decoder.c": "181132aee80a1c3d12b0107b4b932541ca3785c1735a3d63c5358b6859e9852f",
- "src/tests/audio-runtime.c": "1f2ca6e08eb0498bb3bb63f69ff3aaa49efbdaf099571682ec1775af84790c71",
+ "src/tests/audio-runtime.c": "809a62f6eb004c62b3808ac685be4efcb59dfe4ad5768b5b10e7368fade4e54d",
"src/tests/auto-theme.c": "3238d58a0d6b89cc29a5139e9fd0cd487eb184f9e5a4df1746c8b2ee94638071",
"src/tests/bluetooth-sources.c": "3e2009bbff7a041c71854d666daf6e17cca782cc9a3c9986d6f4e94809dc05e6",
"src/tests/boot-profile.c": "56fce86e8d9fa0a8201c91acb2637f8f4addd370f67e027ed5f5e2ba9ccf9a51",
@@ -2540,6 +2553,7 @@
"src/tests/camera-policy.c": "49d345c09c86f0ead4d6e7a7adda0ab9c357035d9e49efcbd869432501085a49",
"src/tests/cameras.csv": "db6687a42024753daf18cb39c8d15236a21d7d86fd86c2b45ba438178c15c3ce",
"src/tests/clock.c": "053bf2877588dedd7f07fcc3114353841ac6a89aa2d1dea3639aba4bf36ca6be",
+ "src/tests/clp3-link.c": "4de7242d9de1908c3034135c72381a7bb360efd39ad5b8f12a99a2093f38c40c",
"src/tests/coordinates.c": "f6a7fd95a512ead2936b76e8f6f0aedd72663c4309eb0bcbab4a8421af0aaf9c",
"src/tests/current-formats.c": "61c9258398eb7df507daabb11981fcfea83695f34ba54615c3037168c92765c6",
"src/tests/fixtures/console-input.h": "aac4cedb14862aba176aa8630ad07cae31f69db6ac2e955e8eeb129db0c20bc4",
@@ -2567,6 +2581,7 @@
"src/tests/mobility.c": "18136d514409fbf55a88809360750bbe84477016f696d12e69441a0b0c8e4f42",
"src/tests/native.c": "f125852e4e0c57f557417c378d8168db0eb36efa7e29938adcaf40528d660b37",
"src/tests/popups.c": "290a9acb7614fddc1db4df8ec3bb9ab82714059d73dd2f323f5e1f849c27911e",
+ "src/tests/qr-sync.c": "16cca33aa7195ca71752a37cd6a6792fbdb17dc13695c759249e9ef80418eeaf",
"src/tests/render-fast-paths.c": "9b3a316b8e5296bc9080b70c637f35ba6769f39c4f9a78553fd0cb7510f83e45",
"src/tests/roundabout.c": "26974c7465bd602d5776037a9b5eedb92b8e2ddf919f466ce4ef081f0cec8211",
"src/tests/speed-estimates.c": "d2a110bfb3946e08b129b298191dfdcc659c25db3afa589cb53add19a580522b",
@@ -2589,6 +2604,7 @@
"src/tests/test_update_card.py": "28c5e05dcc797d42d9194676788a78899f51332484ff9bfee6c1e8e5ed5b8a77",
"src/tests/test_vendor_download.py": "81f88c9c2c0c22f8def595f9f3874525b5f13d24a4a397f0cd8ba8e431e95821",
"src/tests/test_windows_launcher.ps1": "8477f422c8da37d94be2aa6456bb559f6cfa1fa063fc6ed135b7fc0d1775d171",
+ "src/tests/trip-multileg.c": "7adeb1939757fe6e68fd047557126a0d06f362fa954526956ce5088d84fd7953",
"src/tests/ui-labels-alerts.c": "44a84b6b36d4dcf83c77557983cbb372fa18f1d25b98f8616a51c80dc480f552",
"src/tests/unicode.c": "1e9f84b0c770b677d90404d09d5bb78e2259f9103274ed227129530264423ba9",
"src/tests/vehicle-input.c": "ab52964669bf5f5cbe3fd9612e0487c04a742021b01395f22b06045345404801",
@@ -2623,16 +2639,16 @@
"src/tools/prepare_card.py": "255fce1b39fe7aee2236c93cd9f6a93d6b0151eb75584faf51112e6893b54cbf",
"src/tools/prepare_vendor.py": "06fd0f8b978e7a33ca4702d310e0d6de2ee9b0fae7dc4efe4344eccdea636078",
"src/tools/profile_boot.py": "9de488c69bd32ba2063f783dc48fc0c8095761bd3b80b2a0fc3e5c67f00c9fb1",
- "src/tools/publication.py": "8991de50696e2eba1ed39cec0fb492b1acc112eae5014933b185b70145c8a38c",
+ "src/tools/publication.py": "32d5a92a9383e6fe112839def8e68162825173a0a9c56f99b9e82e580a94ac8d",
"src/tools/publication_install.py": "14e5d6c44bb909a5f23beb655dcfbe23aabe54ced7169e859c13ce06e1bab429",
"src/tools/rebuild_arm.py": "c9486ce954b5a477f7cc6147a380e8e8c304af345a5aba641151a570f8ff7e60",
"src/tools/refresh_latest.py": "8061af3f752e3dc81a2aec2bdc731d13de1b44b576c66ef80079957a161feef3",
"src/tools/regenerate_gifs.py": "02add3aee2bc6dabd4b967e0208729b515ea41396bbd009ea783ab675e4bb6c3",
"src/tools/release_version.py": "60af5fa9cfbd5fac724ae4f97d2b360517e37c365a966e5cbe789eb437e5871f",
- "src/tools/render_gallery.py": "36c04871c87b6496ab397b9ad0934810ade1aaa69a249959feebc101f1c9283e",
+ "src/tools/render_gallery.py": "ab49cc60c3ee153d68c9b72d951d8534bcb895f9026c7674226bf4077f9f5751",
"src/tools/render_locales.py": "dc11770d3298817f6079edf992be2f57c907c34940319fc43f7d54905a93c5be",
"src/tools/render_mapless_gifs.py": "702b871aa72d45fc0c16011de7343e0173b26e2386cd787a1064e8a42fc3fce3",
- "src/tools/render_previews.py": "77eac15cdaf05baa510106692a93828f1ce2b24fb79e1a3124e15b07e552f943",
+ "src/tools/render_previews.py": "e2db343661c60c28131971713d05d6403801ee9a3e11a4387dd6118e2bd8ddb5",
"src/tools/render_roundabout.py": "c72f8c7560b6a73bc39d7525934c28dcf270a7c87f6750ace097884938510924",
"src/tools/replay_history.py": "3660499909dc3f6c650d81cb8e822fd53dc65451a7bbf4d991f2553f322dee54",
"src/tools/runtime_integrity.py": "d90f5996548ca4383a5574ee18556b56d69bfeafb337043bc0b72d422f830d61",
@@ -2648,7 +2664,7 @@
"src/tools/verify_atlas_viewport.py": "174f24eb780d815cd5a45d14a6efb1df41d5ca80ce478f647d42f670d094df65",
"src/tools/verify_border.py": "13561c4fb256725da59835084755103a61df07024e9cc24d8b6c12c4b893a44d",
"src/tools/verify_camera_policy.py": "792be5eb7c86b818330b6884436d6369770354c04b4e5c257b76cea5791f4a55",
- "src/tools/verify_ci.py": "c4044dac18d3584a45327e54944ca47028d3a17a2123bcfe5e0be6163cf886f4",
+ "src/tools/verify_ci.py": "7bf9c4dc3ded78ffc3e6ad605188ded802824cabc27e6e592852302d0fb5ae14",
"src/tools/verify_country_atlas.py": "19c510692b29f95a102b77c8b1197dea2e80f99cc56c497160edbb0bd5b635f1",
"src/tools/verify_global.py": "bdb9723210ef78363239e506e76b165daddea1906acfde53eb830a5a68602f9a",
"src/tools/verify_install.py": "b6831be17ee935fadbb349bdc3dce54409b3aeb407ff1752489c38b5c13567fd",
@@ -2661,11 +2677,11 @@
"src/tools/verify_splash.py": "b4070f1f9dde63797bdaeb8f250bfddcfad8880fc11b2fa7f28736e52e1a2a5a",
"src/tools/verify_text_cache.py": "aa5cad2c209ae1e03e8cf28b60e4b2d5888a484b6a25475d2c2efd4d90b1f80a",
"src/tools/verify_unicode.py": "ee9416a59d936efa7a266a46b79622d1950a198fe4f7afb8ef922430159fda52",
- "SHA256SUMS": "4b506cb0c2df4376ed4e94e6c645d354c87be61c99d39ef76706b69c84922f70"
+ "SHA256SUMS": "09d27225f7d7b3a5efdbca8cb2df2e768f8f04d90dc38cdd309be3e37dbfce10"
},
"checks": {
"publication": {
- "source_files": 1316,
+ "source_files": 1324,
"text_and_links": {
"credential_patterns": "no high-confidence matches; not an exhaustive secret audit",
"owned_documentation_links": "verified local targets"
@@ -2760,7 +2776,7 @@
},
"popups.gif": {
"duration_ms": 7200,
- "frames": 70
+ "frames": 69
},
"metadata-updates.gif": {
"duration_ms": 9600,
@@ -2776,15 +2792,15 @@
},
"menus.gif": {
"duration_ms": 9900,
- "frames": 85
+ "frames": 83
},
"bluetooth.gif": {
"duration_ms": 4750,
"frames": 45
},
"phone-destination.gif": {
- "duration_ms": 7200,
- "frames": 11
+ "duration_ms": 8800,
+ "frames": 36
},
"speed-warning.gif": {
"duration_ms": 3650,
@@ -2813,6 +2829,14 @@
"add-stop.gif": {
"duration_ms": 6350,
"frames": 5
+ },
+ "v300-multileg-and-chevron.gif": {
+ "duration_ms": 10600,
+ "frames": 29
+ },
+ "v300-qr-sync-and-connect.gif": {
+ "duration_ms": 11100,
+ "frames": 34
}
},
"git_publication": "staged export; no Git index",
diff --git a/src/VERSION b/src/VERSION
index 23a63f5..4a36342 100644
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +1 @@
-2.2.8
+3.0.0
diff --git a/src/bootstrap-SHA256.json b/src/bootstrap-SHA256.json
index 4ed3703..55a8574 100644
--- a/src/bootstrap-SHA256.json
+++ b/src/bootstrap-SHA256.json
@@ -1,6 +1,6 @@
{
- "ttn": "6e0e29369221829cd6e4f1f146c8cd1bf21c6105449bda7d29b89028073c306a",
- "clio843/btstart.sh": "6d5b363f2dca57b9d07d10da61455f307bb202c95cd59ab711ed7f8a75f83174",
+ "ttn": "0fbad1b0c418b102e5ab8fd14ed6281638813b98f26bc3ef54356922f93743be",
+ "clio843/btstart.sh": "b9f27b12fc3530f33a4d0d47fefe43edcf2e816274af900756362a768f2670c4",
"clio843/focusd": "31145f8bebc5a35503bda94ee071b7ad1bf7b62727ed84c6887eba1600da1300",
"clio843/hidd": "6830044438d40b781ddcc49853d14e3291b6b70eda82176596209ce908c0e53d",
"clio843/prefs.ini": "a022c49ef39f0976e3faf92b43ad54a7d8a20758c72f71304388f233eb5fb299"
diff --git a/src/build-reports/clio040.build.json b/src/build-reports/clio040.build.json
index 808d273..081b18f 100644
--- a/src/build-reports/clio040.build.json
+++ b/src/build-reports/clio040.build.json
@@ -1,35 +1,35 @@
{
"machine": "ARM7TDMI / ARMv4T",
"abi": "ELF32 EABI5 soft-float; Linux OABI syscalls",
- "entry": "0x8eff4",
- "bytes": 1266204,
- "sha256": "f144fa36170e6d14ee7d22b7d16e713a8beda29c30ba6ddddc6e4959e27b7078",
+ "entry": "0x91354",
+ "bytes": 1317916,
+ "sha256": "9d35b8dcd7d7913abf46214d7d90d60b9d2941059017d360b4afd831c0577235",
"sections": {
".text": {
- "address": "0x8ee00",
- "bytes": 617244
+ "address": "0x91160",
+ "bytes": 653504
},
".rodata": {
"address": "0x10108",
- "bytes": 453878
+ "bytes": 462934
},
".data": {
- "address": "0x135920",
- "bytes": 1576
+ "address": "0x140a20",
+ "bytes": 1584
},
".bss": {
- "address": "0x135f50",
- "bytes": 12377872
+ "address": "0x141050",
+ "bytes": 12456672
}
},
- "version": "2.2.8",
+ "version": "3.0.0",
"source": "clio843/src/clio040.c",
- "source_tree_sha256": "04c211f4baa117b8156d3a09c981ed1583a360dd42aeec991a5ccf5d9f42051d",
+ "source_tree_sha256": "0ead4c4697af6698e765b3800d4fa249708b23ea07ef2bf21965a2542cbb307b",
"inputs": {
"clio843/src/arm_runtime.h": "d29e9228583e93e3007b37d42554b916ebef5c9c00c91db71310cd89eaf28bb8",
"clio843/src/atlas_catalog.h": "7c1c5599a121e702a0fe7ac89fc957e07086e27f20aaf1511971d197de3a39a0",
- "clio843/src/atlas_router.h": "2c2130e992435277157a46ce985554797269ef605393580fe3748cd0ed7bf514",
- "clio843/src/audio_chime.h": "31d9a5707c6fc561bd17f1df48ac89b8aee5a83e2a6beee6c47196a0ef52f0a7",
+ "clio843/src/atlas_router.h": "16f26644f44ffb95f4a6681d4922a15b0522b69f6651ccec8d5581964c3abfab",
+ "clio843/src/audio_chime.h": "05059a11671957e575fd6d623a66eccbc130237980145a539f55e34d95d41fc8",
"clio843/src/audio_playback.h": "25e0f01cd52eb89d447c5ecdf34f57bebeef36135c2912eaa3d49ec1ee7f13e1",
"clio843/src/audio_schedule.h": "bf37e189f7a0f372567287380820a357878fc1aaf519f85309224cd0d5ae85a6",
"clio843/src/boot_art.h": "367249c4bf35acfa7ce5092dce4a906c566d5e9e818d1bbd3d65c35ba128dbeb",
@@ -37,14 +37,14 @@
"clio843/src/boot_theme.h": "fa46f1bda9c0f37306c90f34d497192953aa718b30fa688291bbc7a66ddab746",
"clio843/src/boot_transition.h": "8ea391927a52cf8eaa9f010a70b8f8e012b768346ca9cd297110e40e6a850007",
"clio843/src/camera_icons.h": "19a560ac05e8e769659da5d7ba3c138ca600bf057c21664e9da31a03d9f5ac2c",
- "clio843/src/clio040.c": "f79e1919e2ee76c3036f34b15b6210d50ba186c6b8dc63f5c6370ba4630f238a",
- "clio843/src/clioa2dp.c": "1c4eea7def1c67b56af086f8c49c1e943bf3eb3ec59f1b6254d3fa1e599423d2",
+ "clio843/src/clio040.c": "a0122941df81bb56aca43cc8516b4b5698b937de4edad38511c513bbe04f02fc",
+ "clio843/src/clioa2dp.c": "0b24bd0f33e83ad62c1605eb3380d1200260a3e96a38a6ebbde97e2809e532a2",
"clio843/src/cliospl.c": "523530da194e4a859de29b448926f347d70c6c6c243d08d9b048fb68e08e3d33",
"clio843/src/coordinates.h": "303c229e4c186fab01b092a770a434fca622047b792515df940ddec1983109ef",
"clio843/src/cswd.c": "707aa0a1fdcd8048d2fa252a14ce32176fae347d512e11869f2905a69380530c",
"clio843/src/explore_frames.h": "840171782ef5b622da6746457e771303adc469fb13d43df4642efeea765fd0b8",
"clio843/src/font_atlas.h": "0989a1e455dd2a047dfea49d3e4d2a66a30b178960b80a2c31603ee80ffc4ffc",
- "clio843/src/frame_renderer.h": "ee6afde74d143203873f91fb853816ec52845a7f063f59eedc908c4d281d2087",
+ "clio843/src/frame_renderer.h": "1245a7a18894aaac685ad6efe12e9f427cded6e2f524e0d4e9516366c5797d89",
"clio843/src/frame_schedule.h": "1a564fd03b4d72aa20eab4fbaff200ea40458efc0d6d38bd83b73546c7588bbb",
"clio843/src/global_cameras.h": "3fc1b2aab42a5c72905f4be5a72e0f022a1190d7ca8a910903bb8dadb32ecb52",
"clio843/src/global_clock.h": "5fbcf43cb8aceb59e87d6f8118d121ce5798eec064c0ed5a7586a2eb25de8512",
@@ -52,7 +52,7 @@
"clio843/src/global_text.cc": "fcc87baf5b5a8073e1043c6a82f4021299f8757b32a8897966f1ed7f8c19cc4f",
"clio843/src/global_text.h": "afb6807676750c41030d6e6723b933c538774e622881251056c8091a00b48695",
"clio843/src/gps_panel.h": "31e8561c3c3087a9e8970faad199049b021d3800d138ae4c386d303b763166f0",
- "clio843/src/hud.h": "82745aa23e62a1fc7d52686b94b473154f14fee9f36c6c8c7513563c85e1aeba",
+ "clio843/src/hud.h": "b69455c0867b303fdc386a7ff740137115c12c2ff3e5439d5860436dadeac6c2",
"clio843/src/hud_glass.h": "e34158dabf25b53ec7e5aa55945305dc69e85001108a7f506fd83f00a1a25f23",
"clio843/src/hud_playback.h": "a2757e57a552bf1e03a30b7b62b60bf2ade02cf62ddf565531d2eb753f86f881",
"clio843/src/hud_status.h": "91f9d2cc57aeae72deebee57974292a8c3033631b4cd11b83d57fdececbaeaed",
@@ -63,25 +63,28 @@
"clio843/src/keyboard-data/pinyin.json": "25230af0cc85c9f9efe285151fc9633cd7bdcff3769351797e47a3f6d271dd14",
"clio843/src/keyboard.h": "f3237bf2ace7761c42968234f93ada0f25ea906498e8afa5437b83f127fe5649",
"clio843/src/last_fix.h": "eaf9a30204c7b146bf83ea6ea6f2f4a9c25486dcbf69bc366824888426668cca",
- "clio843/src/map_raster.h": "f309ddc10637873a3e5ca63fad1afee8a434f387951ef37ac8b5e4d12536958e",
+ "clio843/src/map_raster.h": "ec120f66b752609590cd0d854d81932382255da7292db04a15997ad3bb3e545d",
"clio843/src/map_thin_coverage.h": "d4632a1dd789176be35ded06a21b84d272d69910532f31e05dc03fbfc092e5fb",
"clio843/src/menu_keyboard.h": "394310c060e073c651cbc61a64c69d5ba61cfd4072e43277f70c40b8344e77f9",
"clio843/src/menu_layout.h": "c413f261277151f8bd9be15f08cc896a41fc186619ec607501c1a18a463bd23e",
- "clio843/src/menu_sheet.h": "e2068ba47e7e7dd4ad49d6c2b40eae7dcfe7fd5477b8338d9217709bde5428eb",
+ "clio843/src/menu_sheet.h": "de39684b25842d612ed13d386e70de035124f7b7f1c069d9bcc6e87f840f191c",
"clio843/src/mobility.h": "1d273f5222008c317917874383a259480e0495aa28a4e7e9485b88b9c1129a2a",
"clio843/src/mobility_ml.h": "beb1d1932b992f275ae343cfad1fa2b3c507f29e80b50d2981d8d0666aa01429",
"clio843/src/nav_roundabout.h": "470390303a8f18184a020710012ea0353d0425c26a1381bbaa4064ca2d7f39be",
"clio843/src/nearby_pois.h": "10ef610b741b7f7a49810350875f827068c8115330549ff5da5e74690a0e8038",
- "clio843/src/overlay_frames.h": "b1b6e79491dad7a2a62004f999793bccfef7bb6580b3a877777c284f4537557c",
+ "clio843/src/overlay_frames.h": "fa2bed7bba3b83f15b33bab9b7acd498965a7072453279c98175c538c8827a96",
"clio843/src/poi_icons.h": "4d9ae8f57e3fdf141dc21ad2e06ba9d90c7c5e4058b584fa47d614fdc265b4c8",
"clio843/src/popups.h": "b16c75163580e2fbbe17a9359bc473d368a57c3c8c2347b5d5f56ce73295f61d",
- "clio843/src/release_version.h": "f2affbc9bc676b9e4584baef3d94a401e2416d668c95207601fef9e7f9837481",
- "clio843/src/road_layout.h": "ca48845434ccc9e1e8fce974733a0d08a61abdfe8598cd73b9b68128aa9d392e",
+ "clio843/src/qr_encode.h": "978a2d4bd23c9059d8814e201226e8433700dd4586196b8269fb6fae78aa3841",
+ "clio843/src/qr_sync.h": "a55d8bfb5e36d8689c5918bd0e3abcf3d763e9b164bd4f74bb74eb1bcd532bf0",
+ "clio843/src/release_version.h": "67b19ffec050bac87ef8e800a0324dd721fbd73d8351b5e64af5fea1253e2ab9",
+ "clio843/src/road_layout.h": "a80fe8f1a22c65331ef0b2ded1473b080145a938f7cabbd655ce0f5f1c016935",
"clio843/src/speed_estimates.h": "557ced1d687e781032ccc5356b6c1f360f67aa2b4084ea8f1105ef1b32abe283",
"clio843/src/splash_icon.h": "1c0cb3bf3be97ce49cdf626bc0184b0736b49fee877a92f5bf2e5cb2d0ec17eb",
"clio843/src/traffic.h": "b1927acad9ddb72ba2ef205c23ef8743f278d533ceeac9e633dd608b31ddc20a",
+ "clio843/src/trip_plan.h": "8725d4932d941c06547afb5bba5c432f1a64ae6170bb5448c410d49a85dc4662",
"clio843/src/ui_raster.h": "50767eb3a56c5192daabb07944b255b34d4e77b1db48b14a30a6914871420284",
- "clio843/src/ui_translations.h": "2e534c8b09ad27caeef17a395f568610fb2fcac8273b20cc13286caddf1a2350",
+ "clio843/src/ui_translations.h": "15c349e3469e89e15c2abaacac591e41d3d527c276237d9a7a39c2d5bd140ab7",
"clio843/src/unicode_support.c": "43a20e8dde712fbdb5e087062ad68d3ae5aec704c1ab864dec9c57a99fd54b77",
"clio843/src/urban_speed_defaults.h": "a719a3d065f16bc39727b01d7ed73f412beeb4d8703b5bde73a8c6ff1c35ac10",
"clio843/src/utf8.h": "e6e172fb98b7f4c9e958322d13296190fd003025562c05146bcc9a3d50af8b7c",
@@ -1046,7 +1049,7 @@
"clio843/src/vendor/sheenbidi/Source/UBA/StatusStack.h": "348774283d029f4afa64b95ba9fe04240d754587b483a8bcc345e1d6e78c6261",
"clio843/src/vstatd.c": "a359d214853cdd511fb79e905fafc52f5413b635bb3288b268d04c15724a666f",
"tools/build_ui.py": "b5874193f7b1903d2da65043e329011c3df07a4b5fcfedd9e424814a905c5c05",
- "VERSION": "e235ebff02cdd23487d80fb82d07b8f746bd465f64c7ce9dc9979224481eb8eb",
+ "VERSION": "2985be8b28d3ade858e8d8fb4bc22f565b1bf6020dff982dce141f7721b9999c",
"tools/release_version.py": "60af5fa9cfbd5fac724ae4f97d2b360517e37c365a966e5cbe789eb437e5871f",
"tools/text_engine.py": "27a244e41899759de3ba647490d7e8d1971b2bf003a9ae608bbc3fb748910360",
"tools/build_translations.py": "f0970483186937bbbc3b86f4bab877a2a6fe244830e99ee9ac82c2f58858e6f0",
@@ -1059,23 +1062,23 @@
"tools/build_thin_coverage.py": "b483abfb45f8156f6afab36f53fbe82a776d4c3267d95fc61a68a0d793f6920c",
"navigation-builder/tools/global_speeds.py": "6b982546c655e144234d37fbc5c6da631a69be6e9041351861390636cd29bf50",
"navigation-builder/data/speed-contexts.json": "400cbbebb7450e58602fe8be6c9ba7a04b942c5e71ef058ab0a84de5f1855f67",
- "locales/ar.json": "caf32a67c17623d7f3869421a2cb9c70ebccf03121092df61bdcff57de6cd8c1",
- "locales/de.json": "5e69aa1643c0b373571c2f973f295d309b2d50be9208366434bdf7fe3b58abec",
- "locales/el.json": "a9edb44de1756516d5b9f1e0c4d5e1ceba41fc67b07e124b8849aecddabc3398",
- "locales/he.json": "9663f68bcb85c85536848b2073bfcc3ff7aab315078e79e5bd4ccbf42fb05ceb",
- "locales/hi.json": "e87ebf95390138c97583e52fd0b8a5d7b54c24fcb749ae451411ab787cfa667a",
- "locales/it.json": "a9a78303242a580a92e22d3539ccf61665a5b0737d609d11ffda45e00b1896d1",
- "locales/ja.json": "81b12deb4364b243469e4d586997dee6c263a7817604b863340310be89acf762",
+ "locales/ar.json": "e38275a7887164759594976ec6627ddd26c1016454e5b9813c41e70243461cb6",
+ "locales/de.json": "d13b4347796132e46a9e6c89b04365862f2572aa4362dda4d9d34921c0d0af71",
+ "locales/el.json": "0bf9f8be715049dda9b33a9260e74769016da7b538ccb65bdc8ded86fc81eb12",
+ "locales/he.json": "1a50c43dfa5a609a4c2c24e4cedda1ec48f8c84e08af67fe82f953ccd6b3deb2",
+ "locales/hi.json": "0bb44cad65c828755b73ccfe4b6300d03e144475a06c5dbee9213202c1009478",
+ "locales/it.json": "2aeea02c84fa9147359022e6eb7820fed2a18df9cbbdea76650ed2679e6ee7cc",
+ "locales/ja.json": "dbbaf5560f557cba2d03a20dba103ca6439ac1a77fada9748941534198271561",
"locales/keyboards.json": "3f594a4cbec10cc8906017e2e41ce7dd4545f8dd4b70b3e9dff13ea4a57a3401",
- "locales/ko.json": "2f3b7f3e7ede2fdf8e4d93ede01f46dcb31010b9eec5ecf8c597930b86cb2614",
- "locales/nl.json": "a48ed3c82648b007d24abf4211aa06328739e33b1fdf11582bdb308542154538",
- "locales/pl.json": "d16627d1645b3baf6db3f5d6bc43c64a98e70a187c2b4626587bbb4771291e06",
- "locales/pt.json": "9f2a8af9e14dd488bd6ca69dc87d636e84822cbe8e8156b747ab03b2424ca2c2",
- "locales/ru.json": "045b527e8a98d4ae68ab4b6897f07f1a53048e2d53ce886eefaa0add0cd6e89c",
- "locales/tr.json": "ccf34332f10540071a82e7a75cfd131ed7d59bf9b2036329af0f76c10ade846c",
- "locales/ui.json": "bf396f21951e429dfcc09bd7b7bb255092b693a07f42f9aa8154415f3f86d09e",
- "locales/uk.json": "020368c12315130b1ab756af6720aae55157f66724ba501442384ab6b011ac74",
- "locales/zh-Hans.json": "fd87eba834530b3290b2ebbc73bfdef132fe95f685b7e3d6bb3a72fb321a4b10"
+ "locales/ko.json": "49eee1f6fbdb5d55f642b8950f786a69d817367716fcdf1f6e7901a6fff26a50",
+ "locales/nl.json": "747f86364b7cffd9c5c4af068eadd7e4b5079985134ffd127be0477ebc019f4c",
+ "locales/pl.json": "c5e3933b2fea615b3f5cced0e1a687387afa4feda78474e502f7270bf37d44c6",
+ "locales/pt.json": "a958ddcc54811b17a3300d81e399599ba3b98ae5c568ec14c6b339207f3660ec",
+ "locales/ru.json": "f343026d488b5f47459dd50f9345d21f77808de50af18193c7c3528d23cc15a4",
+ "locales/tr.json": "4746d53bd025d2f7badbdba8b930007b1b87c5813165f80982f28e6a60038ae1",
+ "locales/ui.json": "035f8ed827550340821665c8df8f085ea053ed05c26bfa5fa717567560d3ae30",
+ "locales/uk.json": "0b724c9f21e66fc6fb1f12c224e2f3ad786232625dd76e4a72ce0342543551a4",
+ "locales/zh-Hans.json": "8e4290717c44ebe526a5431ff1e1256ebfa82d80bd11ab237405b9a44916231b"
},
"compiler": "Homebrew clang version 23.1.3",
"linker": "Homebrew LLD 23.1.3 (compatible with GNU linkers)",
diff --git a/src/build-reports/clioa2dp.build.json b/src/build-reports/clioa2dp.build.json
index 5966851..6b1b3df 100644
--- a/src/build-reports/clioa2dp.build.json
+++ b/src/build-reports/clioa2dp.build.json
@@ -1,35 +1,35 @@
{
"machine": "ARM7TDMI / ARMv4T",
"abi": "ELF32 EABI5 soft-float; Linux OABI syscalls",
- "entry": "0x21368",
- "bytes": 65240,
- "sha256": "a7bfc2483ad21a7d18b4dc90593905e5474c29b1e07d85bd4da4acf7a76f081e",
+ "entry": "0x2142c",
+ "bytes": 71944,
+ "sha256": "bb3e400c7bb1528e7237992ac1ccd480a44077111fc67feaf37d6208e8e98710",
"sections": {
".text": {
- "address": "0x2132c",
- "bytes": 47344
+ "address": "0x213f0",
+ "bytes": 53124
},
".rodata": {
"address": "0x10104",
- "bytes": 4648
+ "bytes": 4844
},
".data": {
- "address": "0x3cc1c",
- "bytes": 67
+ "address": "0x3e374",
+ "bytes": 64
},
".bss": {
- "address": "0x3cc60",
- "bytes": 5664
+ "address": "0x3e3b4",
+ "bytes": 5704
}
},
- "version": "2.2.8",
+ "version": "3.0.0",
"source": "clio843/src/clioa2dp.c",
- "source_tree_sha256": "04c211f4baa117b8156d3a09c981ed1583a360dd42aeec991a5ccf5d9f42051d",
+ "source_tree_sha256": "0ead4c4697af6698e765b3800d4fa249708b23ea07ef2bf21965a2542cbb307b",
"inputs": {
"clio843/src/arm_runtime.h": "d29e9228583e93e3007b37d42554b916ebef5c9c00c91db71310cd89eaf28bb8",
"clio843/src/atlas_catalog.h": "7c1c5599a121e702a0fe7ac89fc957e07086e27f20aaf1511971d197de3a39a0",
- "clio843/src/atlas_router.h": "2c2130e992435277157a46ce985554797269ef605393580fe3748cd0ed7bf514",
- "clio843/src/audio_chime.h": "31d9a5707c6fc561bd17f1df48ac89b8aee5a83e2a6beee6c47196a0ef52f0a7",
+ "clio843/src/atlas_router.h": "16f26644f44ffb95f4a6681d4922a15b0522b69f6651ccec8d5581964c3abfab",
+ "clio843/src/audio_chime.h": "05059a11671957e575fd6d623a66eccbc130237980145a539f55e34d95d41fc8",
"clio843/src/audio_playback.h": "25e0f01cd52eb89d447c5ecdf34f57bebeef36135c2912eaa3d49ec1ee7f13e1",
"clio843/src/audio_schedule.h": "bf37e189f7a0f372567287380820a357878fc1aaf519f85309224cd0d5ae85a6",
"clio843/src/boot_art.h": "367249c4bf35acfa7ce5092dce4a906c566d5e9e818d1bbd3d65c35ba128dbeb",
@@ -37,14 +37,14 @@
"clio843/src/boot_theme.h": "fa46f1bda9c0f37306c90f34d497192953aa718b30fa688291bbc7a66ddab746",
"clio843/src/boot_transition.h": "8ea391927a52cf8eaa9f010a70b8f8e012b768346ca9cd297110e40e6a850007",
"clio843/src/camera_icons.h": "19a560ac05e8e769659da5d7ba3c138ca600bf057c21664e9da31a03d9f5ac2c",
- "clio843/src/clio040.c": "f79e1919e2ee76c3036f34b15b6210d50ba186c6b8dc63f5c6370ba4630f238a",
- "clio843/src/clioa2dp.c": "1c4eea7def1c67b56af086f8c49c1e943bf3eb3ec59f1b6254d3fa1e599423d2",
+ "clio843/src/clio040.c": "a0122941df81bb56aca43cc8516b4b5698b937de4edad38511c513bbe04f02fc",
+ "clio843/src/clioa2dp.c": "0b24bd0f33e83ad62c1605eb3380d1200260a3e96a38a6ebbde97e2809e532a2",
"clio843/src/cliospl.c": "523530da194e4a859de29b448926f347d70c6c6c243d08d9b048fb68e08e3d33",
"clio843/src/coordinates.h": "303c229e4c186fab01b092a770a434fca622047b792515df940ddec1983109ef",
"clio843/src/cswd.c": "707aa0a1fdcd8048d2fa252a14ce32176fae347d512e11869f2905a69380530c",
"clio843/src/explore_frames.h": "840171782ef5b622da6746457e771303adc469fb13d43df4642efeea765fd0b8",
"clio843/src/font_atlas.h": "0989a1e455dd2a047dfea49d3e4d2a66a30b178960b80a2c31603ee80ffc4ffc",
- "clio843/src/frame_renderer.h": "ee6afde74d143203873f91fb853816ec52845a7f063f59eedc908c4d281d2087",
+ "clio843/src/frame_renderer.h": "1245a7a18894aaac685ad6efe12e9f427cded6e2f524e0d4e9516366c5797d89",
"clio843/src/frame_schedule.h": "1a564fd03b4d72aa20eab4fbaff200ea40458efc0d6d38bd83b73546c7588bbb",
"clio843/src/global_cameras.h": "3fc1b2aab42a5c72905f4be5a72e0f022a1190d7ca8a910903bb8dadb32ecb52",
"clio843/src/global_clock.h": "5fbcf43cb8aceb59e87d6f8118d121ce5798eec064c0ed5a7586a2eb25de8512",
@@ -52,7 +52,7 @@
"clio843/src/global_text.cc": "fcc87baf5b5a8073e1043c6a82f4021299f8757b32a8897966f1ed7f8c19cc4f",
"clio843/src/global_text.h": "afb6807676750c41030d6e6723b933c538774e622881251056c8091a00b48695",
"clio843/src/gps_panel.h": "31e8561c3c3087a9e8970faad199049b021d3800d138ae4c386d303b763166f0",
- "clio843/src/hud.h": "82745aa23e62a1fc7d52686b94b473154f14fee9f36c6c8c7513563c85e1aeba",
+ "clio843/src/hud.h": "b69455c0867b303fdc386a7ff740137115c12c2ff3e5439d5860436dadeac6c2",
"clio843/src/hud_glass.h": "e34158dabf25b53ec7e5aa55945305dc69e85001108a7f506fd83f00a1a25f23",
"clio843/src/hud_playback.h": "a2757e57a552bf1e03a30b7b62b60bf2ade02cf62ddf565531d2eb753f86f881",
"clio843/src/hud_status.h": "91f9d2cc57aeae72deebee57974292a8c3033631b4cd11b83d57fdececbaeaed",
@@ -63,25 +63,28 @@
"clio843/src/keyboard-data/pinyin.json": "25230af0cc85c9f9efe285151fc9633cd7bdcff3769351797e47a3f6d271dd14",
"clio843/src/keyboard.h": "f3237bf2ace7761c42968234f93ada0f25ea906498e8afa5437b83f127fe5649",
"clio843/src/last_fix.h": "eaf9a30204c7b146bf83ea6ea6f2f4a9c25486dcbf69bc366824888426668cca",
- "clio843/src/map_raster.h": "f309ddc10637873a3e5ca63fad1afee8a434f387951ef37ac8b5e4d12536958e",
+ "clio843/src/map_raster.h": "ec120f66b752609590cd0d854d81932382255da7292db04a15997ad3bb3e545d",
"clio843/src/map_thin_coverage.h": "d4632a1dd789176be35ded06a21b84d272d69910532f31e05dc03fbfc092e5fb",
"clio843/src/menu_keyboard.h": "394310c060e073c651cbc61a64c69d5ba61cfd4072e43277f70c40b8344e77f9",
"clio843/src/menu_layout.h": "c413f261277151f8bd9be15f08cc896a41fc186619ec607501c1a18a463bd23e",
- "clio843/src/menu_sheet.h": "e2068ba47e7e7dd4ad49d6c2b40eae7dcfe7fd5477b8338d9217709bde5428eb",
+ "clio843/src/menu_sheet.h": "de39684b25842d612ed13d386e70de035124f7b7f1c069d9bcc6e87f840f191c",
"clio843/src/mobility.h": "1d273f5222008c317917874383a259480e0495aa28a4e7e9485b88b9c1129a2a",
"clio843/src/mobility_ml.h": "beb1d1932b992f275ae343cfad1fa2b3c507f29e80b50d2981d8d0666aa01429",
"clio843/src/nav_roundabout.h": "470390303a8f18184a020710012ea0353d0425c26a1381bbaa4064ca2d7f39be",
"clio843/src/nearby_pois.h": "10ef610b741b7f7a49810350875f827068c8115330549ff5da5e74690a0e8038",
- "clio843/src/overlay_frames.h": "b1b6e79491dad7a2a62004f999793bccfef7bb6580b3a877777c284f4537557c",
+ "clio843/src/overlay_frames.h": "fa2bed7bba3b83f15b33bab9b7acd498965a7072453279c98175c538c8827a96",
"clio843/src/poi_icons.h": "4d9ae8f57e3fdf141dc21ad2e06ba9d90c7c5e4058b584fa47d614fdc265b4c8",
"clio843/src/popups.h": "b16c75163580e2fbbe17a9359bc473d368a57c3c8c2347b5d5f56ce73295f61d",
- "clio843/src/release_version.h": "f2affbc9bc676b9e4584baef3d94a401e2416d668c95207601fef9e7f9837481",
- "clio843/src/road_layout.h": "ca48845434ccc9e1e8fce974733a0d08a61abdfe8598cd73b9b68128aa9d392e",
+ "clio843/src/qr_encode.h": "978a2d4bd23c9059d8814e201226e8433700dd4586196b8269fb6fae78aa3841",
+ "clio843/src/qr_sync.h": "a55d8bfb5e36d8689c5918bd0e3abcf3d763e9b164bd4f74bb74eb1bcd532bf0",
+ "clio843/src/release_version.h": "67b19ffec050bac87ef8e800a0324dd721fbd73d8351b5e64af5fea1253e2ab9",
+ "clio843/src/road_layout.h": "a80fe8f1a22c65331ef0b2ded1473b080145a938f7cabbd655ce0f5f1c016935",
"clio843/src/speed_estimates.h": "557ced1d687e781032ccc5356b6c1f360f67aa2b4084ea8f1105ef1b32abe283",
"clio843/src/splash_icon.h": "1c0cb3bf3be97ce49cdf626bc0184b0736b49fee877a92f5bf2e5cb2d0ec17eb",
"clio843/src/traffic.h": "b1927acad9ddb72ba2ef205c23ef8743f278d533ceeac9e633dd608b31ddc20a",
+ "clio843/src/trip_plan.h": "8725d4932d941c06547afb5bba5c432f1a64ae6170bb5448c410d49a85dc4662",
"clio843/src/ui_raster.h": "50767eb3a56c5192daabb07944b255b34d4e77b1db48b14a30a6914871420284",
- "clio843/src/ui_translations.h": "2e534c8b09ad27caeef17a395f568610fb2fcac8273b20cc13286caddf1a2350",
+ "clio843/src/ui_translations.h": "15c349e3469e89e15c2abaacac591e41d3d527c276237d9a7a39c2d5bd140ab7",
"clio843/src/unicode_support.c": "43a20e8dde712fbdb5e087062ad68d3ae5aec704c1ab864dec9c57a99fd54b77",
"clio843/src/urban_speed_defaults.h": "a719a3d065f16bc39727b01d7ed73f412beeb4d8703b5bde73a8c6ff1c35ac10",
"clio843/src/utf8.h": "e6e172fb98b7f4c9e958322d13296190fd003025562c05146bcc9a3d50af8b7c",
@@ -1046,7 +1049,7 @@
"clio843/src/vendor/sheenbidi/Source/UBA/StatusStack.h": "348774283d029f4afa64b95ba9fe04240d754587b483a8bcc345e1d6e78c6261",
"clio843/src/vstatd.c": "a359d214853cdd511fb79e905fafc52f5413b635bb3288b268d04c15724a666f",
"tools/build_ui.py": "b5874193f7b1903d2da65043e329011c3df07a4b5fcfedd9e424814a905c5c05",
- "VERSION": "e235ebff02cdd23487d80fb82d07b8f746bd465f64c7ce9dc9979224481eb8eb",
+ "VERSION": "2985be8b28d3ade858e8d8fb4bc22f565b1bf6020dff982dce141f7721b9999c",
"tools/release_version.py": "60af5fa9cfbd5fac724ae4f97d2b360517e37c365a966e5cbe789eb437e5871f",
"tools/text_engine.py": "27a244e41899759de3ba647490d7e8d1971b2bf003a9ae608bbc3fb748910360",
"tools/build_translations.py": "f0970483186937bbbc3b86f4bab877a2a6fe244830e99ee9ac82c2f58858e6f0",
@@ -1059,23 +1062,23 @@
"tools/build_thin_coverage.py": "b483abfb45f8156f6afab36f53fbe82a776d4c3267d95fc61a68a0d793f6920c",
"navigation-builder/tools/global_speeds.py": "6b982546c655e144234d37fbc5c6da631a69be6e9041351861390636cd29bf50",
"navigation-builder/data/speed-contexts.json": "400cbbebb7450e58602fe8be6c9ba7a04b942c5e71ef058ab0a84de5f1855f67",
- "locales/ar.json": "caf32a67c17623d7f3869421a2cb9c70ebccf03121092df61bdcff57de6cd8c1",
- "locales/de.json": "5e69aa1643c0b373571c2f973f295d309b2d50be9208366434bdf7fe3b58abec",
- "locales/el.json": "a9edb44de1756516d5b9f1e0c4d5e1ceba41fc67b07e124b8849aecddabc3398",
- "locales/he.json": "9663f68bcb85c85536848b2073bfcc3ff7aab315078e79e5bd4ccbf42fb05ceb",
- "locales/hi.json": "e87ebf95390138c97583e52fd0b8a5d7b54c24fcb749ae451411ab787cfa667a",
- "locales/it.json": "a9a78303242a580a92e22d3539ccf61665a5b0737d609d11ffda45e00b1896d1",
- "locales/ja.json": "81b12deb4364b243469e4d586997dee6c263a7817604b863340310be89acf762",
+ "locales/ar.json": "e38275a7887164759594976ec6627ddd26c1016454e5b9813c41e70243461cb6",
+ "locales/de.json": "d13b4347796132e46a9e6c89b04365862f2572aa4362dda4d9d34921c0d0af71",
+ "locales/el.json": "0bf9f8be715049dda9b33a9260e74769016da7b538ccb65bdc8ded86fc81eb12",
+ "locales/he.json": "1a50c43dfa5a609a4c2c24e4cedda1ec48f8c84e08af67fe82f953ccd6b3deb2",
+ "locales/hi.json": "0bb44cad65c828755b73ccfe4b6300d03e144475a06c5dbee9213202c1009478",
+ "locales/it.json": "2aeea02c84fa9147359022e6eb7820fed2a18df9cbbdea76650ed2679e6ee7cc",
+ "locales/ja.json": "dbbaf5560f557cba2d03a20dba103ca6439ac1a77fada9748941534198271561",
"locales/keyboards.json": "3f594a4cbec10cc8906017e2e41ce7dd4545f8dd4b70b3e9dff13ea4a57a3401",
- "locales/ko.json": "2f3b7f3e7ede2fdf8e4d93ede01f46dcb31010b9eec5ecf8c597930b86cb2614",
- "locales/nl.json": "a48ed3c82648b007d24abf4211aa06328739e33b1fdf11582bdb308542154538",
- "locales/pl.json": "d16627d1645b3baf6db3f5d6bc43c64a98e70a187c2b4626587bbb4771291e06",
- "locales/pt.json": "9f2a8af9e14dd488bd6ca69dc87d636e84822cbe8e8156b747ab03b2424ca2c2",
- "locales/ru.json": "045b527e8a98d4ae68ab4b6897f07f1a53048e2d53ce886eefaa0add0cd6e89c",
- "locales/tr.json": "ccf34332f10540071a82e7a75cfd131ed7d59bf9b2036329af0f76c10ade846c",
- "locales/ui.json": "bf396f21951e429dfcc09bd7b7bb255092b693a07f42f9aa8154415f3f86d09e",
- "locales/uk.json": "020368c12315130b1ab756af6720aae55157f66724ba501442384ab6b011ac74",
- "locales/zh-Hans.json": "fd87eba834530b3290b2ebbc73bfdef132fe95f685b7e3d6bb3a72fb321a4b10"
+ "locales/ko.json": "49eee1f6fbdb5d55f642b8950f786a69d817367716fcdf1f6e7901a6fff26a50",
+ "locales/nl.json": "747f86364b7cffd9c5c4af068eadd7e4b5079985134ffd127be0477ebc019f4c",
+ "locales/pl.json": "c5e3933b2fea615b3f5cced0e1a687387afa4feda78474e502f7270bf37d44c6",
+ "locales/pt.json": "a958ddcc54811b17a3300d81e399599ba3b98ae5c568ec14c6b339207f3660ec",
+ "locales/ru.json": "f343026d488b5f47459dd50f9345d21f77808de50af18193c7c3528d23cc15a4",
+ "locales/tr.json": "4746d53bd025d2f7badbdba8b930007b1b87c5813165f80982f28e6a60038ae1",
+ "locales/ui.json": "035f8ed827550340821665c8df8f085ea053ed05c26bfa5fa717567560d3ae30",
+ "locales/uk.json": "0b724c9f21e66fc6fb1f12c224e2f3ad786232625dd76e4a72ce0342543551a4",
+ "locales/zh-Hans.json": "8e4290717c44ebe526a5431ff1e1256ebfa82d80bd11ab237405b9a44916231b"
},
"compiler": "Homebrew clang version 23.1.3",
"linker": "Homebrew LLD 23.1.3 (compatible with GNU linkers)",
diff --git a/src/build-reports/cliospl.build.json b/src/build-reports/cliospl.build.json
index 9096390..8ca9185 100644
--- a/src/build-reports/cliospl.build.json
+++ b/src/build-reports/cliospl.build.json
@@ -3,7 +3,7 @@
"abi": "ELF32 EABI5 soft-float; Linux OABI syscalls",
"entry": "0x331a4",
"bytes": 84220,
- "sha256": "c72094ea20df54dd1b1279769d68ec1a9f4ce1998477e8ccb30f854711aa5318",
+ "sha256": "588c8cabcb30b6ed0e9a6857d78ff2eaaf4c2f1a3cc8afc60cc1ef3b44e55f2e",
"sections": {
".text": {
"address": "0x331a4",
@@ -22,14 +22,14 @@
"bytes": 261124
}
},
- "version": "2.2.8",
+ "version": "3.0.0",
"source": "clio843/src/cliospl.c",
- "source_tree_sha256": "04c211f4baa117b8156d3a09c981ed1583a360dd42aeec991a5ccf5d9f42051d",
+ "source_tree_sha256": "0ead4c4697af6698e765b3800d4fa249708b23ea07ef2bf21965a2542cbb307b",
"inputs": {
"clio843/src/arm_runtime.h": "d29e9228583e93e3007b37d42554b916ebef5c9c00c91db71310cd89eaf28bb8",
"clio843/src/atlas_catalog.h": "7c1c5599a121e702a0fe7ac89fc957e07086e27f20aaf1511971d197de3a39a0",
- "clio843/src/atlas_router.h": "2c2130e992435277157a46ce985554797269ef605393580fe3748cd0ed7bf514",
- "clio843/src/audio_chime.h": "31d9a5707c6fc561bd17f1df48ac89b8aee5a83e2a6beee6c47196a0ef52f0a7",
+ "clio843/src/atlas_router.h": "16f26644f44ffb95f4a6681d4922a15b0522b69f6651ccec8d5581964c3abfab",
+ "clio843/src/audio_chime.h": "05059a11671957e575fd6d623a66eccbc130237980145a539f55e34d95d41fc8",
"clio843/src/audio_playback.h": "25e0f01cd52eb89d447c5ecdf34f57bebeef36135c2912eaa3d49ec1ee7f13e1",
"clio843/src/audio_schedule.h": "bf37e189f7a0f372567287380820a357878fc1aaf519f85309224cd0d5ae85a6",
"clio843/src/boot_art.h": "367249c4bf35acfa7ce5092dce4a906c566d5e9e818d1bbd3d65c35ba128dbeb",
@@ -37,14 +37,14 @@
"clio843/src/boot_theme.h": "fa46f1bda9c0f37306c90f34d497192953aa718b30fa688291bbc7a66ddab746",
"clio843/src/boot_transition.h": "8ea391927a52cf8eaa9f010a70b8f8e012b768346ca9cd297110e40e6a850007",
"clio843/src/camera_icons.h": "19a560ac05e8e769659da5d7ba3c138ca600bf057c21664e9da31a03d9f5ac2c",
- "clio843/src/clio040.c": "f79e1919e2ee76c3036f34b15b6210d50ba186c6b8dc63f5c6370ba4630f238a",
- "clio843/src/clioa2dp.c": "1c4eea7def1c67b56af086f8c49c1e943bf3eb3ec59f1b6254d3fa1e599423d2",
+ "clio843/src/clio040.c": "a0122941df81bb56aca43cc8516b4b5698b937de4edad38511c513bbe04f02fc",
+ "clio843/src/clioa2dp.c": "0b24bd0f33e83ad62c1605eb3380d1200260a3e96a38a6ebbde97e2809e532a2",
"clio843/src/cliospl.c": "523530da194e4a859de29b448926f347d70c6c6c243d08d9b048fb68e08e3d33",
"clio843/src/coordinates.h": "303c229e4c186fab01b092a770a434fca622047b792515df940ddec1983109ef",
"clio843/src/cswd.c": "707aa0a1fdcd8048d2fa252a14ce32176fae347d512e11869f2905a69380530c",
"clio843/src/explore_frames.h": "840171782ef5b622da6746457e771303adc469fb13d43df4642efeea765fd0b8",
"clio843/src/font_atlas.h": "0989a1e455dd2a047dfea49d3e4d2a66a30b178960b80a2c31603ee80ffc4ffc",
- "clio843/src/frame_renderer.h": "ee6afde74d143203873f91fb853816ec52845a7f063f59eedc908c4d281d2087",
+ "clio843/src/frame_renderer.h": "1245a7a18894aaac685ad6efe12e9f427cded6e2f524e0d4e9516366c5797d89",
"clio843/src/frame_schedule.h": "1a564fd03b4d72aa20eab4fbaff200ea40458efc0d6d38bd83b73546c7588bbb",
"clio843/src/global_cameras.h": "3fc1b2aab42a5c72905f4be5a72e0f022a1190d7ca8a910903bb8dadb32ecb52",
"clio843/src/global_clock.h": "5fbcf43cb8aceb59e87d6f8118d121ce5798eec064c0ed5a7586a2eb25de8512",
@@ -52,7 +52,7 @@
"clio843/src/global_text.cc": "fcc87baf5b5a8073e1043c6a82f4021299f8757b32a8897966f1ed7f8c19cc4f",
"clio843/src/global_text.h": "afb6807676750c41030d6e6723b933c538774e622881251056c8091a00b48695",
"clio843/src/gps_panel.h": "31e8561c3c3087a9e8970faad199049b021d3800d138ae4c386d303b763166f0",
- "clio843/src/hud.h": "82745aa23e62a1fc7d52686b94b473154f14fee9f36c6c8c7513563c85e1aeba",
+ "clio843/src/hud.h": "b69455c0867b303fdc386a7ff740137115c12c2ff3e5439d5860436dadeac6c2",
"clio843/src/hud_glass.h": "e34158dabf25b53ec7e5aa55945305dc69e85001108a7f506fd83f00a1a25f23",
"clio843/src/hud_playback.h": "a2757e57a552bf1e03a30b7b62b60bf2ade02cf62ddf565531d2eb753f86f881",
"clio843/src/hud_status.h": "91f9d2cc57aeae72deebee57974292a8c3033631b4cd11b83d57fdececbaeaed",
@@ -63,25 +63,28 @@
"clio843/src/keyboard-data/pinyin.json": "25230af0cc85c9f9efe285151fc9633cd7bdcff3769351797e47a3f6d271dd14",
"clio843/src/keyboard.h": "f3237bf2ace7761c42968234f93ada0f25ea906498e8afa5437b83f127fe5649",
"clio843/src/last_fix.h": "eaf9a30204c7b146bf83ea6ea6f2f4a9c25486dcbf69bc366824888426668cca",
- "clio843/src/map_raster.h": "f309ddc10637873a3e5ca63fad1afee8a434f387951ef37ac8b5e4d12536958e",
+ "clio843/src/map_raster.h": "ec120f66b752609590cd0d854d81932382255da7292db04a15997ad3bb3e545d",
"clio843/src/map_thin_coverage.h": "d4632a1dd789176be35ded06a21b84d272d69910532f31e05dc03fbfc092e5fb",
"clio843/src/menu_keyboard.h": "394310c060e073c651cbc61a64c69d5ba61cfd4072e43277f70c40b8344e77f9",
"clio843/src/menu_layout.h": "c413f261277151f8bd9be15f08cc896a41fc186619ec607501c1a18a463bd23e",
- "clio843/src/menu_sheet.h": "e2068ba47e7e7dd4ad49d6c2b40eae7dcfe7fd5477b8338d9217709bde5428eb",
+ "clio843/src/menu_sheet.h": "de39684b25842d612ed13d386e70de035124f7b7f1c069d9bcc6e87f840f191c",
"clio843/src/mobility.h": "1d273f5222008c317917874383a259480e0495aa28a4e7e9485b88b9c1129a2a",
"clio843/src/mobility_ml.h": "beb1d1932b992f275ae343cfad1fa2b3c507f29e80b50d2981d8d0666aa01429",
"clio843/src/nav_roundabout.h": "470390303a8f18184a020710012ea0353d0425c26a1381bbaa4064ca2d7f39be",
"clio843/src/nearby_pois.h": "10ef610b741b7f7a49810350875f827068c8115330549ff5da5e74690a0e8038",
- "clio843/src/overlay_frames.h": "b1b6e79491dad7a2a62004f999793bccfef7bb6580b3a877777c284f4537557c",
+ "clio843/src/overlay_frames.h": "fa2bed7bba3b83f15b33bab9b7acd498965a7072453279c98175c538c8827a96",
"clio843/src/poi_icons.h": "4d9ae8f57e3fdf141dc21ad2e06ba9d90c7c5e4058b584fa47d614fdc265b4c8",
"clio843/src/popups.h": "b16c75163580e2fbbe17a9359bc473d368a57c3c8c2347b5d5f56ce73295f61d",
- "clio843/src/release_version.h": "f2affbc9bc676b9e4584baef3d94a401e2416d668c95207601fef9e7f9837481",
- "clio843/src/road_layout.h": "ca48845434ccc9e1e8fce974733a0d08a61abdfe8598cd73b9b68128aa9d392e",
+ "clio843/src/qr_encode.h": "978a2d4bd23c9059d8814e201226e8433700dd4586196b8269fb6fae78aa3841",
+ "clio843/src/qr_sync.h": "a55d8bfb5e36d8689c5918bd0e3abcf3d763e9b164bd4f74bb74eb1bcd532bf0",
+ "clio843/src/release_version.h": "67b19ffec050bac87ef8e800a0324dd721fbd73d8351b5e64af5fea1253e2ab9",
+ "clio843/src/road_layout.h": "a80fe8f1a22c65331ef0b2ded1473b080145a938f7cabbd655ce0f5f1c016935",
"clio843/src/speed_estimates.h": "557ced1d687e781032ccc5356b6c1f360f67aa2b4084ea8f1105ef1b32abe283",
"clio843/src/splash_icon.h": "1c0cb3bf3be97ce49cdf626bc0184b0736b49fee877a92f5bf2e5cb2d0ec17eb",
"clio843/src/traffic.h": "b1927acad9ddb72ba2ef205c23ef8743f278d533ceeac9e633dd608b31ddc20a",
+ "clio843/src/trip_plan.h": "8725d4932d941c06547afb5bba5c432f1a64ae6170bb5448c410d49a85dc4662",
"clio843/src/ui_raster.h": "50767eb3a56c5192daabb07944b255b34d4e77b1db48b14a30a6914871420284",
- "clio843/src/ui_translations.h": "2e534c8b09ad27caeef17a395f568610fb2fcac8273b20cc13286caddf1a2350",
+ "clio843/src/ui_translations.h": "15c349e3469e89e15c2abaacac591e41d3d527c276237d9a7a39c2d5bd140ab7",
"clio843/src/unicode_support.c": "43a20e8dde712fbdb5e087062ad68d3ae5aec704c1ab864dec9c57a99fd54b77",
"clio843/src/urban_speed_defaults.h": "a719a3d065f16bc39727b01d7ed73f412beeb4d8703b5bde73a8c6ff1c35ac10",
"clio843/src/utf8.h": "e6e172fb98b7f4c9e958322d13296190fd003025562c05146bcc9a3d50af8b7c",
@@ -1046,7 +1049,7 @@
"clio843/src/vendor/sheenbidi/Source/UBA/StatusStack.h": "348774283d029f4afa64b95ba9fe04240d754587b483a8bcc345e1d6e78c6261",
"clio843/src/vstatd.c": "a359d214853cdd511fb79e905fafc52f5413b635bb3288b268d04c15724a666f",
"tools/build_ui.py": "b5874193f7b1903d2da65043e329011c3df07a4b5fcfedd9e424814a905c5c05",
- "VERSION": "e235ebff02cdd23487d80fb82d07b8f746bd465f64c7ce9dc9979224481eb8eb",
+ "VERSION": "2985be8b28d3ade858e8d8fb4bc22f565b1bf6020dff982dce141f7721b9999c",
"tools/release_version.py": "60af5fa9cfbd5fac724ae4f97d2b360517e37c365a966e5cbe789eb437e5871f",
"tools/text_engine.py": "27a244e41899759de3ba647490d7e8d1971b2bf003a9ae608bbc3fb748910360",
"tools/build_translations.py": "f0970483186937bbbc3b86f4bab877a2a6fe244830e99ee9ac82c2f58858e6f0",
@@ -1059,23 +1062,23 @@
"tools/build_thin_coverage.py": "b483abfb45f8156f6afab36f53fbe82a776d4c3267d95fc61a68a0d793f6920c",
"navigation-builder/tools/global_speeds.py": "6b982546c655e144234d37fbc5c6da631a69be6e9041351861390636cd29bf50",
"navigation-builder/data/speed-contexts.json": "400cbbebb7450e58602fe8be6c9ba7a04b942c5e71ef058ab0a84de5f1855f67",
- "locales/ar.json": "caf32a67c17623d7f3869421a2cb9c70ebccf03121092df61bdcff57de6cd8c1",
- "locales/de.json": "5e69aa1643c0b373571c2f973f295d309b2d50be9208366434bdf7fe3b58abec",
- "locales/el.json": "a9edb44de1756516d5b9f1e0c4d5e1ceba41fc67b07e124b8849aecddabc3398",
- "locales/he.json": "9663f68bcb85c85536848b2073bfcc3ff7aab315078e79e5bd4ccbf42fb05ceb",
- "locales/hi.json": "e87ebf95390138c97583e52fd0b8a5d7b54c24fcb749ae451411ab787cfa667a",
- "locales/it.json": "a9a78303242a580a92e22d3539ccf61665a5b0737d609d11ffda45e00b1896d1",
- "locales/ja.json": "81b12deb4364b243469e4d586997dee6c263a7817604b863340310be89acf762",
+ "locales/ar.json": "e38275a7887164759594976ec6627ddd26c1016454e5b9813c41e70243461cb6",
+ "locales/de.json": "d13b4347796132e46a9e6c89b04365862f2572aa4362dda4d9d34921c0d0af71",
+ "locales/el.json": "0bf9f8be715049dda9b33a9260e74769016da7b538ccb65bdc8ded86fc81eb12",
+ "locales/he.json": "1a50c43dfa5a609a4c2c24e4cedda1ec48f8c84e08af67fe82f953ccd6b3deb2",
+ "locales/hi.json": "0bb44cad65c828755b73ccfe4b6300d03e144475a06c5dbee9213202c1009478",
+ "locales/it.json": "2aeea02c84fa9147359022e6eb7820fed2a18df9cbbdea76650ed2679e6ee7cc",
+ "locales/ja.json": "dbbaf5560f557cba2d03a20dba103ca6439ac1a77fada9748941534198271561",
"locales/keyboards.json": "3f594a4cbec10cc8906017e2e41ce7dd4545f8dd4b70b3e9dff13ea4a57a3401",
- "locales/ko.json": "2f3b7f3e7ede2fdf8e4d93ede01f46dcb31010b9eec5ecf8c597930b86cb2614",
- "locales/nl.json": "a48ed3c82648b007d24abf4211aa06328739e33b1fdf11582bdb308542154538",
- "locales/pl.json": "d16627d1645b3baf6db3f5d6bc43c64a98e70a187c2b4626587bbb4771291e06",
- "locales/pt.json": "9f2a8af9e14dd488bd6ca69dc87d636e84822cbe8e8156b747ab03b2424ca2c2",
- "locales/ru.json": "045b527e8a98d4ae68ab4b6897f07f1a53048e2d53ce886eefaa0add0cd6e89c",
- "locales/tr.json": "ccf34332f10540071a82e7a75cfd131ed7d59bf9b2036329af0f76c10ade846c",
- "locales/ui.json": "bf396f21951e429dfcc09bd7b7bb255092b693a07f42f9aa8154415f3f86d09e",
- "locales/uk.json": "020368c12315130b1ab756af6720aae55157f66724ba501442384ab6b011ac74",
- "locales/zh-Hans.json": "fd87eba834530b3290b2ebbc73bfdef132fe95f685b7e3d6bb3a72fb321a4b10"
+ "locales/ko.json": "49eee1f6fbdb5d55f642b8950f786a69d817367716fcdf1f6e7901a6fff26a50",
+ "locales/nl.json": "747f86364b7cffd9c5c4af068eadd7e4b5079985134ffd127be0477ebc019f4c",
+ "locales/pl.json": "c5e3933b2fea615b3f5cced0e1a687387afa4feda78474e502f7270bf37d44c6",
+ "locales/pt.json": "a958ddcc54811b17a3300d81e399599ba3b98ae5c568ec14c6b339207f3660ec",
+ "locales/ru.json": "f343026d488b5f47459dd50f9345d21f77808de50af18193c7c3528d23cc15a4",
+ "locales/tr.json": "4746d53bd025d2f7badbdba8b930007b1b87c5813165f80982f28e6a60038ae1",
+ "locales/ui.json": "035f8ed827550340821665c8df8f085ea053ed05c26bfa5fa717567560d3ae30",
+ "locales/uk.json": "0b724c9f21e66fc6fb1f12c224e2f3ad786232625dd76e4a72ce0342543551a4",
+ "locales/zh-Hans.json": "8e4290717c44ebe526a5431ff1e1256ebfa82d80bd11ab237405b9a44916231b"
},
"compiler": "Homebrew clang version 23.1.3",
"linker": "Homebrew LLD 23.1.3 (compatible with GNU linkers)",
diff --git a/src/card-template/clio843/btstart.sh b/src/card-template/clio843/btstart.sh
index d3f4a7c..61edefd 100644
--- a/src/card-template/clio843/btstart.sh
+++ b/src/card-template/clio843/btstart.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# ClioPlay Bluetooth bootstrap.
-CLIOPLAY_VERSION=2.2.8
+CLIOPLAY_VERSION=3.0.0
# Launch the Renault HID listener, then start phone setup immediately. The
# remote can connect whenever a button wakes it. Phone pairing uses TomTom's
# factory blueserver/hcid runtime pairing gate; hcid/hidd are never restarted for pairing.
diff --git a/src/card-template/ttn b/src/card-template/ttn
index 7032e6f..9963add 100644
--- a/src/card-template/ttn
+++ b/src/card-template/ttn
@@ -1,6 +1,6 @@
#!/bin/sh
# ClioPlay bootstrap.
-CLIOPLAY_VERSION=2.2.8
+CLIOPLAY_VERSION=3.0.0
# Persistent logs exist only when prefs.ini has debug=1.
# Resolve the actual card before any executable, preference or log lookup.
find_card(){
diff --git a/src/clio843/clio040 b/src/clio843/clio040
index 2f5dea6..deb2947 100755
Binary files a/src/clio843/clio040 and b/src/clio843/clio040 differ
diff --git a/src/clio843/clioa2dp b/src/clio843/clioa2dp
index 92eab04..eadf78b 100755
Binary files a/src/clio843/clioa2dp and b/src/clio843/clioa2dp differ
diff --git a/src/clio843/cliospl b/src/clio843/cliospl
index 254ec7c..2b37611 100755
Binary files a/src/clio843/cliospl and b/src/clio843/cliospl differ
diff --git a/src/clio843/src/atlas_router.h b/src/clio843/src/atlas_router.h
index 29da826..07d058d 100644
--- a/src/clio843/src/atlas_router.h
+++ b/src/clio843/src/atlas_router.h
@@ -185,7 +185,7 @@ static int atlas_query(int phase,u32 idx){atlas_query_index=idx;atlas_phase=(u32
atlas_probe=0;route_arena_release();atlas_phase=AP_SEARCH;atlas_search_init=0;route_status=R_CALC;return 1;
}
-static int atlas_request(s32 lat,s32 lon){atlas_cancel();if(!atlas_validate_graph()){route_status=R_ERROR;return 0;}atlas_start_snap_region=atlas_dest_snap_region=-2;route_repair_reset();route_arena_release();route_exact_from=route_exact_to=ROUTE_NOARC;atlas_source_region=atlas_owner(car_lat(),car_lon());atlas_target_region=atlas_owner(lat,lon);
+static int atlas_request(s32 lat,s32 lon){trip_plan_abort_active();atlas_cancel();if(!atlas_validate_graph()){route_status=R_ERROR;return 0;}atlas_start_snap_region=atlas_dest_snap_region=-2;route_repair_reset();route_arena_release();route_exact_from=route_exact_to=ROUTE_NOARC;atlas_source_region=atlas_owner(car_lat(),car_lon());atlas_target_region=atlas_owner(lat,lon);
if(atlas_source_region<0||atlas_target_region<0){route_status=R_NOROAD;return 0;}
atlas_active=1;atlas_target_started=0;atlas_target_skip=0;atlas_sweep_runs=0;atlas_sweeps_done=atlas_sweep_expanded=0;atlas_cost_queries=atlas_distance_queries=0;atlas_origin_lat=car_lat();atlas_origin_lon=car_lon();atlas_dest_lat=lat;atlas_dest_lon=lon;atlas_plan_n=atlas_plan_at=0;atlas_future_m=atlas_future_cost=0;atlas_sn=atlas_tn=0;atlas_direct_cost=ROUTE_INF;atlas_direct_m=0;
atlas_started_ms=s_now_ms();atlas_report_status=-1;route_diag_qad7_expanded=route_diag_cpr_expanded=0;
diff --git a/src/clio843/src/audio_chime.h b/src/clio843/src/audio_chime.h
index 2db7cfc..4350ee9 100644
--- a/src/clio843/src/audio_chime.h
+++ b/src/clio843/src/audio_chime.h
@@ -1,13 +1,27 @@
/* Bounded integer PCM cue, shared by the real receiver and native verification.
- * Kind 1: two soft tones (approach); Kind 2: three brisk tones (overspeed).
+ * Kind 1: two soft tones (camera approach); Kind 2: three brisk tones (overspeed);
+ * Kind 3: warm ascending double-tone (link/sync confirmed);
+ * Kind 4: subtle two-note nudge (upcoming manoeuvre);
+ * Kind 5: pleasant resolving triad (stop/destination arrived).
* 15 ms envelopes and gradual music duck/release across 11/22/44 kHz. */
-struct AudioChime {unsigned rate,pos,total,phase,inc1,inc2,ramp,kind;};
+struct AudioChime {unsigned rate,pos,total,phase,inc1,inc2,inc3,ramp,kind;};
static void chime_start_kind(struct AudioChime*c,unsigned rate,unsigned kind){
- c->rate=rate;c->pos=0;c->phase=0;c->kind=kind==2u?2u:1u;
- c->total=c->kind==2u?(rate*3u)/5u:rate/2u;
+ c->rate=rate;c->pos=0;c->phase=0;c->inc3=0;
+ c->kind=(kind>=1u&&kind<=5u)?kind:1u;
if(c->kind==2u){
+ c->total=(rate*3u)/5u;
c->inc1=udiv32(988u*65536u,rate);c->inc2=udiv32(1244u*65536u,rate);
+ }else if(c->kind==3u){
+ c->total=(rate*34u)/100u;
+ c->inc1=udiv32(523u*65536u,rate);c->inc2=udiv32(784u*65536u,rate);
+ }else if(c->kind==4u){
+ c->total=(rate*28u)/100u;
+ c->inc1=udiv32(659u*65536u,rate);c->inc2=udiv32(880u*65536u,rate);
+ }else if(c->kind==5u){
+ c->total=(rate*48u)/100u;
+ c->inc1=udiv32(523u*65536u,rate);c->inc2=udiv32(659u*65536u,rate);c->inc3=udiv32(784u*65536u,rate);
}else{
+ c->total=rate/2u;
c->inc1=udiv32(880u*65536u,rate);c->inc2=udiv32(1174u*65536u,rate);
}
c->ramp=rate/64u;if(!c->ramp)c->ramp=1;
@@ -20,12 +34,23 @@ static int chime_sample(struct AudioChime*c,int*gain){
unsigned p=c->pos++,r=c->rate,env=256;
if(pramp)env=udiv32(p*256u,c->ramp);
if(c->total-pramp)env=udiv32((c->total-p)*256u,c->ramp);
- *gain=256-(int)((env*176u)>>8);
+ unsigned duck=c->kind>=3u?128u:176u;
+ *gain=256-(int)((env*duck)>>8);
unsigned begin=0,end=0,inc=c->inc1;int tone=0;
if(c->kind==2u){
if(pinc1;tone=1;}
else if(p>=r*20u/100u&&pinc2;tone=1;}
else if(p>=r*40u/100u&&pinc1;tone=1;}
+ }else if(c->kind==3u){
+ if(pinc1;tone=1;}
+ else if(p>=r*14u/100u&&pinc2;tone=1;}
+ }else if(c->kind==4u){
+ if(pinc1;tone=1;}
+ else if(p>=r*12u/100u&&pinc2;tone=1;}
+ }else if(c->kind==5u){
+ if(pinc1;tone=1;}
+ else if(p>=r*14u/100u&&pinc2;tone=1;}
+ else if(p>=r*28u/100u&&pinc3;tone=1;}
}else{
if(pinc1;tone=1;}
else if(p>=r*22u/100u&&pinc2;tone=1;}
@@ -37,6 +62,8 @@ static int chime_sample(struct AudioChime*c,int*gain){
c->phase+=inc;
unsigned i=(c->phase>>11)&31u,f=c->phase&2047u;
int wave=sine[i]+((sine[(i+1u)&31u]-sine[i])*(int)f)/2048;
- return (wave*(int)env)>>11;
+ int s=(wave*(int)env)>>11;
+ if(c->kind>=3u)s=(s*3)/4;
+ return s;
}
static int chime_mix(int sample,int gain,int tone){int v=(sample*gain)/256+tone;return v>32767?32767:v< -32768?-32768:v;}
diff --git a/src/clio843/src/clio040.c b/src/clio843/src/clio040.c
index 92753a7..719f02a 100644
--- a/src/clio843/src/clio040.c
+++ b/src/clio843/src/clio040.c
@@ -200,6 +200,8 @@ static int control_poll(struct ControlPoll*p,unsigned n){
#define BT_STATUS_PATH "/tmp/clbtstat"
#define BT_META_PATH "/tmp/clbtmeta"
#define BT_NAV_PATH "/tmp/clnav"
+#define BT_NAV_ACK_PATH "/tmp/clnav_ack"
+#define BT_NAV_ACK_TMP_PATH "/tmp/clnav_ack.tmp"
#define BT_DEVLIST_PATH "/tmp/clbtdevices"
#define BT_NAMES_PATH "./clio843/btnames.dat"
#define BT_CMD_PATH "/tmp/clbtcmd"
@@ -249,6 +251,8 @@ static int control_poll(struct ControlPoll*p,unsigned n){
#define BT_STATUS_PATH CLIO_HOST_ROOT "clbtstat_test"
#define BT_META_PATH CLIO_HOST_ROOT "clbtmeta_test"
#define BT_NAV_PATH CLIO_HOST_ROOT "clnav_test"
+#define BT_NAV_ACK_PATH CLIO_HOST_ROOT "clnav_ack_test"
+#define BT_NAV_ACK_TMP_PATH CLIO_HOST_ROOT "clnav_ack_test.tmp"
#define BT_DEVLIST_PATH CLIO_HOST_ROOT "clbtdevices_test"
#define BT_NAMES_PATH CLIO_HOST_ROOT "btnames_test.dat"
#define BT_CMD_PATH CLIO_HOST_ROOT "clbtcmd_test"
@@ -282,6 +286,7 @@ static u16 C_CAR=0xf4e8; /* Vehicle body follows the map theme. */
static u16 C_ROUTE_SKIPPED=0xf64b,C_ROUTE_DIVERSION=0x66d8;
static u16 C_ROUTE=0xfb36; /* Day raspberry / night bright pink; separate from roads and vehicle. */
static u16 C_ROUTE_CASING=0x8848,C_ROUTE_SKIPPED_CASING=0x8320,C_ROUTE_DIVERSION_CASING=0x136c;
+static u16 C_ROUTE_FUTURE=0xa3bf,C_ROUTE_FUTURE_CASING=0x392d;
/* Map road colours are independent of text, focus and HUD accent colours.
* Low-to-high coverage slots preserve the existing six-plane junction blend. */
#define ROAD_RGB(r,g,b) (((r)>>3)<<11|((g)>>2)<<5|((b)>>3))
@@ -311,6 +316,7 @@ static void apply_palette(int night){
if(night){
C_CAR=0xf4e8;C_ROUTE=0xfb36;C_ROUTE_SKIPPED=0xf64b;C_ROUTE_DIVERSION=0x66d8;
C_ROUTE_CASING=0x8848;C_ROUTE_SKIPPED_CASING=0x8320;C_ROUTE_DIVERSION_CASING=0x136c;
+ C_ROUTE_FUTURE=0xa3bf;C_ROUTE_FUTURE_CASING=0x392d;
/* NIGHT: deep charcoal-blue surfaces with a restrained teal focus colour. */
C_BG=0x0082; C_PANEL=0x1105; C_PANEL2=0x1146; C_BORDER=0x2a09;
C_CYAN=0x46b9; C_WHITE=0xf7bf; C_BLUE=0x3c97; C_MUTED=0x9d76;
@@ -319,6 +325,7 @@ static void apply_palette(int night){
}else{
C_CAR=0xeb83;C_ROUTE=0xe150;C_ROUTE_SKIPPED=0xb4a0;C_ROUTE_DIVERSION=0x0bf0;
C_ROUTE_CASING=0x9028;C_ROUTE_SKIPPED_CASING=0x7300;C_ROUTE_DIVERSION_CASING=0x03e8;
+ C_ROUTE_FUTURE=0x7afa;C_ROUTE_FUTURE_CASING=0x4991;
/* DAY: warm/cool automotive greys rather than plain white inversion. */
C_BG=0xef7d; C_PANEL=0xf7be; C_PANEL2=0xdf3c; C_BORDER=0xb618;
C_CYAN=0x03f1; C_WHITE=0x1146; C_BLUE=0x33f3; C_MUTED=0x534e;
@@ -456,8 +463,8 @@ static void text_center_fit(int cx,int y,int maxw,const char*s,u16 c){
static int fb_flush(void){long fd=s_open(FB_PATH,O_WRONLY_|O_CREAT_,0666);if(fd<0)return 0;s_lseek((int)fd,0,SEEK_SET_);long n=s_write((int)fd,fb,sizeof(fb));s_close((int)fd);return n==(long)sizeof(fb);}
enum { THEME_DAY=0, THEME_NIGHT=1, THEME_AUTO=2 };
-struct Prefs {int bright,hoff,moff,autozoom,debug,theme,units,cameras,clock_auto,language,day_start,night_start,top_swap,bottom_swap,learn_history,destination_predictions,diversions,gps_hud;};
-static struct Prefs pref={50,0,0,1,0,THEME_AUTO,0,1,1,0,CLIO_DAY_START,CLIO_NIGHT_START,0,0,0,1,1,0};
+struct Prefs {int bright,hoff,moff,autozoom,debug,theme,units,cameras,clock_auto,language,day_start,night_start,top_swap,bottom_swap,learn_history,destination_predictions,diversions,gps_hud,nav_chimes;};
+static struct Prefs pref={50,0,0,1,0,THEME_AUTO,0,1,1,0,CLIO_DAY_START,CLIO_NIGHT_START,0,0,0,1,1,0,1};
static int pref_keyboard_language=-1;
/* The TomTom hardware export is authoritative when present; unknown hardware
* keeps Bluetooth visible when the hardware export is unavailable. */
@@ -501,8 +508,9 @@ static void parse_pref_line(char*ln){char*eq=ln;while(*eq&&*eq!='=')eq++;if(!*eq
else if(streq(ln,"learnhistory"))pref.learn_history=v?1:0;
else if(streq(ln,"destpredictions"))pref.destination_predictions=v?1:0;
else if(streq(ln,"diversions"))pref.diversions=v?1:0;
- else if(streq(ln,"gpshud"))pref.gps_hud=v?1:0;}
-static void load_prefs(void){pref.day_start=CLIO_DAY_START;pref.night_start=CLIO_NIGHT_START;char b[512],ln[96];unsigned u=0;long fd=s_open(PREF_PATH,O_RDONLY_,0);if(fd>=0){long n=s_read((int)fd,b,sizeof(b));s_close((int)fd);if(n>0){for(long i=0;i100)pref.bright=100;if(pref.themeTHEME_AUTO)pref.theme=THEME_AUTO;if(pref.units<0||pref.units>2)pref.units=0;if(pref.hoff*60+pref.moff< -720||pref.hoff*60+pref.moff>840)pref.hoff=pref.moff=0;if(manual_zoom<0)manual_zoom=0;if(manual_zoom>MAX_EXPLORE_ZOOM)manual_zoom=MAX_EXPLORE_ZOOM;if(!clio_theme_schedule_valid(pref.day_start,pref.night_start)){pref.day_start=CLIO_DAY_START;pref.night_start=CLIO_NIGHT_START;}}
+ else if(streq(ln,"gpshud"))pref.gps_hud=v?1:0;
+ else if(streq(ln,"navchimes"))pref.nav_chimes=v>=0&&v<=2?v:1;}
+static void load_prefs(void){pref.day_start=CLIO_DAY_START;pref.night_start=CLIO_NIGHT_START;pref.nav_chimes=1;char b[512],ln[96];unsigned u=0;long fd=s_open(PREF_PATH,O_RDONLY_,0);if(fd>=0){long n=s_read((int)fd,b,sizeof(b));s_close((int)fd);if(n>0){for(long i=0;i100)pref.bright=100;if(pref.themeTHEME_AUTO)pref.theme=THEME_AUTO;if(pref.units<0||pref.units>2)pref.units=0;if(pref.nav_chimes<0||pref.nav_chimes>2)pref.nav_chimes=1;if(pref.hoff*60+pref.moff< -720||pref.hoff*60+pref.moff>840)pref.hoff=pref.moff=0;if(manual_zoom<0)manual_zoom=0;if(manual_zoom>MAX_EXPLORE_ZOOM)manual_zoom=MAX_EXPLORE_ZOOM;if(!clio_theme_schedule_valid(pref.day_start,pref.night_start)){pref.day_start=CLIO_DAY_START;pref.night_start=CLIO_NIGHT_START;}}
/* Shared with the splash; the definition follows the wall-clock helpers. */
static void seed_boot_theme(void);
static void save_prefs(void){char b[512];b[0]=0;appendstr(b,sizeof(b),"version=8\nbright=");append_int(b,sizeof(b),pref.bright);appendstr(b,sizeof(b),"\nhoff=");append_int(b,sizeof(b),pref.hoff);appendstr(b,sizeof(b),"\nmoff=");append_int(b,sizeof(b),pref.moff);appendstr(b,sizeof(b),"\nautozoom=");append_int(b,sizeof(b),pref.autozoom);appendstr(b,sizeof(b),"\ndebug=");append_int(b,sizeof(b),pref.debug);appendstr(b,sizeof(b),"\ntheme=");append_int(b,sizeof(b),pref.theme);appendstr(b,sizeof(b),"\nunits=");append_int(b,sizeof(b),pref.units);appendstr(b,sizeof(b),"\ncameras=");append_int(b,sizeof(b),pref.cameras);appendstr(b,sizeof(b),"\nclockauto=");append_int(b,sizeof(b),pref.clock_auto);appendstr(b,sizeof(b),"\nlanguage=");append_int(b,sizeof(b),pref.language);appendstr(b,sizeof(b),"\ndaystart=");append_int(b,sizeof(b),pref.day_start);appendstr(b,sizeof(b),"\nnightstart=");append_int(b,sizeof(b),pref.night_start);appendstr(b,sizeof(b),"\nmanualzoom=");append_int(b,sizeof(b),manual_zoom);appendstr(b,sizeof(b),"\nkeyboardlanguage=");append_int(b,sizeof(b),pref_keyboard_language);
@@ -512,6 +520,7 @@ static void save_prefs(void){char b[512];b[0]=0;appendstr(b,sizeof(b),"version=8
appendstr(b,sizeof(b),"\ndestpredictions=");append_int(b,sizeof(b),pref.destination_predictions);
appendstr(b,sizeof(b),"\ndiversions=");append_int(b,sizeof(b),pref.diversions);
appendstr(b,sizeof(b),"\ngpshud=");append_int(b,sizeof(b),pref.gps_hud);
+ appendstr(b,sizeof(b),"\nnavchimes=");append_int(b,sizeof(b),pref.nav_chimes);
appendstr(b,sizeof(b),"\n");long fd=s_open(PREF_TMP_PATH,O_WRONLY_|O_CREAT_|O_TRUNC_,0666);if(fd>=0){s_write((int)fd,b,slen(b));s_close((int)fd);s_sync();if(s_rename(PREF_TMP_PATH,PREF_PATH)<0){fd=s_open(PREF_PATH,O_WRONLY_|O_CREAT_|O_TRUNC_,0666);if(fd>=0){s_write((int)fd,b,slen(b));s_close((int)fd);}}s_sync();}prefs_dirty=0;prefs_delay=0;}
static void prefs_mark_dirty(void){prefs_dirty=1;prefs_delay=10;}
static void prefs_service(void){if(!prefs_dirty)return;if(prefs_delay>0){prefs_delay--;return;}save_prefs();}
@@ -576,7 +585,19 @@ static void parse_ddmmyy(const char*s){if(slen(s)<6)return;gps.day=(s[0]-'0')*10
static int leap_year(int y){return clio_leap_year(y);}
static int day_of_year0(void){return clio_day_of_year(gps.year,gps.mon,gps.day);}
#include "global_clock.h"
-static int local_clock_minutes(void){if(gps.hour<0||gps.hour>23||gps.min<0||gps.min>59)return-1;int mt=gps.hour*60+gps.min+pref.hoff*60+pref.moff;while(mt<0)mt+=1440;while(mt>=1440)mt-=1440;return mt;}
+static int phone_clock_valid=0;
+static u32 phone_clock_utc=0,phone_clock_ms=0;
+static int local_clock_minutes(void){
+ int base=-1;
+ if(gps.hour>=0&&gps.hour<=23&&gps.min>=0&&gps.min<=59)base=gps.hour*60+gps.min;
+ else if(phone_clock_valid){
+ u32 utc=phone_clock_utc+udiv32(s_now_ms()-phone_clock_ms,1000u);
+ base=(int)(udiv32(utc,60u)%1440u);
+ }
+ if(base<0)return-1;
+ int mt=base+pref.hoff*60+pref.moff;
+ while(mt<0)mt+=1440;while(mt>=1440)mt-=1440;return mt;
+}
static int auto_is_night(void){
int minute=local_clock_minutes();
if(minute<0)minute=clio_theme_local_minute(theme_wall_clock_utc(),pref.hoff*60+pref.moff);
@@ -2227,7 +2248,9 @@ static int route_repair_reseed_starts(void){
int ok=0;for(int i=0;idf){x->df=route_repair_start_seed[i];x->pf=ROUTE_NOARC;if(!ch_heap_insert(0,x))return 0;}ok=1;ch_update_meet(x);}
if(ok){route_start_snap=route_repair_start[0];route_mark_query_start();if(pref.debug)debug_log(STATE_LOG,"REPAIR MOVING-START RESEED");}return ok;
}
+static void trip_plan_abort_active(void);
static int route_repair_begin(const struct RouteSnapCandidate*nearest){
+ trip_plan_abort_active();
if(!nearest||route_status!=R_READY||route_n-route_head<3)return 0;route_repair_reset();route_prof_reset();route_repair_begin_ms=s_now_ms();
if(!route_repair_collect_candidates())return 0;if(!route_arena_prepare())return 0;if(!route_repair_collect_starts(route_dest_comp)){route_arena_release();return 0;}
route_repair_active=1;if(route_prof_on&&!route_prof_query_ms){route_prof_query_ms=s_now_ms();route_prof_pre_io=route_prof_io_bytes();}
@@ -2408,7 +2431,7 @@ static int route_query_dest_snaps(s32 lat,s32 lon){
if(atlas_dest_snap_region!=atlas_route_region){atlas_dest_snap_region=atlas_route_region;atlas_dest_snap_count=route_snap_candidates(lat,lon,ROUTE_DEST_SNAP_D2,1,1,atlas_dest_snap,ROUTE_DEST_CAND_MAX);}
for(int i=0;i=0){route_trim_prefix(idx);route_offroute_checks=0;return 1;}if(route_point_d2(route_query_lat,route_query_lon,car_lat(),car_lon())>=ROUTE_FINISH_STALE_D2){if(route_repair_active)return route_full_reroute("STALE BUILD")?0:-1;return route_retarget_car(&c)?0:-1;}idx=route_path_index_for_car(c.node);if(idx>=0){route_trim_prefix(idx);route_offroute_checks=0;}return 1;}
static void route_progress_service(void){
/* Geometry-tail trimming is deliberately every 100 ms frame. It is
@@ -2605,12 +2629,80 @@ static void route_stroke_w4(const int*x,const int*y,int n,u16 col,int wid_q4,int
map_line_q8_w4(ax,ay,bx,by,col,w);
}
}
+static void draw_future_trip_overlay(int z,int rw4,int rcas4,int passes);
+/* Crisp perspective-scaled white directional chevron directly on the wide Z7-Z9
+ * magenta route carriageway at the upcoming turn vertex (v3.0). */
+static void draw_route_turn_chevron(int z,int rw4){
+ if(z<7||route_status!=R_READY||nav_man_type==MAN_NONE||nav_man_type==MAN_ROUNDABOUT)return;
+ if(nav_man_idx<=route_head||nav_man_idx+1>=route_n||nav_man_m>380u)return;
+ int mx,my;map_project_q8(route_lat[nav_man_idx],route_lon[nav_man_idx],z,&mx,&my);
+ if(mx<12*256||mx>(W-12)*256||my<(MAP_TOP+12)*256||my>(MAP_BOTTOM-12)*256)return;
+ s32 pts_lat[17],pts_lon[17];
+ s32 back_lat[8],back_lon[8];int nb=0;
+ u32 acc=0,want=18u;
+ s32 clat=route_lat[nav_man_idx],clon=route_lon[nav_man_idx];
+ for(int i=nav_man_idx-1;i>=route_head&&nb<8;i--){
+ s32 nlat=route_lat[i],nlon=route_lon[i];
+ u32 seg=geo_seg_m(clat,clon,nlat,nlon);
+ if(seg&&acc+seg>=want){
+ u32 need=want-acc;
+ s32 ilat=clat+(s32)(((long long)(nlat-clat)*(s32)need)/(s32)seg);
+ s32 ilon=clon+(s32)(((long long)(nlon-clon)*(s32)need)/(s32)seg);
+ back_lat[nb]=ilat;back_lon[nb]=ilon;nb++;break;
+ }
+ acc+=seg;clat=nlat;clon=nlon;
+ back_lat[nb]=clat;back_lon[nb]=clon;nb++;
+ }
+ int np=0;
+ for(int i=nb-1;i>=0;i--){pts_lat[np]=back_lat[i];pts_lon[np]=back_lon[i];np++;}
+ pts_lat[np]=route_lat[nav_man_idx];pts_lon[np]=route_lon[nav_man_idx];np++;
+ acc=0;clat=route_lat[nav_man_idx];clon=route_lon[nav_man_idx];
+ for(int i=nav_man_idx+1;i=want){
+ u32 need=want-acc;
+ s32 ilat=clat+(s32)(((long long)(nlat-clat)*(s32)need)/(s32)seg);
+ s32 ilon=clon+(s32)(((long long)(nlon-clon)*(s32)need)/(s32)seg);
+ pts_lat[np]=ilat;pts_lon[np]=ilon;np++;break;
+ }
+ acc+=seg;clat=nlat;clon=nlon;
+ pts_lat[np]=clat;pts_lon[np]=clon;np++;
+ }
+ if(np<3)return;
+ int sx[17],sy[17];
+ for(int i=0;i=3){dx=tx-sx[np-3];dy=ty-sy[np-3];}
+ s16 ux=0,uy=0;road_unit_vec_q8(dx,dy,&ux,&uy);
+ int persp=road_persp_q8(my>>8,z);
+ int sw4=(rw4*40*persp)>>15;
+ if(sw4<20)sw4=20;if(sw4>54)sw4=54;
+ int wing=(sw4*24); /* Q8 wing length */
+ /* Two arrowhead wings at +/-38 deg (cos=202/256, sin=158/256). */
+ int bx1=(-ux*202-uy*158)>>8,by1=(-uy*202+ux*158)>>8;
+ int bx2=(-ux*202+uy*158)>>8,by2=(-uy*202-ux*158)>>8;
+ int wx1=tx+((bx1*wing)>>8),wy1=ty+((by1*wing)>>8);
+ int wx2=tx+((bx2*wing)>>8),wy2=ty+((by2*wing)>>8);
+ map_mask_begin(MAP_MASK_ROUTE_CASING);map_mask_select(0);
+ for(int i=1;ie)return;
int offered=traffic_offer_valid();
int rw4=route_width_q4(z),rcas4=z>=6?18:12;
int passes=z>=5?2:1;
+ draw_future_trip_overlay(z,rw4,rcas4,passes);
for(int pass=0;pass>8,y>>8)>=0)continue;
if(x<6*256||x>(W-6)*256||y<6*256||y>(H-6)*256)continue;
- map_dot_q8(x,y,C_ROUTE,5);map_dot_q8(x,y,C_MAP_BG,3);
+ u16 mc=(i==trip.active_idx||i==trip.count-1)?C_ROUTE:C_ROUTE_FUTURE;
+ map_dot_q8(x,y,mc,5);map_dot_q8(x,y,C_MAP_BG,3);
if(i==trip.count-1)map_dot_q8(x,y,C_ROUTE,1);
}
}
@@ -3719,7 +3841,7 @@ static void draw_map_at_zoom(int z){
static void draw_map_background(void){draw_map_at_zoom(active_zoom());}
static void draw_map(void){
u32 now=hud_now_ms();freecam_orientation_anim_update(now);hud_prepare(active_zoom(),now,1);hud_driver_prepare(now);
- draw_map_background();hud_draw_all(hud_now_ms(),1);
+ draw_map_background();hud_draw_all(hud_now_ms(),1);qr_pill_draw(hud_now_ms());
}
/* CLP2 is the only saved-place layout. Reject unsupported or truncated files. */
@@ -3756,8 +3878,111 @@ static void notice_set(const char*s,int is_error){
}
static void notice_success(const char*s){notice_set(s,0);}
static void notice_fail(const char*s){notice_set(s,1);}
-static void poll_phone_destination(void){if(!hw_bluetooth_enabled)return;char b[384];long fd=s_open(BT_NAV_PATH,O_RDONLY_,0);if(fd<0)return;long n=s_read((int)fd,b,sizeof(b)-1);s_close((int)fd);if(n<=0)return;b[n]=0;int have_seq=0,have_action=0,have_lat=0,have_lon=0;int seqi=0;s32 lat=0,lon=0;char action=0,name[161];copystr(name,sizeof(name),"PHONE DESTINATION");char*ln=b;for(long i=0;i<=n;i++){if(b[i]=='\r'||b[i]=='\n'||b[i]==0){char save=b[i];b[i]=0;if(starts(ln,"SEQ=")){seqi=atoi0(ln+4);have_seq=seqi>=0&&seqi<=65535;}else if(starts(ln,"ACTION=")){action=ln[7];have_action=(action=='N'||action=='S')&&ln[8]==0;}else if(starts(ln,"LAT=")){lat=(s32)atoi0(ln+4);have_lat=lat>=-9000000&&lat<=9000000;}else if(starts(ln,"LON=")){lon=(s32)atoi0(ln+4);have_lon=lon>=-18000000&&lon<=18000000;}else if(starts(ln,"NAME=")){copystr_limit(name,sizeof(name),ln+5,40);}if(!save)break;ln=b+i+1;}}
- if(!have_seq||!have_action||!have_lat||!have_lon)return;u16 seq=(u16)seqi;if(phone_seq_seen_valid&&phone_seq_seen==seq)return;phone_seq_seen=seq;phone_seq_seen_valid=1;phone_dest.valid=1;phone_dest.seq=seq;phone_dest.action=action;phone_dest.lat=lat;phone_dest.lon=lon;copystr(phone_dest.name,sizeof(phone_dest.name),name[0]?name:"PHONE DESTINATION");}
+static int hex_nibble(char c){if(c>='0'&&c<='9')return c-'0';if(c>='A'&&c<='F')return c-'A'+10;if(c>='a'&&c<='f')return c-'a'+10;return-1;}
+static void nav_chime_emit(u32 id,u32 kind){
+ if(!hw_bluetooth_enabled||!bt_source_selected())return;
+ if(kind==3u&&pref.nav_chimes<1)return;
+ if((kind==4u||kind==5u)&&pref.nav_chimes<2)return;
+ camera_sound_request(0x80000000u|(id&0x7fffffffu),kind);
+}
+static void phone_ack_write(u16 seq,int ok,int chime){
+ int eff_chime=(chime==3&&(!hw_bluetooth_enabled||pref.nav_chimes<1))?0:chime;
+ char b[96];b[0]=0;
+ appendstr(b,sizeof(b),"SEQ=");append_int(b,sizeof(b),(int)seq);appendstr(b,sizeof(b),"\nRES=");
+ appendstr(b,sizeof(b),ok?"OK":"NACK");appendstr(b,sizeof(b),"\nCHIME=");
+ append_int(b,sizeof(b),eff_chime);appendstr(b,sizeof(b),"\n");
+ long fd=s_open(BT_NAV_ACK_TMP_PATH,O_WRONLY_|O_CREAT_|O_TRUNC_,0666);
+ if(fd>=0){
+ long w=s_write((int)fd,b,slen(b));s_close((int)fd);
+ if(w==(long)slen(b)){if(s_rename(BT_NAV_ACK_TMP_PATH,BT_NAV_ACK_PATH)<0)s_unlink(BT_NAV_ACK_TMP_PATH);}
+ else s_unlink(BT_NAV_ACK_TMP_PATH);
+ }
+}
+/* 12-byte packed prefs.ini profile shared identically with ClioPlay Link v3.0. */
+static void clio_prefs_pack(u8 out[12]){
+ int tz=pref.hoff*60+pref.moff;
+ if(tz<-720)tz=-720;if(tz>840)tz=840;
+ out[0]=1u;
+ out[1]=(u8)(pref.bright<10?10:pref.bright>100?100:pref.bright);
+ out[2]=(u8)((pref.theme&3)|((pref.units&3)<<2)|((pref.cameras&3)<<4)|((pref.nav_chimes&3)<<6));
+ out[3]=(u8)((pref.autozoom?1:0)|(pref.clock_auto?2:0)|(pref.top_swap?4:0)|(pref.bottom_swap?8:0)|
+ (pref.learn_history?16:0)|(pref.destination_predictions?32:0)|(pref.diversions?64:0)|(pref.debug?128:0));
+ out[4]=(u8)(pref.language>=0&&pref.language>8)&0xff);
+ out[8]=(u8)(pref.night_start&0xff);out[9]=(u8)((pref.night_start>>8)&0xff);
+ u16 tz_u=(u16)(s16)tz;
+ out[10]=(u8)(tz_u&0xff);out[11]=(u8)((tz_u>>8)&0xff);
+}
+static int clio_prefs_unpack(const u8 in[12]){
+ if(in[0]!=1u)return 0;
+ int bright=(int)in[1];
+ int theme=in[2]&3,units=(in[2]>>2)&3,cameras=(in[2]>>4)&3,chimes=(in[2]>>6)&3;
+ int lang=(int)in[4],gps_hud=in[5]&1;
+ int day_s=(int)in[6]|((int)in[7]<<8),night_s=(int)in[8]|((int)in[9]<<8);
+ s16 tz=(s16)((u16)in[10]|((u16)in[11]<<8));
+ if(bright<10||bright>100||theme>2||units>2||cameras>3||chimes>2||lang>=UI_LANGUAGE_COUNT)return 0;
+ if(!clio_theme_schedule_valid(day_s,night_s)||tz<-720||tz>840)return 0;
+ int old_learn=pref.learn_history,old_pred=pref.destination_predictions,old_div=pref.diversions,old_auto=pref.autozoom;
+ pref.bright=bright;pref.theme=theme;pref.units=units;
+ pref.cameras=hw_bluetooth_enabled?cameras:(cameras?1:0);
+ pref.nav_chimes=hw_bluetooth_enabled?chimes:0;
+ pref.autozoom=(in[3]&1)?1:0;pref.clock_auto=(in[3]&2)?1:0;
+ pref.top_swap=(in[3]&4)?1:0;pref.bottom_swap=(in[3]&8)?1:0;
+ pref.learn_history=(in[3]&16)?1:0;pref.destination_predictions=(in[3]&32)?1:0;
+ pref.diversions=(in[3]&64)?1:0;pref.debug=(in[3]&128)?1:0;
+ pref.language=lang;pref.gps_hud=gps_hud;
+ pref.day_start=day_s;pref.night_start=night_s;
+ pref.hoff=tz/60;pref.moff=tz%60;
+ if(pref.autozoom!=old_auto){if(pref.autozoom)auto_zoom_level=-1;zoom_override=-1;ml_zoom_cancel_override();}
+ if(old_learn&&!pref.learn_history){mob_stop_recording();traffic_invalidate();traffic_learning_reset();ml_zoom_cancel_override();ml_park_valid=ml_stop_valid=0;ml_route_var_ds=0;ml_offer_kind=0;}
+ if(old_pred&&!pref.destination_predictions){mob_suggest_valid=0;ml_park_valid=ml_stop_valid=0;mob_predict_ms=0;}
+ if(old_div!=pref.diversions)traffic_invalidate();
+ apply_brightness();refresh_theme();debug_state_write();
+ if(!pref.debug)remove_stale_logs();
+ clock_next_ms=0;prefs_mark_dirty();render_background_dirty=1;
+ return 1;
+}
+static int parse_u32_str(const char*s,u32*out){
+ if(!s||*s<'0'||*s>'9')return 0;u32 v=0;
+ while(*s>='0'&&*s<='9'){u32 d=(u32)(*s-'0');if(v>(0xffffffffu-d)/10u)return 0;v=v*10u+d;s++;}
+ if(*s)return 0;*out=v;return 1;
+}
+static void poll_phone_destination(void){
+ if(!hw_bluetooth_enabled)return;
+ char b[448];long fd=s_open(BT_NAV_PATH,O_RDONLY_,0);if(fd<0)return;
+ long n=s_read((int)fd,b,sizeof(b)-1);s_close((int)fd);if(n<=0)return;b[n]=0;
+ int have_seq=0,have_action=0,have_lat=0,have_lon=0;
+ int seqi=0;u8 ver=2;char action=0,sub=0;s32 lat=0,lon=0,bv=0;u32 av=0,cv=0;
+ char hex[25]="",name[161];copystr(name,sizeof(name),"PHONE DESTINATION");
+ char*ln=b;
+ for(long i=0;i<=n;i++){
+ if(b[i]=='\r'||b[i]=='\n'||b[i]==0){
+ char save=b[i];b[i]=0;
+ if(starts(ln,"VER=")){int v=atoi0(ln+4);if(v==2||v==3)ver=(u8)v;}
+ else if(starts(ln,"SEQ=")){seqi=atoi0(ln+4);have_seq=seqi>=0&&seqi<=65535;}
+ else if(starts(ln,"ACTION=")){action=ln[7];have_action=(action=='N'||action=='S'||action=='T'||action=='F'||action=='P'||action=='C'||action=='Q'||action=='H')&&ln[8]==0;}
+ else if(starts(ln,"SUB=")){if(ln[4]&&!ln[5])sub=ln[4];}
+ else if(starts(ln,"LAT=")){lat=(s32)atoi0(ln+4);have_lat=lat>=-9000000&&lat<=9000000;}
+ else if(starts(ln,"LON=")){lon=(s32)atoi0(ln+4);have_lon=lon>=-18000000&&lon<=18000000;}
+ else if(starts(ln,"A=")){(void)parse_u32_str(ln+2,&av);}
+ else if(starts(ln,"B=")){bv=(s32)atoi0(ln+2);}
+ else if(starts(ln,"C=")){(void)parse_u32_str(ln+2,&cv);}
+ else if(starts(ln,"HEX=")){copystr(hex,sizeof(hex),ln+4);}
+ else if(starts(ln,"NAME=")){copystr_limit(name,sizeof(name),ln+5,40);}
+ if(!save)break;ln=b+i+1;
+ }
+ }
+ if(!have_seq||!have_action)return;
+ if((action=='N'||action=='S'||action=='T'||action=='F')&&(!have_lat||!have_lon))return;
+ u16 seq=(u16)seqi;
+ if(phone_seq_seen_valid&&phone_seq_seen==seq)return;
+ phone_seq_seen=seq;phone_seq_seen_valid=1;
+ phone_dest.valid=1;phone_dest.ver=ver;phone_dest.seq=seq;phone_dest.action=action;phone_dest.sub=sub;
+ phone_dest.lat=lat;phone_dest.lon=lon;phone_dest.a=av;phone_dest.b=bv;phone_dest.c=cv;
+ copystr(phone_dest.hex,sizeof(phone_dest.hex),hex);
+ copystr(phone_dest.name,sizeof(phone_dest.name),name[0]?name:"PHONE DESTINATION");
+}
static void phone_destination_clear(void){phone_dest.valid=0;}
static struct TripTarget* trip_current(void){if(!trip.active||trip.count<1||trip.active_idx>=trip.count)return 0;return &trip.target[trip.active_idx];}
@@ -3783,7 +4008,7 @@ static void set_destination(const char*name,s32 lat,s32 lon){
struct MobPoint org=mob_origin_valid?mob_live.origin:(struct MobPoint){car_lat(),car_lon()};
ml_check_stop_offer(org,(struct MobPoint){lat,lon},mob_time(hud_now_ms()));
}else ml_stop_valid=0;
- notice_success(ui_tr("Route started"));
+ notice_success(ui_tr(gps.fix?"Route started":"Queued - waiting for GPS"));
}
static void mobility_append_coord(char*b,unsigned cap,s32 value){
if(value<0){appendstr(b,cap,"-");value=-value;}append_int(b,cap,value/100000);appendstr(b,cap,".");
@@ -4014,13 +4239,158 @@ static void clear_trip(void){memzero(&trip,sizeof(trip));save_trip();arrival_tic
static int trip_add_stop(const char*name,s32 lat,s32 lon){if(!trip.active||trip.count<1||trip.count>=TRIP_MAX_TARGETS)return 0;int ins=trip.count-1;for(int i=trip.count;i>ins;i--)trip.target[i]=trip.target[i-1];trip.target[ins].lat=lat;trip.target[ins].lon=lon;copystr(trip.target[ins].name,sizeof(trip.target[ins].name),name&&name[0]?name:"MAP POINT");trip.count++;if(ins==trip.active_idx)trip_schedule_route();ml_stop_valid=0;if(pref.learn_history&&(mob_origin_valid||gps.fix)){struct MobPoint org=mob_origin_valid?mob_live.origin:(struct MobPoint){car_lat(),car_lon()};struct MobPoint dst={trip.target[trip.count-1].lat,trip.target[trip.count-1].lon};ml_record_stop_habit(org,(struct MobPoint){lat,lon},dst,mob_time(hud_now_ms()),trip.target[ins].name);ml_mark_dirty(hud_now_ms());}save_trip();notice_success(ui_tr("Stop added"));return 1;}
static void trip_change_destination_notice(const char*name,s32 lat,s32 lon,const char*notice){if(!trip.active||!trip.count){set_destination(name,lat,lon);return;}int i=trip.count-1;int changed=trip.target[i].lat!=lat||trip.target[i].lon!=lon||!streq(trip.target[i].name,name);trip.target[i].lat=lat;trip.target[i].lon=lon;copystr(trip.target[i].name,sizeof(trip.target[i].name),name&&name[0]?name:"MAP POINT");add_recent(trip.target[i].name,lat,lon);save_trip();if(i==trip.active_idx)trip_schedule_route();if(changed&¬ice&¬ice[0])notice_success(notice);}
static void trip_change_destination(const char*name,s32 lat,s32 lon){trip_change_destination_notice(name,lat,lon,ui_tr("Destination changed"));}
-static void phone_destination_apply(void){if(menu_blocks_phone())return;if(coordinates_active&&screen!=SCR_COORDINATES&&!(screen==SCR_KEY&&kbd_action==KBD_NAME_COORDINATES))coordinates_active=0;if(!phone_dest.valid||coordinates_active)return;int action=phone_dest.action=='S'?DEST_PICK_ADD_STOP:DEST_PICK_NONE;if(modal!=MOD_NONE)return;if(action==DEST_PICK_ADD_STOP){if(!trip.active||!trip.count)notice_fail(ui_tr("No active route"));else if(trip.count>=TRIP_MAX_TARGETS)notice_fail(ui_tr("Trip full - stop not added"));else if(trip_add_stop(phone_dest.name,phone_dest.lat,phone_dest.lon)){add_recent(phone_dest.name,phone_dest.lat,phone_dest.lon);}else notice_fail(ui_tr("Stop not added"));}
- else{set_destination(phone_dest.name,phone_dest.lat,phone_dest.lon);screen=SCR_MAP;recenter_map();}
- phone_destination_clear();}
+static void trip_continue_after_stop(void);
+static void phone_fave_apply(u32 op,const char*name,s32 lat,s32 lon){
+ if(op==4u){nfaves=0;write_places(FAVES_PATH,faves,nfaves);return;}
+ int idx=fave_contains(lat,lon);
+ if(op==3u){
+ if(idx>=0){for(int i=idx+1;i=0){
+ if(!streq(faves[idx].name,clean)){copystr(faves[idx].name,sizeof(faves[idx].name),clean);write_places(FAVES_PATH,faves,nfaves);}
+ return;
+ }
+ struct SavedPlace p;p.lat=lat;p.lon=lon;copystr(p.name,sizeof(p.name),clean);
+ if(nfaves=3)phone_link_seen_ms=now;
+ char act=phone_dest.action;
+ /* Non-modal / background CLP3 control packets run immediately regardless of open sheets. */
+ if(act=='H'){
+ if(phone_dest.ver>=3)phone_ack_write(phone_dest.seq,1,0);
+ phone_destination_clear();return;
+ }
+ if(act=='P'){
+ u8 raw[12];int ok=slen(phone_dest.hex)==24;
+ for(int i=0;ok&&i<12;i++){
+ int hi=hex_nibble(phone_dest.hex[i*2]),lo=hex_nibble(phone_dest.hex[i*2+1]);
+ if(hi<0||lo<0)ok=0;else raw[i]=(u8)((hi<<4)|lo);
+ }
+ ok=ok&&clio_prefs_unpack(raw);
+ if(ok)notice_success(ui_tr("Settings updated"));
+ if(phone_dest.ver>=3)phone_ack_write(phone_dest.seq,ok,ok?3:0);
+ phone_destination_clear();return;
+ }
+ if(act=='F'){
+ phone_fave_apply(phone_dest.a,phone_dest.name,phone_dest.lat,phone_dest.lon);
+ if(phone_dest.ver>=3)phone_ack_write(phone_dest.seq,1,0);
+ phone_destination_clear();return;
+ }
+ if(act=='C'){
+ int ok=0,chime=0;
+ if(phone_dest.sub=='X'){
+ if(trip.active){clear_trip();notice_success(ui_tr("Route cancelled"));}
+ phone_undo_clear();trip_stage_clear();ok=1;chime=3;
+ }else if(phone_dest.sub=='K'){
+ if(trip.active&&trip.active_idx+1=-720&&phone_dest.b<=840){
+ if(phone_dest.a){phone_clock_valid=1;phone_clock_utc=phone_dest.a;phone_clock_ms=s_now_ms();}
+ if(!clock_valid||!pref.clock_auto){
+ int oldm=pref.hoff*60+pref.moff;
+ if(oldm!=phone_dest.b){pref.hoff=(int)(phone_dest.b/60);pref.moff=(int)(phone_dest.b%60);prefs_mark_dirty();}
+ }
+ refresh_theme();render_background_dirty=1;ok=1;
+ }
+ }
+ if(phone_dest.ver>=3)phone_ack_write(phone_dest.seq,ok,chime);
+ phone_destination_clear();return;
+ }
+ if(act=='Q'){
+ int ok=phone_qr_command(phone_dest.sub,phone_dest.a);
+ if(phone_dest.ver>=3)phone_ack_write(phone_dest.seq,ok,(ok&&phone_dest.sub=='D')?3:0);
+ phone_destination_clear();return;
+ }
+ /* Route-mutating actions (N, S, T) still defer while local edit dialogs own focus. */
+ if(menu_blocks_phone())return;
+ if(coordinates_active&&screen!=SCR_COORDINATES&&!(screen==SCR_KEY&&kbd_action==KBD_NAME_COORDINATES))coordinates_active=0;
+ if(coordinates_active||modal!=MOD_NONE)return;
+ int out_of_map=(phone_dest.ver>=3&&mapok&&!map_view_covered(phone_dest.lat,phone_dest.lon));
+ if(out_of_map){
+ notice_fail(ui_tr("Outside map area"));
+ phone_ack_write(phone_dest.seq,0,0);
+ phone_destination_clear();return;
+ }
+ if(act=='T'){
+ u32 idx=phone_dest.a,tot=(u32)phone_dest.b,batch=phone_dest.c&0xffu;
+ if(tot<1u||tot>TRIP_MAX_TARGETS||idx>=tot){
+ if(phone_dest.ver>=3)phone_ack_write(phone_dest.seq,0,0);
+ phone_destination_clear();return;
+ }
+ if(!trip_stage.active||trip_stage.batch!=batch||trip_stage.total!=tot||now-trip_stage.updated_ms>8000u){
+ trip_stage_clear();trip_stage.active=1;trip_stage.batch=(u8)batch;trip_stage.total=(u8)tot;
+ }
+ trip_stage.target[idx].lat=phone_dest.lat;trip_stage.target[idx].lon=phone_dest.lon;
+ copystr(trip_stage.target[idx].name,sizeof(trip_stage.target[idx].name),phone_dest.name[0]?phone_dest.name:"PHONE DESTINATION");
+ if(!(trip_stage.mask&(1u<=3)phone_ack_write(phone_dest.seq,1,done?3:0);
+ phone_destination_clear();return;
+ }
+ int action=act=='S'?DEST_PICK_ADD_STOP:DEST_PICK_NONE;
+ int ok=0;
+ if(action==DEST_PICK_ADD_STOP){
+ if(!trip.active||!trip.count)notice_fail(ui_tr("No active route"));
+ else if(trip.count>=TRIP_MAX_TARGETS)notice_fail(ui_tr("Trip full - stop not added"));
+ else if(trip_add_stop(phone_dest.name,phone_dest.lat,phone_dest.lon)){add_recent(phone_dest.name,phone_dest.lat,phone_dest.lon);ok=1;}
+ else notice_fail(ui_tr("Stop not added"));
+ }else{
+ phone_undo_snapshot(1,phone_dest.name,phone_dest.lat,phone_dest.lon);
+ set_destination(phone_dest.name,phone_dest.lat,phone_dest.lon);
+ screen=SCR_MAP;recenter_map();ok=1;
+ }
+ if(phone_dest.ver>=3)phone_ack_write(phone_dest.seq,ok,ok?3:0);
+ phone_destination_clear();
+}
static void trip_remove_stop(int idx){if(!trip.active||idx=trip.count-1)return;int was_current=idx==trip.active_idx;for(int i=idx+1;i=trip.count-1)return;int j=idx+dir;if(j=trip.count-1)return;struct TripTarget t=trip.target[idx];trip.target[idx]=trip.target[j];trip.target[j]=t;save_trip();if(idx==trip.active_idx||j==trip.active_idx)trip_schedule_route();notice_success(ui_tr("Stop moved"));}
static void trip_continue_after_stop(void){if(!trip.active||trip.active_idx+1>=trip.count)return;trip.active_idx++;trip.paused=0;arrival_ticks=0;save_trip();trip_schedule_route();}
-static void trip_service(void){if(trip_need_route&&gps.fix&&!trip.paused){if(trip_route_defer>0)trip_route_defer--;else trip_request_route();}if(atlas_active&&(atlas_phase!=AP_LEG||route_exact_to!=ROUTE_NOARC)){arrival_ticks=0;return;}if(!trip.active||trip.paused||!gps.fix)return;struct TripTarget*t=trip_current();if(!t)return;u32 d=geo_seg_m(car_lat(),car_lon(),t->lat,t->lon);/* the drivable route ends at the exact road-access snap, not at a fabricated straight connector to the POI centroid. Count reaching that access point as arrival too. */if(route_status==R_READY&&!atlas_future_cost&&route_exact_to==ROUTE_NOARC&&route_dest_idx>=0&&route_dest_idx=ARRIVAL_TICKS){arrival_ticks=0;trip.paused=1;route_cancel();save_trip();modal_choice=0;modal=trip_current_is_destination()?MOD_ARRIVED_DEST:MOD_ARRIVED_STOP;arrival_modal_deadline=s_now_ms()+ARRIVAL_MODAL_MS;}}
+static void trip_service(void){
+ u32 now=hud_now_ms();
+ if(trip_stage.active&&now-trip_stage.updated_ms>10000u)trip_stage_clear();
+ if(phone_undo_valid&&!time_before_u32(now,phone_undo_until))phone_undo_clear();
+ trip_plan_sync();
+ if(trip_need_route&&gps.fix&&!trip.paused){if(trip_route_defer>0)trip_route_defer--;else trip_request_route();}
+ if(trip.active&&!trip.paused&&route_status==R_READY&&nav_man_type!=MAN_NONE&&nav_man_idx>=0&&nav_man_idx!=nav_chime_man_idx&&nav_man_m<=160u&&nav_man_m>=25u&&gps.mph10>=80){
+ nav_chime_man_idx=nav_man_idx;nav_chime_emit((u32)nav_man_idx+1u,4u);
+ }
+ if(atlas_active&&(atlas_phase!=AP_LEG||route_exact_to!=ROUTE_NOARC)){arrival_ticks=0;return;}
+ if(!trip.active||trip.paused||!gps.fix)return;
+ struct TripTarget*t=trip_current();if(!t)return;
+ u32 d=geo_seg_m(car_lat(),car_lon(),t->lat,t->lon);/* the drivable route ends at the exact road-access snap, not at a fabricated straight connector to the POI centroid. Count reaching that access point as arrival too. */
+ if(route_status==R_READY&&!atlas_future_cost&&route_exact_to==ROUTE_NOARC&&route_dest_idx>=0&&route_dest_idx=ARRIVAL_TICKS){arrival_ticks=0;trip.paused=1;route_cancel();save_trip();nav_chime_emit(0x10000u+(u32)trip.active_idx,5u);modal_choice=0;modal=trip_current_is_destination()?MOD_ARRIVED_DEST:MOD_ARRIVED_STOP;arrival_modal_deadline=s_now_ms()+ARRIVAL_MODAL_MS;}
+}
static void arrival_modal_service(void){if(modal!=MOD_ARRIVED_STOP&&modal!=MOD_ARRIVED_DEST){arrival_modal_deadline=0;return;}if(!arrival_modal_deadline)arrival_modal_deadline=s_now_ms()+ARRIVAL_MODAL_MS;if(time_before_u32(s_now_ms(),arrival_modal_deadline))return;arrival_modal_deadline=0;if(modal==MOD_ARRIVED_STOP){modal=MOD_NONE;trip_continue_after_stop();screen=SCR_MAP;recenter_map();}else{modal=MOD_NONE;clear_trip();screen=SCR_MAP;recenter_map();}}
static int menu_focus=0;
static void menurow(int y,const char*l,const char*sub,int f){ui_choice(18,y,444,60,f);label(34,y+9,3,l,ui_choice_text(f),408);label(34,y+33,0,sub,f?C_ACTIVE_TEXT:C_MUTED,408);}
@@ -4101,9 +4471,9 @@ static void draw_bluetooth(void){
static int set_focus=0;
static void settingrow(int y,const char*l,const char*v,int f){int vw=width(v,1);if(vw<76)vw=76;if(vw>180)vw=180;int vx=446-vw;ui_choice(18,y-5,444,24,f);compact_fit(30,y-2,vx-42,1,l,ui_choice_text(f));compact_fit(vx,y-2,vw,1,v,f?C_ACTIVE_TEXT:C_MUTED);}
static const char* theme_value(void){if(pref.theme==THEME_DAY)return"DAY";if(pref.theme==THEME_NIGHT)return"NIGHT";return"AUTO";}
-enum {SETTING_COUNT=16,SETTING_VISIBLE_ROWS=8,SETTING_ROW_STEP=26};
+enum {SETTING_COUNT=17,SETTING_VISIBLE_ROWS=8,SETTING_ROW_STEP=26};
static int theme_time_part;
-static const char* setting_names[]={"Brightness","Theme","Units","Auto zoom","Camera alerts","Clock","Debug log","Language","Day starts","Night starts","Top pill order","Bottom pill order","Learn driving history","Destination suggestions","Intelligent diversions","Clear driving history"};
+static const char* setting_names[]={"Brightness","Theme","Units","Auto zoom","Camera alerts","Clock","Debug log","Language","Day starts","Night starts","Top pill order","Bottom pill order","Learn driving history","Destination suggestions","Intelligent diversions","Clear driving history","Navigation chimes"};
static const char* units_value(void){return pref.units==1?ui_tr("Metric"):pref.units==2?ui_tr("Imperial"):ui_tr("Auto");}
static const char* setting_value(int row,char b[96]){
switch(row){
@@ -4128,6 +4498,7 @@ static const char* setting_value(int row,char b[96]){
case 13:return ui_tr(pref.destination_predictions?"On":"Off");
case 14:return ui_tr(pref.diversions?"On":"Off");
case 15:copystr(b,96,ui_tr("Journeys: "));append_int(b,96,(int)mob.n);return b;
+ case 16:return !hw_bluetooth_enabled||pref.nav_chimes==0?ui_tr("Off"):pref.nav_chimes==1?ui_tr("Link only"):ui_tr("All cues");
case 8:case 9:{
int minute=row==8?pref.day_start:pref.night_start;
b[0]='0'+minute/60/10;b[1]='0'+minute/60%10;b[2]=':';
@@ -4188,6 +4559,7 @@ static void settings_key(int code){
case 13:pref.destination_predictions=!pref.destination_predictions;if(!pref.destination_predictions){mob_suggest_valid=0;ml_park_valid=ml_stop_valid=0;}mob_predict_ms=0;break;
case 14:pref.diversions=!pref.diversions;traffic_invalidate();break;
case 15:return;
+ case 16:{int n=hw_bluetooth_enabled?3:1;if(pref.nav_chimes>=n)pref.nav_chimes=0;pref.nav_chimes=(pref.nav_chimes+d+n)%n;break;}
case 8:case 9:{
int*value=set_focus==8?&pref.day_start:&pref.night_start;
int other=set_focus==8?pref.night_start:pref.day_start;
@@ -4206,6 +4578,8 @@ static int modal_action_count(void){if(modal==MOD_RECENT)return trip.active?3:2;
#include "popups.h"
#include "menu_keyboard.h"
#include "menu_layout.h"
+#include "qr_encode.h"
+#include "qr_sync.h"
#include "menu_sheet.h"
#include "gps_panel.h"
@@ -4213,7 +4587,7 @@ static void draw(void){
u32 now=hud_now_ms();freecam_orientation_anim_update(now);clock_service();region_service();camera_service();refresh_theme();
hud_prepare(active_zoom(),now,1);hud_driver_prepare(now);menu_prepare(now);draw_map_background();
hud_glass_background_changed();
- hud_glass_frame_begin();menu_draw(hud_now_ms());draw_modal();hud_glass_frame_end();boot_fade_apply(hud_now_ms());fb_flush();
+ hud_glass_frame_begin();menu_draw(hud_now_ms());draw_modal();qr_pill_draw(hud_now_ms());hud_glass_frame_end();boot_fade_apply(hud_now_ms());fb_flush();
}
struct input_event16 {s32 sec,usec;u16 type,code;s32 value;};
@@ -4368,10 +4742,27 @@ static void key_handle(int code){
if(code==K_CONSOLE_TRIP){if(modal!=MOD_NONE)return;diversion_preview_clear();coordinates_active=bt_control_mode=0;trip_pick_mode=DEST_PICK_NONE;menu_open(P_TRIP,trip.active_idx,hud_now_ms());return;}
if(code==K_CONSOLE_GPS){if(modal!=MOD_NONE)return;gps_hud_toggle();return;}
menu_sync(hud_now_ms());
+ if(screen==SCR_MAP&&modal==MOD_NONE&&qr_pill_active){
+ if(code==K_BACK){qr_pill_dismiss();return;}
+ if(code==K_MENU||code==K_MAP)qr_pill_dismiss();
+ }
if(modal==MOD_NONE&&(code==K_MENU||screen!=SCR_MAP)){
driving_info_ok_armed=0;
keydiag(code);if(code==K_MENU&&screen==SCR_MAP){diversion_preview_clear();menu_open(P_HOME,0,hud_now_ms());}else menu_dispatch(code,hud_now_ms());return;
}
+ if(screen==SCR_MAP&&modal==MOD_NONE&&!freecam&&!bt_control_mode&&phone_undo_active(hud_now_ms())){
+ if(code==K_BACK){
+ driving_info_ok_armed=0;trip=phone_undo_trip;phone_undo_clear();
+ save_trip();trip_schedule_route();notice_success(ui_tr("Previous route restored"));return;
+ }
+ if(code==K_ENTER&&phone_undo_can_add){
+ driving_info_ok_armed=0;struct TripTarget added=phone_undo_target;
+ trip=phone_undo_trip;phone_undo_clear();
+ if(trip_add_stop(added.name,added.lat,added.lon))add_recent(added.name,added.lat,added.lon);
+ else{save_trip();trip_schedule_route();notice_fail(ui_tr("Trip full - stop not added"));}
+ return;
+ }
+ }
if(code==K_ENTER&&hud_suggestion_shortcut_ready()){
driving_info_ok_armed=0;hud_suggestion_invited=0;bt_control_mode=0;menu_open_suggestion(hud_now_ms());return;
}
@@ -4644,9 +5035,10 @@ static void run(void){
if((tick%5)==0)scan_inputs();int had_fix=gps.fix;poll_gps();if(gps.fix){if(!had_fix){track_valid=0;track_q4_valid=0;track_was_moving=0;track_settling=0;track_course=-1;visual_snap_reset();}remember_live_fix();}
update_smooth_track();update_display_course();update_visual_snap(active_zoom(),0);
if((tick%2)==0){poll_audio();poll_car();poll_vehicle();bt_source_service();}
- if((tick%5)==0){bt_poll_status();poll_phone_destination();}
+ if((tick%5)==0)bt_poll_status();
+ poll_phone_destination();
if((tick%10)==0)update_road_context();
- phone_destination_apply();trip_service();arrival_modal_service();
+ phone_destination_apply();qr_pill_service(now);trip_service();arrival_modal_service();
if(bt_control_mode&&(screen!=SCR_MAP||modal!=MOD_NONE||freecam||!bt_controls_available()))bt_control_mode=0;
prefs_service();ui_anim_tick=tick;if((tick%10)==0&&wdfd>=0)s_write(wdfd,"W",1);
clock_service();region_service();camera_service();refresh_theme();mobility_service(now);
@@ -4663,6 +5055,10 @@ static void run(void){
continue;
}
if(model_due&&route_status==R_READY)route_service_until(now);
+ if(route_status==R_READY&&trip_plan_pending()&&budget){
+ trip_plan_service_until(now+budget);
+ continue;
+ }
render_profile_service(s_now_ms());
now=s_now_ms();if(!frame_due(now,wake)){u32 wait=wake-now;if(wait>FRAME_MODEL_MS)wait=FRAME_MODEL_MS;s_nanosleep((long)(wait/1000u),(long)(wait%1000u)*1000000L);}
}
diff --git a/src/clio843/src/clioa2dp.c b/src/clio843/src/clioa2dp.c
index ffd035a..2581af4 100644
--- a/src/clio843/src/clioa2dp.c
+++ b/src/clio843/src/clioa2dp.c
@@ -302,13 +302,15 @@ static void sbc_pcm_interleave(u32*out,const struct SbcFrame*f){
* /tmp/clbt selected Bluetooth PCM output (CD or no readable radio source), 0/1
* /tmp/clbtstat one-line status
* /tmp/clbtmeta DEVICE/TITLE/ARTIST/ALBUM/PAIRED/CONNECTED/PLAYING/POS/DUR
- * /tmp/clnav validated CLP2 phone destination for clio040
+ * /tmp/clnav validated CLP2/CLP3 phone packet for clio040
+ * /tmp/clnav_ack clio040 ACK/NACK response for CLP3 instant AVRCP feedback
* /tmp/clbtcmd monotonically sequenced commands from clio040
* ------------------------------------------------------------------------- */
#define BT_META_PATH "/tmp/clbtmeta"
#define BT_META_TMP_PATH "/tmp/clbtmeta.tmp"
#define BT_NAV_PATH "/tmp/clnav"
#define BT_NAV_TMP_PATH "/tmp/clnav.tmp"
+#define BT_NAV_ACK_PATH "/tmp/clnav_ack"
#define BT_CMD_PATH "/tmp/clbtcmd"
#define BT_HCI_PATH "/tmp/clbthci"
#define BT_PHONE_PATH "./clio843/btphone.dat"
@@ -337,13 +339,150 @@ static void append_uint(char*b,u32 cap,u32 v){char t[12];int n=0;if(!v){append_c
static void append_sint(char*b,u32 cap,s32 v){if(v<0){append_char(b,cap,'-');append_uint(b,cap,(u32)(-(v+1))+1u);}else append_uint(b,cap,(u32)v);}
static int hexval0(char c){if(c>='0'&&c<='9')return c-'0';if(c>='A'&&c<='F')return c-'A'+10;if(c>='a'&&c<='f')return c-'a'+10;return-1;}
static int parse_dec_span(const char*s,const char*e,s32*out){int neg=0;u32 v=0;if(s=e)return 0;for(;s'9')return 0;v=v*10u+(u32)(*s-'0');if(v>200000000u)return 0;}*out=neg?-(s32)v:(s32)v;return 1;}
+static int parse_u32_span(const char*s,const char*e,u32*out){u32 v=0;if(s>=e)return 0;for(;s'9')return 0;u32 d=(u32)(*s-'0');if(v>(0xffffffffu-d)/10u)return 0;v=v*10u+d;}*out=v;return 1;}
static int parse_hex16_span(const char*s,const char*e,u16*out){u32 v=0;if(e-s!=4)return 0;for(;smax_len)return 0;u32 v=0;for(;s9000000||lo<-18000000||lo>18000000)return 0;u16 got=crc16_ccitt_text(t,(u32)(c4-t));if(got!=want)return 0;*action=t[5];*lat=la;*lon=lo;*seq=sq;return 1;}
+struct NavPacket {
+ u8 ver;
+ char action,sub;
+ u16 seq;
+ s32 lat,lon,b;
+ u32 a,c;
+ char hex[25];
+};
+static int nav_packet_parse_ex(const char*t,struct NavPacket*out){
+ if(!t||!out)return 0;memzero(out,sizeof(*out));
+ const char*fs[10],*fe[10];int nf=0;
+ const char*p=t,*start=t;
+ for(;;p++){
+ if(*p==':'||*p==0){
+ if(nf>=10)return 0;
+ fs[nf]=start;fe[nf]=p;nf++;
+ if(!*p)break;
+ start=p+1;
+ }
+ }
+ if(nf<4)return 0;
+ u16 sq=0,want=0;
+ if(!parse_hex16_span(fs[nf-2],fe[nf-2],&sq)||!parse_hex16_span(fs[nf-1],fe[nf-1],&want))return 0;
+ const char*crc_sep=fs[nf-1]-1;
+ if(crc16_ccitt_text(t,(u32)(crc_sep-t))!=want)return 0;
+ if(fe[0]-fs[0]!=4||fs[0][0]!='C'||fs[0][1]!='L'||fs[0][2]!='P')return 0;
+ u8 ver=0;if(fs[0][3]=='2')ver=2;else if(fs[0][3]=='3')ver=3;else return 0;
+ if(fe[1]-fs[1]!=1)return 0;
+ char act=fs[1][0];
+ out->ver=ver;out->action=act;out->seq=sq;
+ if(act=='N'||act=='S'){
+ if(nf!=6)return 0;
+ s32 la=0,lo=0;
+ if(!parse_dec_span(fs[2],fe[2],&la)||!parse_dec_span(fs[3],fe[3],&lo))return 0;
+ if(la<-9000000||la>9000000||lo<-18000000||lo>18000000)return 0;
+ out->lat=la;out->lon=lo;return 1;
+ }
+ if(ver<3)return 0;
+ if(act=='T'){
+ if(nf!=9)return 0;
+ u32 idx=0,tot=0,batch=0;s32 la=0,lo=0;
+ if(!parse_u32_span(fs[2],fe[2],&idx)||!parse_u32_span(fs[3],fe[3],&tot)||!parse_hex32_span(fs[4],fe[4],1,2,&batch))return 0;
+ if(tot<1||tot>10||idx>=tot)return 0;
+ if(!parse_dec_span(fs[5],fe[5],&la)||!parse_dec_span(fs[6],fe[6],&lo))return 0;
+ if(la<-9000000||la>9000000||lo<-18000000||lo>18000000)return 0;
+ out->a=idx;out->b=(s32)tot;out->c=batch;out->lat=la;out->lon=lo;return 1;
+ }
+ if(act=='F'){
+ if(nf!=7)return 0;
+ u32 op=0;s32 la=0,lo=0;
+ if(!parse_u32_span(fs[2],fe[2],&op)||op>4u)return 0;
+ if(!parse_dec_span(fs[3],fe[3],&la)||!parse_dec_span(fs[4],fe[4],&lo))return 0;
+ if(la<-9000000||la>9000000||lo<-18000000||lo>18000000)return 0;
+ out->a=op;out->lat=la;out->lon=lo;return 1;
+ }
+ if(act=='P'){
+ if(nf!=5||fe[2]-fs[2]!=24)return 0;
+ for(int i=0;i<24;i++){
+ int h=hexval0(fs[2][i]);if(h<0)return 0;
+ out->hex[i]=(char)(h<10?'0'+h:'A'+h-10);
+ }
+ out->hex[24]=0;return 1;
+ }
+ if(act=='C'){
+ if(fe[2]-fs[2]!=1)return 0;
+ char sub=fs[2][0];out->sub=sub;
+ if(sub=='X'||sub=='K')return nf==5;
+ if(sub=='T'){
+ if(nf!=7)return 0;
+ u32 utc=0;s32 tz=0;
+ if(!parse_hex32_span(fs[3],fe[3],1,8,&utc)||!parse_dec_span(fs[4],fe[4],&tz))return 0;
+ if(tz<-720||tz>840)return 0;
+ out->a=utc;out->b=tz;return 1;
+ }
+ return 0;
+ }
+ if(act=='Q'){
+ if(fe[2]-fs[2]!=1)return 0;
+ char sub=fs[2][0];out->sub=sub;
+ if(sub=='S'||sub=='D')return nf==5;
+ if(sub=='A'){
+ if(nf!=6)return 0;
+ u32 idx=0;if(!parse_u32_span(fs[3],fe[3],&idx)||idx>63u)return 0;
+ out->a=idx;return 1;
+ }
+ return 0;
+ }
+ if(act=='H'){
+ if(nf!=5)return 0;
+ u32 proto=0;if(!parse_u32_span(fs[2],fe[2],&proto)||proto<1u||proto>99u)return 0;
+ out->a=proto;return 1;
+ }
+ return 0;
+}
+static int nav_packet_parse(const char*t,char*action,s32*lat,s32*lon,u16*seq){
+ struct NavPacket p;if(!nav_packet_parse_ex(t,&p)||(p.action!='N'&&p.action!='S'))return 0;
+ *action=p.action;*lat=p.lat;*lon=p.lon;*seq=p.seq;return 1;
+}
static void file_write(const char*path,const char*s);
static void bt_log_append(const char*s);
-static u16 nav_last_seq=0;static int nav_last_seq_valid=0;
-static void nav_publish(char action,s32 lat,s32 lon,u16 seq,const char*name){if(nav_last_seq_valid&&nav_last_seq==seq)return;char b[384];b[0]=0;append_str(b,sizeof(b),"SEQ=");append_uint(b,sizeof(b),(u32)seq);append_char(b,sizeof(b),'\n');append_str(b,sizeof(b),"ACTION=");append_char(b,sizeof(b),action);append_char(b,sizeof(b),'\n');append_str(b,sizeof(b),"LAT=");append_sint(b,sizeof(b),lat);append_char(b,sizeof(b),'\n');append_str(b,sizeof(b),"LON=");append_sint(b,sizeof(b),lon);append_char(b,sizeof(b),'\n');append_str(b,sizeof(b),"NAME=");append_str(b,sizeof(b),(name&&name[0])?name:"PHONE DESTINATION");append_char(b,sizeof(b),'\n');file_write(BT_NAV_TMP_PATH,b);if(s_rename(BT_NAV_TMP_PATH,BT_NAV_PATH)<0){file_write(BT_NAV_PATH,b);s_unlink(BT_NAV_TMP_PATH);}nav_last_seq=seq;nav_last_seq_valid=1;bt_log_append("NAV RX ACCEPTED\n");}
+static void avrcp_passthrough(u8 op);
+static u32 alert_now_ms(void);
+static u16 nav_last_seq=0,nav_ack_seq=0,nav_last_ack_seq=0;
+static int nav_last_seq_valid=0,nav_ack_pending=0,nav_last_ack_valid=0,nav_last_ack_ok=0;
+static u32 nav_ack_deadline=0,nav_last_activity_ms=0,real_media_playing_at=0;
+static int real_media_was_playing=0,nav_resume_music=0;
+static void nav_publish_ex(const struct NavPacket*p,const char*name){
+ u32 now=alert_now_ms();
+ if(nav_last_seq_valid&&nav_last_seq==p->seq){
+ if(p->ver>=3&&nav_last_ack_valid&&nav_last_ack_seq==p->seq){
+ avrcp_passthrough(nav_last_ack_ok?0x4b:0x4c);
+ bt_log_append(nav_last_ack_ok?"NAV TX ACK RETRY\n":"NAV TX NACK RETRY\n");
+ }
+ return;
+ }
+ char b[448];b[0]=0;
+ append_str(b,sizeof(b),"VER=");append_uint(b,sizeof(b),p->ver);append_char(b,sizeof(b),'\n');
+ append_str(b,sizeof(b),"SEQ=");append_uint(b,sizeof(b),(u32)p->seq);append_char(b,sizeof(b),'\n');
+ append_str(b,sizeof(b),"ACTION=");append_char(b,sizeof(b),p->action);append_char(b,sizeof(b),'\n');
+ if(p->sub){append_str(b,sizeof(b),"SUB=");append_char(b,sizeof(b),p->sub);append_char(b,sizeof(b),'\n');}
+ append_str(b,sizeof(b),"LAT=");append_sint(b,sizeof(b),p->lat);append_char(b,sizeof(b),'\n');
+ append_str(b,sizeof(b),"LON=");append_sint(b,sizeof(b),p->lon);append_char(b,sizeof(b),'\n');
+ append_str(b,sizeof(b),"A=");append_uint(b,sizeof(b),p->a);append_char(b,sizeof(b),'\n');
+ append_str(b,sizeof(b),"B=");append_sint(b,sizeof(b),p->b);append_char(b,sizeof(b),'\n');
+ append_str(b,sizeof(b),"C=");append_uint(b,sizeof(b),p->c);append_char(b,sizeof(b),'\n');
+ if(p->hex[0]){append_str(b,sizeof(b),"HEX=");append_str(b,sizeof(b),p->hex);append_char(b,sizeof(b),'\n');}
+ append_str(b,sizeof(b),"NAME=");append_str(b,sizeof(b),(name&&name[0])?name:"PHONE DESTINATION");append_char(b,sizeof(b),'\n');
+ file_write(BT_NAV_TMP_PATH,b);
+ if(s_rename(BT_NAV_TMP_PATH,BT_NAV_PATH)<0){file_write(BT_NAV_PATH,b);s_unlink(BT_NAV_TMP_PATH);}
+ nav_last_seq=p->seq;nav_last_seq_valid=1;nav_last_activity_ms=now;
+ if(p->ver>=3){
+ nav_ack_pending=1;nav_ack_seq=p->seq;nav_ack_deadline=now+1800u;
+ if(real_media_was_playing&&(u32)(now-real_media_playing_at)<=6000u)nav_resume_music=1;
+ }
+ bt_log_append(p->ver>=3?"NAV RX CLP3 ACCEPTED\n":"NAV RX ACCEPTED\n");
+}
+static void nav_publish(char action,s32 lat,s32 lon,u16 seq,const char*name){
+ struct NavPacket p;memzero(&p,sizeof(p));p.ver=2;p.action=action;p.lat=lat;p.lon=lon;p.seq=seq;
+ nav_publish_ex(&p,name);
+}
static int parse_uint0(const char*s,u32*out){u32 v=0;int any=0;while(*s>='0'&&*s<='9'){any=1;v=v*10u+(u32)(*s-'0');s++;}if(out)*out=v;return any;}
static int starts0(const char*s,const char*p){u32 i=0;while(p[i]){if(s[i]!=p[i])return 0;i++;}return 1;}
static void file_write(const char*path,const char*s){long fd=s_open(path,O_WRONLY_|O_CREAT_|O_TRUNC_,0666);if(fd>=0){s_write((int)fd,s,slen(s));s_close((int)fd);}}
@@ -363,7 +502,7 @@ static void meta_clear_track(void){meta_title[0]=meta_artist[0]=meta_album[0]=0;
/* Mobile browsers can briefly expose the PWA/document title as AVRCP metadata
* while the silent ClioPlay Send transport session is being activated. That
* title is transport plumbing, not user media, so never publish it to clio040. */
-static int nav_sender_fallback_meta(void){return streq(meta_title,"ClioPlay Send");}
+static int nav_sender_fallback_meta(void){return streq(meta_title,"ClioPlay Send")||streq(meta_title,"ClioPlay Link");}
static void meta_hide_track(void){meta_title[0]=meta_artist[0]=meta_album[0]=0;meta_pos=meta_dur=0;meta_dirty=1;}
/* Publish complete IPC snapshots, never partially rewritten records. */
static int bt_publish_snapshot(const char*path,const char*tmp,const char*data){
@@ -711,7 +850,7 @@ static struct AudioChime camera_chime;
static u32 alert_seq=0,alert_last_id=0,alert_last_kind=0,alert_idle_until=0,alert_last_media=0;
static u32 alert_now_ms(void){struct {long sec,nsec;}t;if(sc2(263,1,(long)&t)>=0)return (u32)t.sec*1000u+(u32)(t.nsec/1000000L);return snd_now_ms();}
static void alert_service(void){u32 now=alert_now_ms(),msg[4];snd_feed_now=now;long f=s_open(CAMERA_ALERT_PATH,O_RDONLY_,0);
- if(f>=0){long n=s_read((int)f,msg,sizeof(msg));s_close((int)f);if(n==sizeof(msg)&&msg[0]==0x4c414c43u&&(msg[2]!=alert_seq||msg[1]!=alert_last_id||msg[3]!=alert_last_kind)){alert_seq=msg[2];alert_last_id=msg[1];alert_last_kind=msg[3];if(!msg[3]){camera_chime.total=0;alert_idle_until=0;if(sndfd>=0&&now-alert_last_media>200)snd_close();}else if(source_active&&(s32)(msg[2]-now)>=0&&(s32)(msg[2]-now)<=1500&&snd_open()){unsigned kind=msg[3]==2u?2u:1u;chime_start_kind(&camera_chime,udiv32(44100u,(u32)snd_div),kind);alert_idle_until=now+(kind==2u?1200u:1100u);}}}
+ if(f>=0){long n=s_read((int)f,msg,sizeof(msg));s_close((int)f);if(n==sizeof(msg)&&msg[0]==0x4c414c43u&&(msg[2]!=alert_seq||msg[1]!=alert_last_id||msg[3]!=alert_last_kind)){alert_seq=msg[2];alert_last_id=msg[1];alert_last_kind=msg[3];if(!msg[3]){camera_chime.total=0;alert_idle_until=0;if(sndfd>=0&&now-alert_last_media>200)snd_close();}else if(source_active&&(s32)(msg[2]-now)>=0&&(s32)(msg[2]-now)<=1500&&snd_open()){unsigned kind=(msg[3]>=1u&&msg[3]<=5u)?msg[3]:1u;chime_start_kind(&camera_chime,udiv32(44100u,(u32)snd_div),kind);alert_idle_until=now+(kind==2u?1200u:kind>=3u?950u:1100u);}}}
if(!source_active){camera_chime.total=0;alert_idle_until=0;return;}
if(!alert_idle_until)return;
if((s32)(now-alert_idle_until)>=0){alert_idle_until=0;if(now-alert_last_media>200&&sndfd>=0)snd_close();return;}
@@ -771,6 +910,55 @@ static int avrcp_duration_seconds(const u8*p,u16 n){
}
return (int)udiv32(ms,1000);
}
+static void nav_note_real_playback(int playing,u32 now){
+ if(streq(meta_album,"CLIOPLAY-NAV")||nav_sender_fallback_meta())return;
+ if(playing){real_media_was_playing=1;real_media_playing_at=now;nav_resume_music=0;}
+ else if(!nav_ack_pending&&(!nav_last_activity_ms||(u32)(now-nav_last_activity_ms)>2500u)){real_media_was_playing=0;}
+}
+static void nav_ack_service(u32 now){
+ if(nav_ack_pending){
+ if((s32)(now-nav_ack_deadline)>=0){
+ nav_ack_pending=0;bt_log_append("NAV ACK TIMEOUT\n");
+ }else{
+ char b[128];long fd=s_open(BT_NAV_ACK_PATH,O_RDONLY_,0);
+ if(fd>=0){
+ long n=s_read((int)fd,b,sizeof(b)-1);s_close((int)fd);
+ if(n>0){
+ b[n]=0;u32 seq=0,chime=0;int have_seq=0,have_res=0,is_ok=0;
+ char*ln=b;
+ for(long i=0;i<=n;i++){
+ if(b[i]=='\r'||b[i]=='\n'||b[i]==0){
+ char save=b[i];b[i]=0;
+ if(starts0(ln,"SEQ=")){have_seq=parse_uint0(ln+4,&seq);}
+ else if(starts0(ln,"RES=")){
+ if(streq(ln+4,"OK")){have_res=1;is_ok=1;}
+ else if(streq(ln+4,"NACK")){have_res=1;is_ok=0;}
+ }else if(starts0(ln,"CHIME=")){(void)parse_uint0(ln+6,&chime);}
+ if(!save)break;
+ ln=b+i+1;
+ }
+ }
+ if(have_seq&&have_res&&seq==(u32)nav_ack_seq){
+ nav_ack_pending=0;nav_last_ack_valid=1;nav_last_ack_seq=nav_ack_seq;nav_last_ack_ok=is_ok;nav_last_activity_ms=now;
+ avrcp_passthrough(is_ok?0x4b:0x4c);
+ bt_log_append(is_ok?"NAV TX ACK\n":"NAV TX NACK\n");
+ if(chime>=1u&&chime<=5u&&source_active&&snd_open()){
+ chime_start_kind(&camera_chime,udiv32(44100u,(u32)snd_div),chime);
+ alert_idle_until=now+950u;
+ }
+ }
+ }
+ }
+ }
+ }
+ if(nav_resume_music&&!nav_ack_pending&&avrcp_state==2&&(u32)(now-nav_last_activity_ms)>=900u){
+ if(!av_started||!meta_playing){
+ avrcp_passthrough(0x44);
+ bt_log_append("NAV SMART MUSIC RESUME\n");
+ }
+ nav_resume_music=0;real_media_was_playing=0;
+ }
+}
static void avrcp_parse(const u8*b,int n){if(n<6||b[1]!=0x11||b[2]!=0x0e)return;if((b[0]&2)==0)return;/* only AVCTP responses */if(b[5]==0x7c)return;if(b[5]!=0x00||n<13)return;if(b[6]!=0||b[7]!=0x19||b[8]!=0x58)return;u8 ctype=b[3]&0x0f,tl=(b[0]>>4)&0x0f,pdu=b[9],pkt=b[10];u16 plen=be16(b+11);if(13+(int)plen>n)plen=(u16)(n-13);if(pkt!=0)return;const u8*p=b+13;
if(pdu==0x31){
if(ctype==0x08||ctype==0x0a){
@@ -782,14 +970,14 @@ static void avrcp_parse(const u8*b,int n){if(n<6||b[1]!=0x11||b[2]!=0x0e)return;
u8 ev=p[0];
if(ctype==0x0f){
if(ev>=1&&ev<=2)avrcp_notify_state[ev]=2;
- if(ev==AVRCP_EVT_PLAYBACK&&plen>=2){meta_playing=p[1]==1;meta_dirty=1;}
+ if(ev==AVRCP_EVT_PLAYBACK&&plen>=2){meta_playing=p[1]==1;meta_dirty=1;nav_note_real_playback(meta_playing,alert_now_ms());}
return;
}
if(ctype==0x0d){
if(avrcp_notify_tl[tl]==ev)avrcp_notify_tl[tl]=0;
if(ev>=1&&ev<=2)avrcp_notify_state[ev]=0;
if(ev==AVRCP_EVT_PLAYBACK){
- if(plen>=2){meta_playing=p[1]==1;meta_dirty=1;}
+ if(plen>=2){meta_playing=p[1]==1;meta_dirty=1;nav_note_real_playback(meta_playing,alert_now_ms());}
avrcp_get_status();
avrcp_register_notify(AVRCP_EVT_PLAYBACK);
}else if(ev==AVRCP_EVT_TRACK){
@@ -801,8 +989,8 @@ static void avrcp_parse(const u8*b,int n){if(n<6||b[1]!=0x11||b[2]!=0x0e)return;
return;
}
if(ctype==0x08||ctype==0x0a)return;
- if(pdu==0x30&&plen>=9){u32 dur=be32(p),pos=be32(p+4);int play=p[8]==1;meta_dur=dur==0xffffffffu?0:(int)udiv32(dur,1000);meta_pos=(pos==0xffffffffu)?-1:(int)udiv32(pos,1000);meta_playing=play;meta_dirty=1;return;}
- if(pdu==0x20&&plen>=1){char previous_title[sizeof(meta_title)];copystr(previous_title,sizeof(previous_title),meta_title);int has_duration=0;u32 off=1,count=p[0];meta_title[0]=meta_artist[0]=meta_album[0]=0;for(u32 k=0;kplen)break;if(cs==106){if(id==1)meta_text(meta_title,sizeof(meta_title),p+off,ln);else if(id==2)meta_text(meta_artist,sizeof(meta_artist),p+off,ln);else if(id==3)meta_text(meta_album,sizeof(meta_album),p+off,ln);else if(id==7){has_duration=1;meta_dur=avrcp_duration_seconds(p+off,ln);}}off+=ln;}if(streq(meta_album,"CLIOPLAY-NAV")){char action=0;s32 lat=0,lon=0;u16 seq=0;if(nav_packet_parse(meta_title,&action,&lat,&lon,&seq))nav_publish(action,lat,lon,seq,meta_artist);else bt_log_append("NAV RX REJECTED\n");meta_hide_track();return;}if(nav_sender_fallback_meta()){bt_log_append("NAV SENDER FALLBACK METADATA HIDDEN\n");meta_hide_track();return;}if(!streq(previous_title,meta_title)){meta_pos=-1;if(!has_duration)meta_dur=0;}meta_dirty=1;return;}
+ if(pdu==0x30&&plen>=9){u32 dur=be32(p),pos=be32(p+4);int play=p[8]==1;meta_dur=dur==0xffffffffu?0:(int)udiv32(dur,1000);meta_pos=(pos==0xffffffffu)?-1:(int)udiv32(pos,1000);meta_playing=play;meta_dirty=1;nav_note_real_playback(meta_playing,alert_now_ms());return;}
+ if(pdu==0x20&&plen>=1){char previous_title[sizeof(meta_title)];copystr(previous_title,sizeof(previous_title),meta_title);int has_duration=0;u32 off=1,count=p[0];meta_title[0]=meta_artist[0]=meta_album[0]=0;for(u32 k=0;kplen)break;if(cs==106){if(id==1)meta_text(meta_title,sizeof(meta_title),p+off,ln);else if(id==2)meta_text(meta_artist,sizeof(meta_artist),p+off,ln);else if(id==3)meta_text(meta_album,sizeof(meta_album),p+off,ln);else if(id==7){has_duration=1;meta_dur=avrcp_duration_seconds(p+off,ln);}}off+=ln;}if(streq(meta_album,"CLIOPLAY-NAV")){struct NavPacket np;if(nav_packet_parse_ex(meta_title,&np))nav_publish_ex(&np,meta_artist);else bt_log_append("NAV RX REJECTED\n");meta_hide_track();return;}if(nav_sender_fallback_meta()){bt_log_append("NAV SENDER FALLBACK METADATA HIDDEN\n");meta_hide_track();return;}nav_note_real_playback(meta_playing,alert_now_ms());if(!streq(previous_title,meta_title)){meta_pos=-1;if(!has_duration)meta_dur=0;}meta_dirty=1;return;}
}
/* The daemon shares no auto-connect command file with the UI. That means
@@ -858,7 +1046,7 @@ static void auto_boot_service(u32 tick){
status_set("BT RECONNECTING");
hci_log(auto_attempts==1?"AUTO RECONNECT PROFILE-FIRST":"AUTO RECONNECT SECOND TRY",saved_peer,-1);
}
-static void session_close(int keep_status){snd_close();avrcp_close();avrcp_delay_ticks=-1;reconnect_profile_ticks=-1;reconnect_wait_ticks=-1;if(mediafd>=0)s_close(mediafd);if(sigfd>=0)s_close(sigfd);mediafd=sigfd=-1;av_reset_stream();live_peer_valid=0;meta_connected=0;meta_playing=0;if(saved_peer_valid)meta_device_set_addr(saved_peer);else meta_device_addr[0]=meta_device[0]=0;meta_dirty=1;if(!keep_status)status_set("BT WAIT PHONE");}
+static void session_close(int keep_status){snd_close();avrcp_close();avrcp_delay_ticks=-1;reconnect_profile_ticks=-1;reconnect_wait_ticks=-1;if(mediafd>=0)s_close(mediafd);if(sigfd>=0)s_close(sigfd);mediafd=sigfd=-1;av_reset_stream();live_peer_valid=0;meta_connected=0;meta_playing=0;nav_ack_pending=0;nav_resume_music=0;real_media_was_playing=0;if(saved_peer_valid)meta_device_set_addr(saved_peer);else meta_device_addr[0]=meta_device[0]=0;meta_dirty=1;if(!keep_status)status_set("BT WAIT PHONE");}
static int shutdown_requested(void){return auto_path_exists(SHUTDOWN_PATH);}
static void audio_shutdown_cleanup(void){
session_close(1);
@@ -870,7 +1058,7 @@ static void audio_shutdown_cleanup(void){
/* clio040 command file is a single latest-command record; sequence prevents repeats. */
static void process_command(void){char b[96]={0};long fd=s_open(BT_CMD_PATH,O_RDONLY_,0);if(fd<0)return;long n=s_read((int)fd,b,sizeof(b)-1);s_close((int)fd);if(n<=0)return;b[n]=0;u32 seq=0;if(!parse_uint0(b,&seq)||seq==command_seq_seen)return;command_seq_seen=seq;char*p=b;while(*p>='0'&&*p<='9')p++;while(*p==' '||*p=='\t')p++;
- if(starts0(p,"PLAY")){avrcp_passthrough(0x44);return;}if(starts0(p,"PAUSE")){avrcp_passthrough(0x46);return;}if(starts0(p,"NEXT")){avrcp_passthrough(0x4b);return;}if(starts0(p,"PREV")){avrcp_passthrough(0x4c);return;}
+ if(starts0(p,"PLAY")){avrcp_passthrough(0x44);return;}if(starts0(p,"PAUSE")){nav_resume_music=0;real_media_was_playing=0;avrcp_passthrough(0x46);return;}if(starts0(p,"NEXT")){avrcp_passthrough(0x4b);return;}if(starts0(p,"PREV")){avrcp_passthrough(0x4c);return;}
if(starts0(p,"PAIR")){auto_boot_preempt();if(hci_pair_armed){pair_pin_status();return;}manual_block=0;pair_pin_prepare();hci_pair_armed=1;hci_pair_ticks=600;hci_pin_peer_valid=0;{char l[40];l[0]=0;append_str(l,sizeof(l),"HCI PAIR ARMED 60S PIN ");append_str(l,sizeof(l),pair_pin);hci_log(l,0,-1);}if(pairing_policy_set(1)){hci_request("PAIR",0);}else{pair_policy_fallback=1;pair_policy_on=1;hci_request("PAIR_FALLBACK",0);}pair_pin_status();return;}
if(starts0(p,"CONNECT")){auto_boot_preempt();u8 target[6];const u8*t=0;char*q=p+7;while(*q==' '||*q=='\t')q++;if(addr_parse(q,target))t=target;else if(saved_peer_valid)t=saved_peer;manual_block=0;if(!t){status_set("BT NO SAVED DEVICE");return;}if(hci_pair_armed){hci_pair_armed=0;hci_pair_ticks=0;pairing_policy_finish();}hci_pin_peer_valid=0;if(!bond_restore_hcid(t)){status_set("BT REPAIR REQUIRED");hci_log("PHONE RECONNECT NO SAVED KEY",t,-1);return;}if(live_peer_valid&&!addr_eq(t,live_peer)){hci_request("DISCONNECT",live_peer);session_close(1);}peer_save(t);hci_remote_name_request(t);avrcp_close();reconnect_profile_ticks=0;reconnect_wait_ticks=250;avrcp_retry_at=0;hci_log("PHONE RECONNECT PROFILE-FIRST+BOND",t,-1);status_set("BT RECONNECTING");return;}
if(starts0(p,"DISCONNECT")){auto_boot_preempt();u8 target[6];const u8*t=live_peer_valid?live_peer:(saved_peer_valid?saved_peer:0);char*q=p+10;while(*q==' '||*q=='\t')q++;if(addr_parse(q,target))t=target;manual_block=1;if(hci_pair_armed){hci_pair_armed=0;hci_pair_ticks=0;pairing_policy_finish();}if(t)hci_request("DISCONNECT",t);if(!t||(live_peer_valid&&addr_eq(t,live_peer)))session_close(1);status_set("BT DISCONNECTED");device_list_write();return;}
@@ -916,6 +1104,7 @@ static void audio_profile_service(u32 now){
}
static void serve(void){long prio=s_audio_priority();bt_log_append("CLIOPLAY " CLIOPLAY_VERSION " BLUETOOTH AUDIO START\n");peer_load();local_bdaddr_load();meta_write();status_set("BT WAIT PHONE");hcifd=hci_raw_open();if(hcifd<0)hci_log("HCI MONITOR OPEN FAIL",0,-1);if(saved_peer_valid)bond_restore_hcid(saved_peer);device_list_write();hci_log("AVRCP SDP / MULTI-DEVICE BONDS / BUFFERED AUDIO / EARLY PHONE RECONNECT",0,-1);hci_log(prio<0?"AUDIO PRIORITY 0 REQUEST DENIED":"AUDIO PRIORITY 0 SET",0,-1);u32 tick=0;struct AudioPeriodic maintenance={0},status_poll={0},metadata_poll={0};for(;;){
u32 now=alert_now_ms(),steps=audio_periodic(&maintenance,now,100u);
+ nav_ack_service(now);
if(steps){
if(shutdown_requested()){bt_log_append("BT SHUTDOWN REQUESTED\n");audio_shutdown_cleanup();return;}
tick+=steps;audio_maintenance_runs++;
@@ -962,7 +1151,9 @@ static void serve(void){long prio=s_audio_priority();bt_log_append("CLIOPLAY " C
if(avrcpfd>=0){ic=np;pf[np].fd=avrcpfd;pf[np].events=POLLIN|(avrcp_state==1?POLLOUT:0);pf[np].revents=0;np++;}
/* A media packet may wake poll every few milliseconds. Only socket work
* runs at that rate; maintenance remains on its 100 ms wall-clock schedule. */
- long pr=s_poll(pf,(u32)np,audio_periodic_wait(&maintenance,alert_now_ms(),100u));
+ int poll_wait=audio_periodic_wait(&maintenance,alert_now_ms(),100u);
+ if(nav_ack_pending&&poll_wait>20)poll_wait=20;
+ long pr=s_poll(pf,(u32)np,poll_wait);
if(pr<0){hci_log("POLL ERROR",0,(int)(-pr));s_nanosleep(0,50000000);continue;}if(pr==0)continue;
if(ih>=0&&(pf[ih].revents&POLLIN))hci_event_service();
if(il>=0&&(pf[il].revents&POLLIN))accept_avdtp();if(ir>=0&&ctrllistenfd>=0&&(pf[ir].revents&POLLIN))accept_avrcp();
@@ -978,7 +1169,7 @@ static void serve(void){long prio=s_audio_priority();bt_log_append("CLIOPLAY " C
}}
#ifndef HOST_TEST
-__attribute__((noreturn)) void _start(void){memzero(status_last,sizeof(status_last));s_unlink(CAMERA_ALERT_PATH);s_unlink(BT_STATUS_PATH);s_unlink(BT_META_PATH);s_unlink(BT_NAV_PATH);s_unlink(BT_NAV_TMP_PATH);s_unlink(BT_HCI_PATH);serve();s_exit(0);}
+__attribute__((noreturn)) void _start(void){memzero(status_last,sizeof(status_last));s_unlink(CAMERA_ALERT_PATH);s_unlink(BT_STATUS_PATH);s_unlink(BT_META_PATH);s_unlink(BT_NAV_PATH);s_unlink(BT_NAV_TMP_PATH);s_unlink(BT_NAV_ACK_PATH);s_unlink(BT_HCI_PATH);serve();s_exit(0);}
#endif
#else
diff --git a/src/clio843/src/frame_renderer.h b/src/clio843/src/frame_renderer.h
index df05030..441e10f 100644
--- a/src/clio843/src/frame_renderer.h
+++ b/src/clio843/src/frame_renderer.h
@@ -129,7 +129,7 @@ static int render_same_scene(const struct RenderMapScene*a,const struct RenderMa
#include "explore_frames.h"
static int render_transition_active(u32 now){
- if(boot_fade.image||renderer.camera_pending||hud_menu_animating(now)||popup_animating(now)||menu_animating(now))return 1;
+ if(boot_fade.image||renderer.camera_pending||hud_menu_animating(now)||popup_animating(now)||menu_animating(now)||qr_pill_animating(now))return 1;
if(screen==SCR_MAP||bottom_pose(now)>0){
for(int id=HC_SPEED;idseen||(!t->from.a&&!t->target.box.a))continue;
diff --git a/src/clio843/src/hud.h b/src/clio843/src/hud.h
index 873b76b..e462f43 100644
--- a/src/clio843/src/hud.h
+++ b/src/clio843/src/hud.h
@@ -141,7 +141,7 @@ static void hud_source_text(char*b,unsigned cap){
else if(reading_present(car.source)&&!streq(car.source,af.band))copystr(b,cap,car.source);
}
-enum {HUD_KEYS=1, HUD_PROGRESS=2, HUD_PLAYBACK=8};
+enum {HUD_KEYS=1, HUD_PROGRESS=2, HUD_PROGRESS_FILL=4, HUD_PLAYBACK=8};
enum {HUD_STATUS_TITLE,HUD_STATUS_BODY,HUD_STATUS_DETAIL,HUD_STATUS_CONNECTION,
HUD_STATUS_FEEDBACK,HUD_STATUS_TRANSPORT,HUD_STATUS_TRAFFIC_TITLE,HUD_STATUS_TRAFFIC_DETAIL,HUD_STATUS_LAYOUT_COUNT};
static struct {
@@ -340,7 +340,16 @@ static void hud_prepare(int z,u32 now,int map){
copystr(c.tag,sizeof(c.tag),"BT ");appendstr(c.tag,sizeof(c.tag),ui_tr("CTRL"));
c.flags|=HUD_KEYS;if(hud_playback.valid)c.flags|=HUD_PLAYBACK;c.value=bt_transport_playing(now);
}
- if(urgent){
+ if(trip_stage.active){
+ c.kind=HUD_CALC;
+ copystr(c.title,sizeof(c.title),ui_tr("Receiving trip"));
+ appendstr(c.title,sizeof(c.title)," ");
+ append_int(c.title,sizeof(c.title),(int)trip_stage.received);
+ appendstr(c.title,sizeof(c.title),"/");
+ append_int(c.title,sizeof(c.title),(int)trip_stage.total);
+ c.flags|=HUD_PROGRESS|HUD_PROGRESS_FILL;
+ c.value=trip_stage.total?(int)((trip_stage.received*256u)/trip_stage.total):0;
+ }else if(urgent){
c.kind=urgent;hud_nav_text(&c,z,urgent,!media);
if(urgent==HUD_FAILURE)c.ink|=HUD_ERROR;
if(hud_source.kind){copystr(c.detail,sizeof(c.detail),hud_audio_tag());appendstr(c.detail,sizeof(c.detail)," ");char source[96];hud_source_text(source,sizeof(source));appendstr(c.detail,sizeof(c.detail),source);}
@@ -385,11 +394,19 @@ static void hud_prepare(int z,u32 now,int map){
}
hud_status_observe(map,now);
hud_status_compose(&c,now);
- hud_traffic_compose(&c,map,media);
- if(!c.traffic_serial&&!c.traffic_title[0]&&c.kind!=HUD_TRAFFIC){
- hud_parking_compose(&c,map,media);
- if(!c.parking_serial)hud_stop_compose(&c,map,media);
- if(!c.parking_serial&&!c.stop_serial)hud_suggestion_compose(&c,map,media);
+ if(map&&screen==SCR_MAP&&!freecam&&modal==MOD_NONE&&!media&&!trip_stage.active&&phone_undo_active(now)){
+ const char*title=ui_tr("Route replaced");
+ const char*hint=ui_tr(phone_undo_can_add?"OK: Add stop / BACK: Undo":"BACK: Undo");
+ if(!c.kind){c.kind=HUD_SYSTEM;copystr(c.title,sizeof(c.title),title);c.ink|=HUD_SUCCESS;}
+ else copystr(c.traffic_title,sizeof(c.traffic_title),title);
+ copystr(c.traffic_detail,sizeof(c.traffic_detail),hint);
+ }else{
+ hud_traffic_compose(&c,map,media);
+ if(!c.traffic_serial&&!c.traffic_title[0]&&c.kind!=HUD_TRAFFIC){
+ hud_parking_compose(&c,map,media);
+ if(!c.parking_serial)hud_stop_compose(&c,map,media);
+ if(!c.parking_serial&&!c.stop_serial)hud_suggestion_compose(&c,map,media);
+ }
}
if(!c.suggestion_serial||media||hud_suggestion_invited!=c.suggestion_serial)hud_suggestion_invited=0;
if(!c.traffic_serial||media||hud_diversion_invited!=c.traffic_serial)hud_diversion_invited=0;
@@ -765,12 +782,20 @@ static void hud_draw_status(struct HudBox b,const struct HudCard*c,u32 now){
row+=height;
}
if(c->flags&HUD_PROGRESS){
- int track=w-20,travel=track-28;if(travel<1)return;
+ int track=w-20;if(track<8)return;
hud_ink_alpha=hud_status_row_ink(changed_flags&HUD_PROGRESS?fade:full,bottom-row-5);
- u32 p=((now-hud_progress_at)/22u)%(u32)(travel*2);
- int off=p<=(u32)travel?(int)p:2*travel-(int)p;
int py=b.y+b.h-5;
- hud_rect_ink(x+10,py,track,2,C_BORDER);hud_rect_ink(x+10+off,py,28,2,C_CYAN);
+ hud_rect_ink(x+10,py,track,2,C_BORDER);
+ if(c->flags&HUD_PROGRESS_FILL){
+ int v=c->value<0?0:c->value>256?256:c->value;
+ int fw=(track*v+128)>>8;if(fw<4&&v>0)fw=4;if(fw>track)fw=track;
+ if(fw>0)hud_rect_ink(x+10,py,fw,2,C_CYAN);
+ }else{
+ int travel=track-28;if(travel<1)return;
+ u32 p=((now-hud_progress_at)/22u)%(u32)(travel*2);
+ int off=p<=(u32)travel?(int)p:2*travel-(int)p;
+ hud_rect_ink(x+10+off,py,28,2,C_CYAN);
+ }
}
}
static void hud_draw_camera_icon(int ox,int oy,int kind,int over,u16 ink){
diff --git a/src/clio843/src/map_raster.h b/src/clio843/src/map_raster.h
index b70121b..20413a4 100644
--- a/src/clio843/src/map_raster.h
+++ b/src/clio843/src/map_raster.h
@@ -21,9 +21,9 @@ static void map_mask_begin(int kind){
map_mask_active=1;map_mask_shift=0;
if(kind==0){map_mask_count=3;map_coverage_cols[0]=C_WATER;map_coverage_cols[1]=C_GREEN;map_coverage_cols[2]=C_BLUE;}
else if(kind==1){map_mask_count=6;for(int i=0;i<6;i++)map_coverage_cols[i]=road_colours[i];}
- else if(kind==2){map_mask_count=3;map_coverage_cols[0]=C_ROUTE;map_coverage_cols[1]=C_ROUTE_SKIPPED;map_coverage_cols[2]=C_ROUTE_DIVERSION;}
+ else if(kind==2){map_mask_count=5;map_coverage_cols[0]=C_ROUTE;map_coverage_cols[1]=C_ROUTE_SKIPPED;map_coverage_cols[2]=C_ROUTE_DIVERSION;map_coverage_cols[3]=C_ROUTE_FUTURE;map_coverage_cols[4]=0xffff;}
else if(kind==MAP_MASK_CASING){map_mask_count=6;for(int i=0;i<6;i++)map_coverage_cols[i]=road_casing_colours[i];}
- else if(kind==MAP_MASK_ROUTE_CASING){map_mask_count=3;map_coverage_cols[0]=C_ROUTE_CASING;map_coverage_cols[1]=C_ROUTE_SKIPPED_CASING;map_coverage_cols[2]=C_ROUTE_DIVERSION_CASING;}
+ else if(kind==MAP_MASK_ROUTE_CASING){map_mask_count=4;map_coverage_cols[0]=C_ROUTE_CASING;map_coverage_cols[1]=C_ROUTE_SKIPPED_CASING;map_coverage_cols[2]=C_ROUTE_DIVERSION_CASING;map_coverage_cols[3]=C_ROUTE_FUTURE_CASING;}
else{map_mask_count=1;map_coverage_cols[0]=C_CAR;}
}
static void map_mask_select(int slot){map_mask_shift=slot*5;}
diff --git a/src/clio843/src/menu_sheet.h b/src/clio843/src/menu_sheet.h
index eceb06f..d4a3616 100644
--- a/src/clio843/src/menu_sheet.h
+++ b/src/clio843/src/menu_sheet.h
@@ -4,7 +4,7 @@ enum {P_CLOSED,P_HOME,P_SETTINGS,P_TRIP,P_PLACES,P_NEARBY,P_NEARBY_LIST,P_STOP,P
P_NAME,P_COORD,P_REVIEW,P_LANG,P_PHONE,P_PHONE_ACTIONS,P_PAIR,P_CONFIRM,P_SOURCE,P_SET_DISPLAY,P_SET_HUD,P_SET_NAV,P_SET_HISTORY,P_SET_SYSTEM};
/* Settings IDs remain stable; categories only control navigation and presentation. */
static const struct {const char*title;int count,rows[4];} settings_groups[]={
- {"Display",4,{0,1,8,9}}, {"HUD layout",2,{10,11}}, {"Navigation",3,{2,3,4}},
+ {"Display",4,{0,1,8,9}}, {"HUD layout",2,{10,11}}, {"Navigation",4,{2,3,4,16}},
{"Driving history",4,{12,13,14,15}}, {"System",3,{7,5,6}}
};
enum {SETTINGS_GROUP_COUNT=sizeof(settings_groups)/sizeof(settings_groups[0])};
@@ -47,7 +47,8 @@ static char context_name[161];
static int menu_pending;
static u32 menu_at,focus_at,bottom_at,menu_presented_at,menu_interaction_at;
static u32 menu_paint_at;
-static int sheet_old_tab,menu_pair_waited,menu_pair_before;
+static int sheet_old_tab,menu_pair_waited,menu_pair_before,menu_pair_connected;
+static u32 menu_pair_link_seen;
static char menu_pair_name[33];
static int menu_screen(int p){return p==P_CLOSED?SCR_MAP:p==P_HOME?SCR_MENU:(p==P_SETTINGS||settings_group(p)>=0)||(p==P_LANG&&!language_keyboard)?SCR_SET:p==P_PHONE||p==P_PHONE_ACTIONS||p==P_PAIR?SCR_BT:p==P_NAME||p==P_LANG?SCR_KEY:p==P_COORD||p==P_REVIEW?SCR_COORDINATES:SCR_TRIP;}
static int bottom_from=256,bottom_to=256;
@@ -91,8 +92,8 @@ static struct HudBox menu_box_at_top(int p,int top){
if(p==P_REVIEW){w=416;h=220;}
if(p==P_LANG){w=364;h=220;}
if(p==P_STOP||p==P_DEST||p==P_PLACE){w=356;h=p==P_PLACE?174:154;}
- if(p==P_PHONE_ACTIONS){w=324;h=136;}
- if(p==P_PAIR){w=316;h=128;}
+ if(p==P_PHONE_ACTIONS){int idx=-1;for(int i=0;i=0&&btdev[idx].connected){w=384;h=166;}else{w=324;h=136;}}
+ if(p==P_PAIR){w=384;h=166;}
if(p==P_CONFIRM){w=280;h=confirm_has_view()?122:92;
if(confirm_kind==4&&width(place_display_name(confirm_suggestion.name),0)>252){w=356;h=106;}
if(confirm_kind==6||confirm_kind==7){w=312;h=96;}
@@ -185,7 +186,7 @@ static int place_count(void){return places_tab?nfaves:nrecents;}
static int menu_count(int p){
return p==P_HOME?(hw_bluetooth_enabled?3:2):p==P_SOURCE?4:p==P_SETTINGS?SETTINGS_GROUP_COUNT:settings_group(p)>=0?settings_groups[settings_group(p)].count:p==P_TRIP?(trip.count?trip.count+2+traffic_offer_valid():1):p==P_PLACES?place_count():p==P_NEARBY?NEARBY_CAT_COUNT:p==P_NEARBY_LIST?nearby_count:
p==P_STOP?3:p==P_DEST?3:p==P_PLACE?((!place_from_nearby&&places_tab)?4:3):p==P_PHONE?nbtdev+1:
- p==P_PHONE_ACTIONS?2:p==P_REVIEW?4:p==P_CONFIRM?(confirm_has_view()?3:2):0;
+ p==P_PHONE_ACTIONS?2:p==P_PAIR?(menu_pair_connected?1:0):p==P_REVIEW?4:p==P_CONFIRM?(confirm_has_view()?3:2):0;
}
static void selected_focus(int next,u32 now){if(next!=sheet_focus){sheet_old_focus=sheet_focus;sheet_focus=next;focus_at=menu_interaction_at=now;}}
static void open_sources(int action,u32 now){source_action=flow_action=action;places_picker=review_from_place=0;menu_push(P_SOURCE,0,now);}
@@ -254,7 +255,8 @@ static void start_name(int origin,u32 now){
static int menu_phone_index(void){for(int i=0;i=0){set_focus=row;settings_key(code);}
@@ -447,6 +449,7 @@ static void menu_key(int code,u32 now){
}return;
}
if(sheet_page==P_PHONE){if(sheet_focus==0)menu_pair(now);else if(sheet_focus<=nbtdev){phone_index=sheet_focus-1;copystr(phone_addr,sizeof(phone_addr),btdev[phone_index].addr);menu_push(P_PHONE_ACTIONS,0,now);}return;}
+ if(sheet_page==P_PAIR){if(menu_pair_connected){menu_back(now);sheet_focus=bt_connected_idx()+1;}return;}
if(sheet_page==P_PHONE_ACTIONS){
int index=menu_phone_index();if(index<0){menu_back(now);return;}
if(sheet_focus==0)bt_command_arg(btdev[index].connected?"DISCONNECT":"CONNECT",phone_addr);
@@ -568,14 +571,25 @@ static void trip_content(struct HudBox b,int selected,int opacity){
if(b.y+actions_y-30){appendstr(total,sizeof(total)," / ");append_int(total,sizeof(total),remaining);appendstr(total,sizeof(total),ui_tr(" stops left"));}
+ int remaining=(int)trip.count-1-(int)trip.active_idx;
+ if(remaining>0){
+ u32 fcost=trip_plan_future_cost_ds();
+ if(fcost!=ROUTE_INF&&route_status==R_READY){
+ u32 tot_m=sat_add32(route_path_m(),trip_plan_future_dist_m());
+ u32 tot_ds=sat_add32(sat_add32(traffic_remaining_cost(),atlas_future_cost),fcost);
+ appendstr(total,sizeof(total)," / ");appendstr(total,sizeof(total),ui_tr("Total: "));
+ append_miles(total,sizeof(total),tot_m);appendstr(total,sizeof(total)," ~");append_eta(total,sizeof(total),tot_ds);
+ }else{
+ appendstr(total,sizeof(total)," / ");append_int(total,sizeof(total),remaining);appendstr(total,sizeof(total),ui_tr(" stops left"));
+ }
+ }
/* Reserve a full target row before making room for the route summary. */
int summary=b.h-100;
if(summary<0)summary=0;if(summary>20)summary=20;
@@ -604,7 +618,16 @@ static void trip_content(struct HudBox b,int selected,int opacity){
round_rect(b.x+23,cy+5,1,step-9,0,C_BORDER,10);
round_rect(b.x+19,cy-4,9,9,i==trip.count-1?2:4,active?C_ACTIVE_TEXT:i==trip.active_idx?C_CYAN:C_MUTED,15);
if(active&&i==trip.active_idx)round_rect(b.x+22,cy-1,3,3,i==trip.count-1?0:1,C_ACTIVE,15);
+ char state_buf[32]="";
const char*state=ui_tr(i=trip.active_idx&&route_status==R_READY){
+ u32 cum=trip_plan_stop_cum_cost_ds(i);
+ if(cum!=ROUTE_INF){
+ if(local_clock_minutes()>=0){append_arrival_clock(state_buf,sizeof(state_buf),cum);}
+ else{appendstr(state_buf,sizeof(state_buf),"~");append_eta(state_buf,sizeof(state_buf),cum);}
+ state=state_buf;
+ }
+ }
int text_cy=pair_text(b,y,step-1,1,place_display_name(trip.target[i].name),state,active?C_ACTIVE_TEXT:i=0){settings_content(p,b,selected,opacity,now);return;}
if(p==P_PHONE){phone_content(b,selected,opacity);return;}
+ if(p==P_PAIR){
+ int lw=b.w-156;
+ hud_ink_alpha=opacity;
+ if(menu_pair_connected){
+ box_text(b.x+14,b.y+10,lw-14,22,title_face,ui_tr("Connected"),C_CYAN);
+ box_text(b.x+14,b.y+38,lw-14,18,1,btui.device[0]?btui.device:ui_tr("Phone"),C_WHITE);
+ box_text(b.x+14,b.y+66,lw-14,16,0,ui_tr("Scan for ClioPlay Link"),C_MUTED);
+ int bx=b.x+16,by=b.y+b.h-40,bw=lw-20,bh=26;
+ menu_tile(bx,by,bw,bh,1,opacity);hud_ink_alpha=opacity;
+ box_text(bx,by,bw,bh,1,ui_tr("Done"),C_ACTIVE_TEXT);
+ }else{
+ box_text(b.x+14,b.y+10,lw-14,22,title_face,ui_tr("Pair new phone"),C_WHITE);
+ text_value(b.x+14,b.y+44,lw-14,bt_status_text(),opacity);
+ text_value(b.x+14,b.y+68,lw-14,ui_tr("Waiting for phone"),opacity);
+ box_text(b.x+14,b.y+102,lw-14,16,0,ui_tr("Scan for ClioPlay Link"),C_CYAN);
+ }
+ if(qr_connect_ensure())qr_draw_matrix(&qr_connect_mat,b.x+lw+(b.w-lw)/2,b.y+b.h/2,b.h-24,opacity);
+ return;
+ }
+ if(p==P_PHONE_ACTIONS){
+ int index=menu_phone_index();if(index<0)return;
+ if(btdev[index].connected){
+ int lw=b.w-156;
+ hud_ink_alpha=opacity;
+ box_text(b.x+14,b.y+10,lw-14,22,title_face,ui_tr("Phone"),C_WHITE);
+ text_value(b.x+14,b.y+36,lw-14,bt_display_name(index),opacity);
+ const char*acts[2]={"Disconnect","Forget"};
+ for(int i=0;i<2;i++){
+ int ry=b.y+62+i*32;
+ menu_tile(b.x+16,ry,lw-20,26,selected==i,opacity);hud_ink_alpha=opacity;
+ box_text(b.x+16,ry,lw-20,26,1,ui_tr(acts[i]),selected==i?C_ACTIVE_TEXT:C_WHITE);
+ }
+ box_text(b.x+14,b.y+b.h-24,lw-14,14,0,ui_tr("Scan for ClioPlay Link"),C_MUTED);
+ if(qr_connect_ensure())qr_draw_matrix(&qr_connect_mat,b.x+lw+(b.w-lw)/2,b.y+b.h/2,b.h-24,opacity);
+ return;
+ }
+ }
if(p==P_CONFIRM)box_text(b.x+14,b.y+4,b.w-28,22,CONFIRMATION_FACE,ui_tr(menu_title(p)),C_WHITE);
else title_draw(b,menu_title(p));
const char*options[6]={0};int count=0;
@@ -857,7 +917,6 @@ static void menu_contents(int p,int selected,struct HudBox b,int opacity,u32 now
}
return;
}
- if(p==P_PAIR){text_value(b.x+18,b.y+42,b.w-36,bt_status_text(),opacity);text_value(b.x+18,b.y+64,b.w-36,ui_tr("Waiting for phone"),opacity);return;}
if(p==P_LANG){
int selected_lang=language_keyboard?kbd_pick:selected;
struct MenuRows rows=menu_rows(b.y+32,b.h-36,24,UI_LANGUAGE_COUNT,selected_lang);
@@ -910,8 +969,11 @@ static void menu_sync(u32 now){
if(sheet_page&&menu_screen(sheet_page)==screen){
if(sheet_page==P_PHONE_ACTIONS){int i=menu_phone_index();if(i<0){menu_back(now);return;}phone_index=i;}
if(sheet_page==P_PAIR){
- if(!btui.connected||starts(btui.status,"BT PAIR")||starts(btui.status,"BT WAIT"))menu_pair_waited=1;
- if(btui.connected&&(menu_pair_waited||!menu_pair_before||!streq(menu_pair_name,btui.device))){menu_back(now);sheet_focus=bt_connected_idx()+1;}
+ if(!btui.connected||starts(btui.status,"BT PAIR")||starts(btui.status,"BT WAIT")){menu_pair_waited=1;menu_pair_connected=0;}
+ if(btui.connected&&(menu_pair_waited||!menu_pair_before||!streq(menu_pair_name,btui.device))){
+ menu_pair_connected=1;
+ if(phone_link_seen_ms!=menu_pair_link_seen){menu_back(now);sheet_focus=bt_connected_idx()+1;}
+ }
}
if(sheet_page==P_STOP&&(!trip.active||stop_index>=trip.count-1))menu_return_trip(trip.active_idx,now);
if(sheet_page==P_DEST&&(!trip.active||!trip.count))menu_return_trip(0,now);
diff --git a/src/clio843/src/overlay_frames.h b/src/clio843/src/overlay_frames.h
index 6b52881..ef64d8a 100644
--- a/src/clio843/src/overlay_frames.h
+++ b/src/clio843/src/overlay_frames.h
@@ -21,6 +21,7 @@ static void render_paint_overlay(u32 now,u8*rows){
hud_glass_frame_begin();
menu_paint(now);
popup_paint(now);
+ qr_pill_draw(now);
hud_glass_frame_end();
overlay_rows=0;
}
@@ -33,10 +34,10 @@ static u32 overlay_model(void){
bt_control_mode,bt_controls_available(),hud_speed_over,hud_speed_from,
traffic_offer_valid(),mob_suggest_valid,ml_park_valid,ml_stop_valid,ml_offer_kind,hw_bluetooth_enabled,
sheet_page,sheet_old_page,sheet_focus,sheet_old_focus,places_tab,sheet_old_tab,
- bottom_from,bottom_to,modal,modal_choice};
+ bottom_from,bottom_to,modal,modal_choice,qr_pill_active,qr_pill_idx,qr_pill_total,menu_pair_connected};
hash=mob_hash(hash,context,sizeof(context));
#define OVERLAY_HASH(value) hash=mob_hash(hash,&(value),sizeof(value))
- OVERLAY_HASH(overlay_input_serial);OVERLAY_HASH(hud_glass_background);
+ OVERLAY_HASH(overlay_input_serial);OVERLAY_HASH(hud_glass_background);OVERLAY_HASH(qr_pill_serial);
OVERLAY_HASH(hud_tween);OVERLAY_HASH(hud_status_layout);OVERLAY_HASH(hud_progress_at);
OVERLAY_HASH(hud_playback);OVERLAY_HASH(bt_transport_press);OVERLAY_HASH(hud_speed_at);
OVERLAY_HASH(traffic_offer_serial);OVERLAY_HASH(mob_suggest_serial);
diff --git a/src/clio843/src/qr_encode.h b/src/clio843/src/qr_encode.h
new file mode 100644
index 0000000..144bc3d
--- /dev/null
+++ b/src/clio843/src/qr_encode.h
@@ -0,0 +1,316 @@
+/* Freestanding ISO/IEC 18004 QR Code encoder (Versions 1-8, Byte mode, ECC L).
+ * Pure integer C, zero heap allocation, ~2 KB static workspace.
+ * Guarantees crisp 3-4 px/module output with ISO 4-module white quiet zone on
+ * ClioPlay's 480x272 RGB565 framebuffer. */
+#ifndef CLIO_QR_ENCODE_H
+#define CLIO_QR_ENCODE_H
+
+#define QR_MAX_VER 8
+#define QR_MAX_SIZE (17 + 4 * QR_MAX_VER) /* 49 */
+#define QR_MAX_CW 242 /* V8 total codewords: 194 data + 48 EC */
+
+struct QrMatrix {
+ int version;
+ int size;
+ u8 mod[QR_MAX_SIZE * QR_MAX_SIZE]; /* bit 0: dark, bit 1: reserved function module */
+};
+
+/* ISO/IEC 18004 ECC Level L tables for Versions 1..8. */
+static const u16 qr_data_cw[QR_MAX_VER + 1] = {0, 19, 34, 55, 80, 108, 136, 156, 194};
+static const u8 qr_ec_per_blk[QR_MAX_VER + 1] = {0, 7, 10, 15, 20, 26, 18, 20, 24};
+static const u8 qr_blocks[QR_MAX_VER + 1] = {0, 1, 1, 1, 1, 1, 2, 2, 2};
+static const u8 qr_align_pos[QR_MAX_VER + 1][3] = {
+ {0,0,0}, {0,0,0}, {6,18,0}, {6,22,0}, {6,26,0},
+ {6,30,0}, {6,34,0}, {6,22,38}, {6,24,42}
+};
+static const u16 qr_fmt_bits_L[8] = {
+ 0x77C4u, 0x72F3u, 0x7DAAu, 0x789Du, 0x662Fu, 0x6318u, 0x6C41u, 0x6976u
+};
+static const u32 qr_ver_bits[QR_MAX_VER + 1] = {
+ 0, 0, 0, 0, 0, 0, 0, 0x07C94u, 0x085BCu
+};
+
+static u8 qr_gf_mul(u8 a, u8 b){
+ u8 r = 0;
+ for(int i = 0; i < 8; i++){
+ if(b & 1) r ^= a;
+ int hi = a & 0x80;
+ a = (u8)(a << 1);
+ if(hi) a ^= 0x1Du;
+ b >>= 1;
+ }
+ return r;
+}
+
+static void qr_rs_compute(const u8* data, int dlen, int eclen, u8* out){
+ u8 gen[28];
+ for(int i = 0; i <= eclen; i++) gen[i] = 0;
+ gen[0] = 1;
+ u8 root = 1;
+ for(int i = 0; i < eclen; i++){
+ for(int j = i + 1; j >= 1; j--){
+ gen[j] = (u8)(gen[j] ^ qr_gf_mul(gen[j - 1], root));
+ }
+ root = qr_gf_mul(root, 2);
+ }
+ for(int i = 0; i < eclen; i++) out[i] = 0;
+ for(int i = 0; i < dlen; i++){
+ u8 factor = (u8)(data[i] ^ out[0]);
+ for(int j = 0; j < eclen - 1; j++) out[j] = out[j + 1];
+ out[eclen - 1] = 0;
+ for(int j = 0; j < eclen; j++) out[j] = (u8)(out[j] ^ qr_gf_mul(gen[j + 1], factor));
+ }
+}
+
+static void qr_set_func(struct QrMatrix* q, int x, int y, int dark){
+ if(x < 0 || y < 0 || x >= q->size || y >= q->size) return;
+ q->mod[y * q->size + x] = (u8)(2u | (dark ? 1u : 0u));
+}
+
+static void qr_draw_finder(struct QrMatrix* q, int cx, int cy){
+ for(int dy = -4; dy <= 4; dy++){
+ for(int dx = -4; dx <= 4; dx++){
+ int x = cx + dx, y = cy + dy;
+ if(x < 0 || y < 0 || x >= q->size || y >= q->size) continue;
+ int ax = dx < 0 ? -dx : dx, ay = dy < 0 ? -dy : dy;
+ int d = ax > ay ? ax : ay;
+ int dark = (d != 2 && d != 4);
+ qr_set_func(q, x, y, dark);
+ }
+ }
+}
+
+static void qr_draw_align(struct QrMatrix* q, int cx, int cy){
+ for(int dy = -2; dy <= 2; dy++){
+ for(int dx = -2; dx <= 2; dx++){
+ int ax = dx < 0 ? -dx : dx, ay = dy < 0 ? -dy : dy;
+ int d = ax > ay ? ax : ay;
+ qr_set_func(q, cx + dx, cy + dy, d != 1);
+ }
+ }
+}
+
+static void qr_draw_format(struct QrMatrix* q, int mask){
+ u16 bits = qr_fmt_bits_L[mask & 7];
+ int s = q->size;
+ for(int i = 0; i <= 5; i++) qr_set_func(q, 8, i, (bits >> i) & 1);
+ qr_set_func(q, 8, 7, (bits >> 6) & 1);
+ qr_set_func(q, 8, 8, (bits >> 7) & 1);
+ qr_set_func(q, 7, 8, (bits >> 8) & 1);
+ for(int i = 9; i < 15; i++) qr_set_func(q, 14 - i, 8, (bits >> i) & 1);
+ for(int i = 0; i < 8; i++) qr_set_func(q, s - 1 - i, 8, (bits >> i) & 1);
+ for(int i = 8; i < 15; i++) qr_set_func(q, 8, s - 15 + i, (bits >> i) & 1);
+ qr_set_func(q, 8, s - 8, 1); /* Dark module */
+}
+
+static void qr_draw_version(struct QrMatrix* q){
+ if(q->version < 7) return;
+ u32 bits = qr_ver_bits[q->version];
+ int s = q->size;
+ for(int i = 0; i < 18; i++){
+ int dark = (int)((bits >> i) & 1u);
+ int a = s - 11 + (i % 3);
+ int b = i / 3;
+ qr_set_func(q, a, b, dark);
+ qr_set_func(q, b, a, dark);
+ }
+}
+
+static int qr_mask_bit(int mask, int x, int y){
+ switch(mask){
+ case 0: return ((x + y) & 1) == 0;
+ case 1: return (y & 1) == 0;
+ case 2: return (x % 3) == 0;
+ case 3: return ((x + y) % 3) == 0;
+ case 4: return (((y >> 1) + (x / 3)) & 1) == 0;
+ case 5: return ((x * y) & 1) + ((x * y) % 3) == 0;
+ case 6: return ((((x * y) & 1) + ((x * y) % 3)) & 1) == 0;
+ default: return ((((x + y) & 1) + ((x * y) % 3)) & 1) == 0;
+ }
+}
+
+static int qr_eval_penalty(const struct QrMatrix* q){
+ int s = q->size, pen = 0, dark = 0;
+ /* Rule 1: adjacent runs >= 5 in rows and cols. */
+ for(int y = 0; y < s; y++){
+ int run_r = 1, run_c = 1;
+ int pr = q->mod[y * s] & 1, pc = q->mod[y] & 1;
+ if(pr) dark++;
+ for(int x = 1; x < s; x++){
+ int dr = q->mod[y * s + x] & 1;
+ if(dr) dark++;
+ if(dr == pr){ run_r++; if(run_r == 5) pen += 3; else if(run_r > 5) pen++; }
+ else{ pr = dr; run_r = 1; }
+ int dc = q->mod[x * s + y] & 1;
+ if(dc == pc){ run_c++; if(run_c == 5) pen += 3; else if(run_c > 5) pen++; }
+ else{ pc = dc; run_c = 1; }
+ }
+ }
+ /* Rule 2: 2x2 same-colour blocks. */
+ for(int y = 0; y < s - 1; y++){
+ for(int x = 0; x < s - 1; x++){
+ int c = q->mod[y * s + x] & 1;
+ if(c == (q->mod[y * s + x + 1] & 1) &&
+ c == (q->mod[(y + 1) * s + x] & 1) &&
+ c == (q->mod[(y + 1) * s + x + 1] & 1)) pen += 3;
+ }
+ }
+ /* Rule 4: dark/light balance deviation from 50%. */
+ int total = s * s;
+ int diff = dark * 20 - total * 10;
+ if(diff < 0) diff = -diff;
+ pen += (diff / total) * 10;
+ return pen;
+}
+
+static int qr_encode_bytes(struct QrMatrix* q, const u8* data, int len){
+ if(!q || !data || len <= 0) return 0;
+ int ver = 0;
+ for(int v = 1; v <= QR_MAX_VER; v++){
+ if(len + 2 <= (int)qr_data_cw[v]){ ver = v; break; }
+ }
+ if(!ver) return 0;
+ int s = 17 + 4 * ver;
+ q->version = ver;
+ q->size = s;
+ for(int i = 0; i < s * s; i++) q->mod[i] = 0;
+
+ /* Build bit stream: Byte mode (0100), 8-bit count, payload bytes, terminator, pad. */
+ int dcw = (int)qr_data_cw[ver];
+ u8 raw[QR_MAX_CW];
+ for(int i = 0; i < QR_MAX_CW; i++) raw[i] = 0;
+ int bitpos = 0;
+ #define QR_PUT_BITS(val, nbits) do { \
+ for(int _k = (nbits) - 1; _k >= 0; _k--){ \
+ if(((val) >> _k) & 1) raw[bitpos >> 3] |= (u8)(1u << (7 - (bitpos & 7))); \
+ bitpos++; \
+ } \
+ } while(0)
+ QR_PUT_BITS(4, 4);
+ QR_PUT_BITS(len, 8);
+ for(int i = 0; i < len; i++) QR_PUT_BITS(data[i], 8);
+ int rem = dcw * 8 - bitpos;
+ int term = rem < 4 ? rem : 4;
+ for(int i = 0; i < term; i++) bitpos++;
+ while(bitpos & 7) bitpos++;
+ int byte_at = bitpos >> 3;
+ static const u8 pad_cw[2] = {0xECu, 0x11u};
+ for(int p = 0; byte_at < dcw; byte_at++, p ^= 1) raw[byte_at] = pad_cw[p];
+ #undef QR_PUT_BITS
+
+ /* Split into blocks, compute RS ECC, and interleave into final cw[]. */
+ int nblk = (int)qr_blocks[ver];
+ int eclen = (int)qr_ec_per_blk[ver];
+ int blk_d = dcw / nblk; /* Exact for all V1..V8 ECC L */
+ u8 ec[2][28];
+ for(int b = 0; b < nblk; b++) qr_rs_compute(raw + b * blk_d, blk_d, eclen, ec[b]);
+ u8 cw[QR_MAX_CW];
+ int cw_n = 0;
+ for(int i = 0; i < blk_d; i++) for(int b = 0; b < nblk; b++) cw[cw_n++] = raw[b * blk_d + i];
+ for(int i = 0; i < eclen; i++) for(int b = 0; b < nblk; b++) cw[cw_n++] = ec[b][i];
+
+ /* Place fixed function patterns. */
+ qr_draw_finder(q, 3, 3);
+ qr_draw_finder(q, s - 4, 3);
+ qr_draw_finder(q, 3, s - 4);
+ for(int i = 8; i < s - 8; i++){
+ qr_set_func(q, i, 6, (i & 1) == 0);
+ qr_set_func(q, 6, i, (i & 1) == 0);
+ }
+ if(ver >= 2){
+ int np = ver >= 7 ? 3 : 2;
+ for(int i = 0; i < np; i++){
+ for(int j = 0; j < np; j++){
+ if((i == 0 && j == 0) || (i == 0 && j == np - 1) || (i == np - 1 && j == 0)) continue;
+ qr_draw_align(q, qr_align_pos[ver][i], qr_align_pos[ver][j]);
+ }
+ }
+ }
+ qr_draw_format(q, 0);
+ qr_draw_version(q);
+
+ /* Zigzag place data + ECC bits. */
+ int idx = 0, total_bits = cw_n * 8;
+ for(int right = s - 1; right >= 1; right -= 2){
+ if(right == 6) right = 5;
+ for(int vert = 0; vert < s; vert++){
+ int up = (((right + 1) & 2) == 0);
+ int y = up ? (s - 1 - vert) : vert;
+ for(int j = 0; j < 2; j++){
+ int x = right - j;
+ if(q->mod[y * s + x] & 2u) continue;
+ int bit = 0;
+ if(idx < total_bits){
+ bit = (cw[idx >> 3] >> (7 - (idx & 7))) & 1;
+ idx++;
+ }
+ q->mod[y * s + x] = (u8)bit;
+ }
+ }
+ }
+
+ /* Pick best mask 0..7. */
+ int best_mask = 0, best_pen = 0x7fffffff;
+ for(int m = 0; m < 8; m++){
+ for(int y = 0; y < s; y++) for(int x = 0; x < s; x++){
+ if(!(q->mod[y * s + x] & 2u) && qr_mask_bit(m, x, y)) q->mod[y * s + x] ^= 1u;
+ }
+ qr_draw_format(q, m);
+ int pen = qr_eval_penalty(q);
+ if(pen < best_pen){ best_pen = pen; best_mask = m; }
+ for(int y = 0; y < s; y++) for(int x = 0; x < s; x++){
+ if(!(q->mod[y * s + x] & 2u) && qr_mask_bit(m, x, y)) q->mod[y * s + x] ^= 1u;
+ }
+ }
+ for(int y = 0; y < s; y++) for(int x = 0; x < s; x++){
+ if(!(q->mod[y * s + x] & 2u) && qr_mask_bit(best_mask, x, y)) q->mod[y * s + x] ^= 1u;
+ }
+ qr_draw_format(q, best_mask);
+ return 1;
+}
+
+static int qr_encode_text(struct QrMatrix* q, const char* s){
+ int n = 0;
+ while(s && s[n]) n++;
+ return qr_encode_bytes(q, (const u8*)s, n);
+}
+
+/* Render a crisp glare-proof pure-white QR card into ClioPlay's framebuffer
+ * centered inside [x..x+box_w, y..y+box_h] with >= 3-module white quiet zone. */
+static void qr_draw_matrix(const struct QrMatrix* q, int cx, int cy, int max_px, int opacity){
+ if(!q || q->size <= 0 || opacity <= 0) return;
+ int quiet = 3;
+ int total_mods = q->size + quiet * 2;
+ int scale = max_px / total_mods;
+ if(scale < 2) scale = 2;
+ if(scale > 4) scale = 4;
+ int card = total_mods * scale;
+ int ox = cx - card / 2, oy = cy - card / 2;
+ int old = hud_ink_alpha; hud_ink_alpha = opacity;
+ round_rect(ox, oy, card, card, 6, 0xffff, 15);
+ int qx = ox + quiet * scale, qy = oy + quiet * scale;
+ int alpha = (opacity >= 16) ? 16 : opacity;
+ for(int my = 0; my < q->size; my++){
+ for(int mx = 0; mx < q->size; mx++){
+ if(!(q->mod[my * q->size + mx] & 1u)) continue;
+ int px0 = qx + mx * scale, py0 = qy + my * scale;
+ if(alpha >= 16){
+ for(int dy = 0; dy < scale; dy++){
+ int py = py0 + dy;
+ if(py < 0 || py >= H) continue;
+ for(int dx = 0; dx < scale; dx++){
+ int px = px0 + dx;
+ if(px >= 0 && px < W) fb[py * W + px] = 0x0000;
+ }
+ }
+ }else{
+ for(int dy = 0; dy < scale; dy++)
+ for(int dx = 0; dx < scale; dx++)
+ blend_pixel(px0 + dx, py0 + dy, 0x0000, alpha);
+ }
+ }
+ }
+ hud_ink_alpha = old;
+}
+
+#endif
diff --git a/src/clio843/src/qr_sync.h b/src/clio843/src/qr_sync.h
new file mode 100644
index 0000000..66ed028
--- /dev/null
+++ b/src/clio843/src/qr_sync.h
@@ -0,0 +1,666 @@
+/* Optical Connect QR & Floating Map QR Sync Engine (ClioPlay v3.0).
+ * Pure integer freestanding C, zero heap allocation, bounded static buffers.
+ * Encodes:
+ * - Static Connect QR URL for P_PAIR & P_PHONE_ACTIONS (#q=C1...)
+ * - Closed-loop stacked CS1 binary sync bundle triggered via CLP3:Q:S/A/D:
+ * Header + 12-byte prefs.ini + Favourites + Active Trip (with multi-leg ETAs)
+ * + Recents + mobility.h / mobility_ml.h Driving Insights + CRC-16-CCITT. */
+#ifndef CLIO_QR_SYNC_H
+#define CLIO_QR_SYNC_H
+
+#define QR_SYNC_MAX_BYTES 1400
+#define QR_SYNC_CHUNK_BYTES 96
+#define QR_SYNC_MAX_FRAMES 15
+
+static struct QrMatrix qr_connect_mat;
+static char qr_connect_url[112];
+
+static u8 qr_sync_buf[QR_SYNC_MAX_BYTES];
+static int qr_sync_len;
+static struct QrMatrix qr_pill_mat;
+static char qr_pill_frame_text[160];
+
+static int qr_pill_active; /* 0=closed, 1=showing QR, 2=synced flash */
+static int qr_pill_idx;
+static int qr_pill_total;
+static int qr_pill_bt_ack;
+static u8 qr_pill_sid;
+static u32 qr_pill_serial;
+static u32 qr_pill_started_ms;
+static u32 qr_pill_frame_ms;
+static u32 qr_pill_activity_ms;
+static u32 qr_pill_done_ms;
+
+static u16 qr_crc16(const u8* data, int len){
+ u16 crc = 0xFFFFu;
+ for(int i = 0; i < len; i++){
+ crc ^= (u16)((u16)data[i] << 8);
+ for(int b = 0; b < 8; b++){
+ if(crc & 0x8000u) crc = (u16)((crc << 1) ^ 0x1021u);
+ else crc = (u16)(crc << 1);
+ }
+ }
+ return crc;
+}
+
+static void qr_parse_version(u8* maj, u8* min, u8* pat){
+ u8 v[3] = {0, 0, 0};
+ int part = 0;
+ const char* s = CLIOPLAY_VERSION;
+ while(*s && part < 3){
+ if(*s >= '0' && *s <= '9'){
+ unsigned next = (unsigned)v[part] * 10u + (unsigned)(*s - '0');
+ v[part] = next > 255u ? 255u : (u8)next;
+ }else if(*s == '.') part++;
+ s++;
+ }
+ *maj = v[0]; *min = v[1]; *pat = v[2];
+}
+
+static void qr_map_bbox(s16* minlat, s16* maxlat, s16* minlon, s16* maxlon){
+ *minlat = *maxlat = *minlon = *maxlon = 0;
+ if(!mapok) return;
+ s32 s0 = 9000000, n0 = -9000000, w0 = 18000000, e0 = -18000000;
+ if(atlas_ready && atlas_nr > 0){
+ for(u32 i = 0; i < atlas_nr; i++){
+ const struct AtlasRegion* r = &atlas_regions[i];
+ if(r->south < s0) s0 = r->south;
+ if(r->north > n0) n0 = r->north;
+ if(r->west < w0) w0 = r->west;
+ if(r->east > e0) e0 = r->east;
+ }
+ }else{
+ s0 = mh.minlat; n0 = mh.maxlat; w0 = mh.minlon; e0 = mh.maxlon;
+ }
+ if(s0 > n0 || w0 > e0) return;
+ s32 a = s0 / 1000, b = n0 / 1000, c = w0 / 1000, d = e0 / 1000;
+ if(a < -9000) a = -9000; if(a > 9000) a = 9000;
+ if(b < -9000) b = -9000; if(b > 9000) b = 9000;
+ if(c < -18000) c = -18000; if(c > 18000) c = 18000;
+ if(d < -18000) d = -18000; if(d > 18000) d = 18000;
+ *minlat = (s16)a; *maxlat = (s16)b; *minlon = (s16)c; *maxlon = (s16)d;
+}
+
+static void qr_connect_build_url(char* out, unsigned cap){
+ u8 maj = 0, min = 0, pat = 0;
+ qr_parse_version(&maj, &min, &pat);
+ s16 la0 = 0, la1 = 0, lo0 = 0, lo1 = 0;
+ qr_map_bbox(&la0, &la1, &lo0, &lo1);
+ char iso[3];
+ iso[0] = (region_iso[0] >= 'A' && region_iso[0] <= 'Z') ? region_iso[0] : '-';
+ iso[1] = (region_iso[1] >= 'A' && region_iso[1] <= 'Z') ? region_iso[1] : '-';
+ iso[2] = 0;
+ char unitpair[3];
+ unitpair[0] = (char)('0' + (pref.units % 3));
+ unitpair[1] = display_imperial() ? '1' : '0';
+ unitpair[2] = 0;
+ out[0] = 0;
+ appendstr(out, cap, "https://pxwel-dev.github.io/ClioPlay-Send/#q=C1.");
+ append_int(out, cap, maj); appendstr(out, cap, ".");
+ append_int(out, cap, min); appendstr(out, cap, ".");
+ append_int(out, cap, pat); appendstr(out, cap, ".");
+ appendstr(out, cap, iso); appendstr(out, cap, ".");
+ appendstr(out, cap, unitpair); appendstr(out, cap, ".");
+ append_int(out, cap, la0); appendstr(out, cap, ".");
+ append_int(out, cap, la1); appendstr(out, cap, ".");
+ append_int(out, cap, lo0); appendstr(out, cap, ".");
+ append_int(out, cap, lo1);
+}
+
+static int qr_connect_ensure(void){
+ char next[112];
+ qr_connect_build_url(next, sizeof(next));
+ if(qr_connect_mat.size > 0 && streq(next, qr_connect_url)) return 1;
+ copystr(qr_connect_url, sizeof(qr_connect_url), next);
+ return qr_encode_text(&qr_connect_mat, qr_connect_url);
+}
+
+/* Safe UTF-8 truncation to <= max_bytes without splitting a multi-byte char. */
+static int qr_utf8_trunc_len(const char* s, int max_bytes){
+ if(!s || max_bytes <= 0) return 0;
+ int len = 0;
+ while(s[len] && len < max_bytes) len++;
+ if(s[len] == 0) return len;
+ /* Step back over any trailing UTF-8 continuation bytes (10xxxxxx). */
+ while(len > 0 && ((u8)s[len] & 0xC0u) == 0x80u) len--;
+ return len;
+}
+
+static void qr_put_u8(u8* dst, int* pos, int cap, u8 v){
+ if(*pos + 1 <= cap) dst[(*pos)++] = v;
+}
+static void qr_put_u16(u8* dst, int* pos, int cap, u16 v){
+ if(*pos + 2 <= cap){ dst[(*pos)++] = (u8)(v & 0xffu); dst[(*pos)++] = (u8)(v >> 8); }
+}
+static void qr_put_s16(u8* dst, int* pos, int cap, s16 v){
+ qr_put_u16(dst, pos, cap, (u16)v);
+}
+static void qr_put_u32(u8* dst, int* pos, int cap, u32 v){
+ if(*pos + 4 <= cap){
+ dst[(*pos)++] = (u8)(v & 0xffu);
+ dst[(*pos)++] = (u8)((v >> 8) & 0xffu);
+ dst[(*pos)++] = (u8)((v >> 16) & 0xffu);
+ dst[(*pos)++] = (u8)((v >> 24) & 0xffu);
+ }
+}
+static void qr_put_s32(u8* dst, int* pos, int cap, s32 v){
+ qr_put_u32(dst, pos, cap, (u32)v);
+}
+static void qr_put_bytes(u8* dst, int* pos, int cap, const u8* src, int n){
+ if(n <= 0 || *pos + n > cap) return;
+ for(int i = 0; i < n; i++) dst[(*pos)++] = src[i];
+}
+static int qr_append_tlv(u8 tag, const u8* body, int blen){
+ if(blen < 0 || qr_sync_len + 3 + blen + 2 > QR_SYNC_MAX_BYTES) return 0;
+ qr_sync_buf[qr_sync_len++] = tag;
+ qr_sync_buf[qr_sync_len++] = (u8)(blen & 0xff);
+ qr_sync_buf[qr_sync_len++] = (u8)((blen >> 8) & 0xff);
+ for(int i = 0; i < blen; i++) qr_sync_buf[qr_sync_len++] = body[i];
+ return 1;
+}
+
+/* Resolve a friendly saved/recent name within 150 m for a mobility point. */
+static const char* qr_mob_place_name(s32 lat, s32 lon){
+ struct MobPoint p = {lat, lon};
+ u32 best = 151u;
+ const char* found = "";
+ for(int i = 0; i < nfaves; i++){
+ u32 d = mob_dist(p, (struct MobPoint){faves[i].lat, faves[i].lon});
+ if(d < best && faves[i].name[0]){ best = d; found = faves[i].name; }
+ }
+ if(found[0]) return found;
+ for(int i = 0; i < nrecents; i++){
+ u32 d = mob_dist(p, (struct MobPoint){recents[i].lat, recents[i].lon});
+ if(d < best && recents[i].name[0] && !streq(recents[i].name, "PHONE DESTINATION")){
+ best = d; found = recents[i].name;
+ }
+ }
+ return found;
+}
+
+static u8 qr_pace_pct(u32 ratio_q8){
+ if(ratio_q8 < 128u || ratio_q8 > 640u) return 0;
+ u32 pct = (256u * 100u + ratio_q8 / 2u) / ratio_q8;
+ if(pct < 50u) pct = 50u;
+ if(pct > 200u) pct = 200u;
+ return (u8)pct;
+}
+
+static u8 qr_class_bucket_pace(int c0, int c1){
+ u32 wsum = 0, wtot = 0;
+ for(int c = c0; c <= c1 && c < MOB_ML_CLASSES; c++){
+ if(mob_ml.road_cls[c].count >= 3u){
+ u32 w = mob_ml.road_cls[c].count;
+ if(w > 64u) w = 64u;
+ wsum += (u32)mob_ml.road_cls[c].ratio_q8 * w;
+ wtot += w;
+ }
+ }
+ if(!wtot) return 0;
+ return qr_pace_pct((wsum + wtot / 2u) / wtot);
+}
+
+static void qr_sync_build_insights(u8* sec, int* slen, int cap){
+ int p = 0;
+ u16 jcnt = (u16)(mob.n > 65535u ? 65535u : mob.n);
+ u32 tot_dist = 0, tot_dur = 0, max_dist = 0;
+ u16 day_counts[7] = {0,0,0,0,0,0,0};
+ u32 hour2_raw[12] = {0};
+ struct { s32 lat, lon; u16 visits; } clust[16];
+ int nclust = 0;
+
+ for(unsigned i = 0; i < mob.n && i < MOB_JOURNEYS; i++){
+ const struct MobJourney* j = &mob.journey[i];
+ if(tot_dist <= 0xffffffffu - j->distance) tot_dist += j->distance;
+ else tot_dist = 0xffffffffu;
+ if(tot_dur <= 0xffffffffu - j->duration) tot_dur += j->duration;
+ else tot_dur = 0xffffffffu;
+ if(j->distance > max_dist) max_dist = j->distance;
+ if(j->depart != MOB_UNKNOWN){
+ /* mob_day: 0=Sat, 1=Sun, 2..6=Mon..Fri -> export 0=Mon..6=Sun. */
+ unsigned d = (mob_day(j->depart) + 5u) % 7u;
+ if(day_counts[d] < 65535u) day_counts[d]++;
+ unsigned h2 = (j->depart % 86400u) / 7200u;
+ if(h2 < 12u) hour2_raw[h2]++;
+ }
+ /* Cluster destination into up to 16 candidate hotspots (150 m radius). */
+ int found = -1;
+ for(int c = 0; c < nclust; c++){
+ if(mob_dist(j->dest, (struct MobPoint){clust[c].lat, clust[c].lon}) <= 150u){
+ found = c; break;
+ }
+ }
+ if(found >= 0){
+ if(clust[found].visits < 65535u) clust[found].visits++;
+ }else if(nclust < 16){
+ clust[nclust].lat = j->dest.lat;
+ clust[nclust].lon = j->dest.lon;
+ clust[nclust].visits = 1;
+ nclust++;
+ }else{
+ int weakest = 0;
+ for(int c = 1; c < 16; c++) if(clust[c].visits < clust[weakest].visits) weakest = c;
+ if(clust[weakest].visits <= 1u){
+ clust[weakest].lat = j->dest.lat;
+ clust[weakest].lon = j->dest.lon;
+ clust[weakest].visits = 1;
+ }
+ }
+ }
+
+ /* Scale 2-hour counts to u8 (preserving relative shape if any > 255). */
+ u32 hmax = 0;
+ for(int i = 0; i < 12; i++) if(hour2_raw[i] > hmax) hmax = hour2_raw[i];
+ u8 hour2[12];
+ for(int i = 0; i < 12; i++){
+ if(hmax > 255u) hour2[i] = (u8)((hour2_raw[i] * 255u + hmax / 2u) / hmax);
+ else hour2[i] = (u8)hour2_raw[i];
+ }
+
+ /* Road-class pace profile & cold-weather pace. */
+ u8 cls_pace[4];
+ cls_pace[0] = qr_class_bucket_pace(1, 1); /* Motorway */
+ cls_pace[1] = qr_class_bucket_pace(2, 3); /* Trunk / Primary (A-roads) */
+ cls_pace[2] = qr_class_bucket_pace(4, 5); /* Secondary / Tertiary (B-roads) */
+ cls_pace[3] = qr_class_bucket_pace(6, 7); /* Local / Residential */
+ u32 cold_sum = 0, cold_tot = 0;
+ for(int c = 0; c < MOB_ML_CLASSES; c++){
+ if(mob_ml.road_cls[c].cold_count >= 3u){
+ u32 w = mob_ml.road_cls[c].cold_count > 32u ? 32u : (u32)mob_ml.road_cls[c].cold_count;
+ cold_sum += (u32)mob_ml.road_cls[c].cold_ratio_q8 * w;
+ cold_tot += w;
+ }
+ }
+ u8 cold_pace = cold_tot ? qr_pace_pct((cold_sum + cold_tot / 2u) / cold_tot) : 0;
+
+ /* Learned intelligence counts. */
+ u16 learned_roads = 0;
+ for(unsigned i = 0; i < MOB_TRAFFIC; i++) if(mob.road[i].key && mob.road[i].count) learned_roads++;
+ u8 learned_park = 0, learned_stops = 0, learned_haz = 0;
+ for(int i = 0; i < MOB_ML_PARKING; i++) if(mob_ml.parking[i].count) learned_park++;
+ for(int i = 0; i < MOB_ML_STOPS; i++) if(mob_ml.stops[i].count) learned_stops++;
+ for(int i = 0; i < MOB_ML_HAZARDS; i++) if(mob_ml.hazards[i].key && mob_ml.hazards[i].count) learned_haz++;
+ u8 bday = mob_ml.bright_day_n >= 3u ? mob_ml.bright_day : 0;
+ u8 bnight = mob_ml.bright_night_n >= 3u ? mob_ml.bright_night : 0;
+
+ /* Write 51-byte fixed summary header. */
+ qr_put_u16(sec, &p, cap, jcnt);
+ qr_put_u32(sec, &p, cap, tot_dist);
+ qr_put_u32(sec, &p, cap, tot_dur);
+ qr_put_u32(sec, &p, cap, max_dist);
+ for(int i = 0; i < 7; i++) qr_put_u16(sec, &p, cap, day_counts[i]);
+ qr_put_bytes(sec, &p, cap, hour2, 12);
+ qr_put_bytes(sec, &p, cap, cls_pace, 4);
+ qr_put_u8(sec, &p, cap, cold_pace);
+ qr_put_u16(sec, &p, cap, learned_roads);
+ qr_put_u8(sec, &p, cap, learned_park);
+ qr_put_u8(sec, &p, cap, learned_stops);
+ qr_put_u8(sec, &p, cap, learned_haz);
+ qr_put_u8(sec, &p, cap, bday);
+ qr_put_u8(sec, &p, cap, bnight);
+
+ /* Sort clusters descending and export Top 5 visited places. */
+ for(int i = 0; i < nclust; i++){
+ for(int j = i + 1; j < nclust; j++){
+ if(clust[j].visits > clust[i].visits){
+ s32 la = clust[i].lat, lo = clust[i].lon; u16 v = clust[i].visits;
+ clust[i] = clust[j]; clust[j].lat = la; clust[j].lon = lo; clust[j].visits = v;
+ }
+ }
+ }
+ int top_n = nclust < 5 ? nclust : 5;
+ int top_cnt_pos = p;
+ qr_put_u8(sec, &p, cap, 0);
+ u8 top_written = 0;
+ for(int i = 0; i < top_n; i++){
+ const char* nm = qr_mob_place_name(clust[i].lat, clust[i].lon);
+ int nlen = qr_utf8_trunc_len(nm, 24);
+ if(p + 11 + nlen > cap - 16) break;
+ qr_put_s32(sec, &p, cap, clust[i].lat);
+ qr_put_s32(sec, &p, cap, clust[i].lon);
+ qr_put_u16(sec, &p, cap, clust[i].visits);
+ qr_put_u8(sec, &p, cap, (u8)nlen);
+ qr_put_bytes(sec, &p, cap, (const u8*)nm, nlen);
+ top_written++;
+ }
+ sec[top_cnt_pos] = top_written;
+
+ /* Top 5 slowdown hotspots from mob_ml.hazards[]. */
+ int haz_idx[5], haz_n = 0;
+ for(int i = 0; i < MOB_ML_HAZARDS; i++){
+ if(!mob_ml.hazards[i].key || mob_ml.hazards[i].count < 2u) continue;
+ int pos = haz_n;
+ if(haz_n < 5) haz_n++;
+ else if(mob_ml.hazards[i].count <= mob_ml.hazards[haz_idx[4]].count) continue;
+ else pos = 4;
+ haz_idx[pos] = i;
+ while(pos > 0 && mob_ml.hazards[haz_idx[pos]].count > mob_ml.hazards[haz_idx[pos - 1]].count){
+ int tmp = haz_idx[pos - 1]; haz_idx[pos - 1] = haz_idx[pos]; haz_idx[pos] = tmp;
+ pos--;
+ }
+ }
+ int haz_cnt_pos = p;
+ qr_put_u8(sec, &p, cap, 0);
+ u8 haz_written = 0;
+ for(int i = 0; i < haz_n; i++){
+ if(p + 10 > cap - 8) break;
+ const struct MobHazard* h = &mob_ml.hazards[haz_idx[i]];
+ qr_put_s32(sec, &p, cap, h->lat);
+ qr_put_s32(sec, &p, cap, h->lon);
+ qr_put_u8(sec, &p, cap, h->count);
+ qr_put_u8(sec, &p, cap, h->cold_count);
+ haz_written++;
+ }
+ sec[haz_cnt_pos] = haz_written;
+
+ /* Last 6 recent drives walking backwards from mob.head. */
+ int drv_cnt_pos = p;
+ qr_put_u8(sec, &p, cap, 0);
+ u8 drv_written = 0;
+ unsigned lim = mob.n < 6u ? mob.n : 6u;
+ for(unsigned k = 0; k < lim; k++){
+ unsigned idx = (mob.head + MOB_JOURNEYS - 1u - k) % MOB_JOURNEYS;
+ const struct MobJourney* j = &mob.journey[idx];
+ const char* nm = qr_mob_place_name(j->dest.lat, j->dest.lon);
+ int nlen = qr_utf8_trunc_len(nm, 24);
+ if(p + 19 + nlen > cap) break;
+ qr_put_s32(sec, &p, cap, j->dest.lat);
+ qr_put_s32(sec, &p, cap, j->dest.lon);
+ qr_put_u32(sec, &p, cap, j->depart);
+ qr_put_u32(sec, &p, cap, j->distance);
+ qr_put_u16(sec, &p, cap, j->duration > 65535u ? 65535u : (u16)j->duration);
+ qr_put_u8(sec, &p, cap, (u8)nlen);
+ qr_put_bytes(sec, &p, cap, (const u8*)nm, nlen);
+ drv_written++;
+ }
+ sec[drv_cnt_pos] = drv_written;
+ *slen = p;
+}
+
+static int qr_sync_build(void){
+ qr_sync_len = 0;
+ u8 maj = 0, min = 0, pat = 0;
+ qr_parse_version(&maj, &min, &pat);
+ s16 la0 = 0, la1 = 0, lo0 = 0, lo1 = 0;
+ qr_map_bbox(&la0, &la1, &lo0, &lo1);
+ u8 flags = (u8)((mapok ? 1u : 0u) | (display_imperial() ? 2u : 0u) |
+ (pref.learn_history ? 4u : 0u) | (clock_valid ? 8u : 0u));
+ u8 packed_prefs[12];
+ clio_prefs_pack(packed_prefs);
+
+ /* 29-byte header. */
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, 'C');
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, 'S');
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, 1);
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, flags);
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, maj);
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, min);
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, pat);
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, (u8)(region_iso[0] ? region_iso[0] : '-'));
+ qr_put_u8(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, (u8)(region_iso[1] ? region_iso[1] : '-'));
+ qr_put_s16(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, la0);
+ qr_put_s16(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, la1);
+ qr_put_s16(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, lo0);
+ qr_put_s16(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, lo1);
+ qr_put_bytes(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, packed_prefs, 12);
+
+ static u8 sec[640];
+
+ /* Section 0x01: Favourites (up to 25). */
+ if(nfaves > 0){
+ int p = 1, cap = 560;
+ u8 cnt = 0;
+ int lim = nfaves < FAVE_MAX ? nfaves : FAVE_MAX;
+ for(int i = 0; i < lim; i++){
+ int nlen = qr_utf8_trunc_len(faves[i].name, 32);
+ if(p + 9 + nlen > cap) break;
+ qr_put_s32(sec, &p, cap, faves[i].lat);
+ qr_put_s32(sec, &p, cap, faves[i].lon);
+ qr_put_u8(sec, &p, cap, (u8)nlen);
+ qr_put_bytes(sec, &p, cap, (const u8*)faves[i].name, nlen);
+ cnt++;
+ }
+ sec[0] = cnt;
+ if(cnt) (void)qr_append_tlv(0x01, sec, p);
+ }
+
+ /* Section 0x02: Active Trip (remaining stops + Leg 0 & future leg ETAs). */
+ if(trip.active && trip.count > 0 && trip.active_idx < trip.count){
+ int p = 0, cap = 420;
+ int rem = trip.count - trip.active_idx;
+ if(rem > TRIP_MAX_TARGETS) rem = TRIP_MAX_TARGETS;
+ u32 leg0_m = route_status == R_READY ? sat_add32(route_path_m(), atlas_future_m) : 0;
+ u32 leg0_ds = route_status == R_READY ? sat_add32(traffic_remaining_cost(), atlas_future_cost) : 0;
+ u32 fut_m = trip_plan_future_dist_m();
+ u32 fut_ds = trip_plan_future_cost_ds();
+ if(fut_ds == ROUTE_INF) fut_ds = 0;
+ u32 tot_m = sat_add32(leg0_m, fut_m);
+ u32 tot_s = sat_add32(leg0_ds, fut_ds) / 10u;
+ qr_put_u8(sec, &p, cap, 0);
+ qr_put_u32(sec, &p, cap, tot_m);
+ qr_put_u32(sec, &p, cap, tot_s);
+ u8 trip_written = 0;
+ for(int k = 0; k < rem; k++){
+ int ti = trip.active_idx + k;
+ u32 lm = 0, ls = 0;
+ if(k == 0){ lm = leg0_m; ls = leg0_ds / 10u; }
+ else if(trip_legs[ti].status == TLEG_READY){ lm = trip_legs[ti].dist_m; ls = trip_legs[ti].cost_ds / 10u; }
+ int nlen = qr_utf8_trunc_len(trip.target[ti].name, 32);
+ if(p + 17 + nlen > cap) break;
+ qr_put_s32(sec, &p, cap, trip.target[ti].lat);
+ qr_put_s32(sec, &p, cap, trip.target[ti].lon);
+ qr_put_u32(sec, &p, cap, lm);
+ qr_put_u32(sec, &p, cap, ls);
+ qr_put_u8(sec, &p, cap, (u8)nlen);
+ qr_put_bytes(sec, &p, cap, (const u8*)trip.target[ti].name, nlen);
+ trip_written++;
+ }
+ sec[0] = trip_written;
+ if(trip_written) (void)qr_append_tlv(0x02, sec, p);
+ }
+
+ /* Section 0x04: Driving Insights (mobility.h + mobility_ml.h) before Recents
+ * so insights are guaranteed a budget even with 25 favourites. */
+ if(pref.learn_history && mob.n > 0){
+ int avail = QR_SYNC_MAX_BYTES - qr_sync_len - 5;
+ if(avail > 560) avail = 560;
+ if(avail >= 64){
+ int slen = 0;
+ qr_sync_build_insights(sec, &slen, avail);
+ if(slen > 0) (void)qr_append_tlv(0x04, sec, slen);
+ }
+ }
+
+ /* Section 0x03: Recents (up to 10, trimmed to remaining byte budget). */
+ if(nrecents > 0){
+ int avail = QR_SYNC_MAX_BYTES - qr_sync_len - 5;
+ if(avail > 320) avail = 320;
+ if(avail >= 16){
+ int p = 1;
+ u8 cnt = 0;
+ int lim = nrecents < 10 ? nrecents : 10;
+ for(int i = 0; i < lim; i++){
+ int nlen = qr_utf8_trunc_len(recents[i].name, 28);
+ if(p + 9 + nlen > avail) break;
+ qr_put_s32(sec, &p, avail, recents[i].lat);
+ qr_put_s32(sec, &p, avail, recents[i].lon);
+ qr_put_u8(sec, &p, avail, (u8)nlen);
+ qr_put_bytes(sec, &p, avail, (const u8*)recents[i].name, nlen);
+ cnt++;
+ }
+ sec[0] = cnt;
+ if(cnt) (void)qr_append_tlv(0x03, sec, p);
+ }
+ }
+
+ /* 2-byte trailing CRC-16-CCITT (LE). */
+ u16 crc = qr_crc16(qr_sync_buf, qr_sync_len);
+ qr_put_u16(qr_sync_buf, &qr_sync_len, QR_SYNC_MAX_BYTES, crc);
+ int total = (qr_sync_len + QR_SYNC_CHUNK_BYTES - 1) / QR_SYNC_CHUNK_BYTES;
+ if(total < 1) total = 1;
+ if(total > QR_SYNC_MAX_FRAMES) total = QR_SYNC_MAX_FRAMES;
+ return total;
+}
+
+static int qr_b64url_encode(const u8* in, int len, char* out, int cap){
+ static const char tbl[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
+ int o = 0;
+ for(int i = 0; i < len; i += 3){
+ u32 a = in[i];
+ u32 b = (i + 1 < len) ? in[i + 1] : 0;
+ u32 c = (i + 2 < len) ? in[i + 2] : 0;
+ u32 v = (a << 16) | (b << 8) | c;
+ if(o + 2 >= cap) break;
+ out[o++] = tbl[(v >> 18) & 63u];
+ out[o++] = tbl[(v >> 12) & 63u];
+ if(i + 1 < len && o + 1 < cap) out[o++] = tbl[(v >> 6) & 63u];
+ if(i + 2 < len && o + 1 < cap) out[o++] = tbl[v & 63u];
+ }
+ out[o] = 0;
+ return o;
+}
+
+static int qr_pill_encode_frame(int idx){
+ if(idx < 0 || idx >= qr_pill_total) return 0;
+ int off = idx * QR_SYNC_CHUNK_BYTES;
+ int len = qr_sync_len - off;
+ if(len <= 0) return 0;
+ if(len > QR_SYNC_CHUNK_BYTES) len = QR_SYNC_CHUNK_BYTES;
+ static const char hx[17] = "0123456789ABCDEF";
+ qr_pill_frame_text[0] = 0;
+ char prefix[16];
+ prefix[0] = 'C'; prefix[1] = 'S'; prefix[2] = '1'; prefix[3] = ':';
+ prefix[4] = hx[(qr_pill_sid >> 4) & 15u];
+ prefix[5] = hx[qr_pill_sid & 15u];
+ prefix[6] = ':'; prefix[7] = 0;
+ appendstr(qr_pill_frame_text, sizeof(qr_pill_frame_text), prefix);
+ append_int(qr_pill_frame_text, sizeof(qr_pill_frame_text), idx);
+ appendstr(qr_pill_frame_text, sizeof(qr_pill_frame_text), "/");
+ append_int(qr_pill_frame_text, sizeof(qr_pill_frame_text), qr_pill_total);
+ appendstr(qr_pill_frame_text, sizeof(qr_pill_frame_text), ":");
+ int base = slen(qr_pill_frame_text);
+ qr_b64url_encode(qr_sync_buf + off, len, qr_pill_frame_text + base, (int)sizeof(qr_pill_frame_text) - base);
+ qr_pill_idx = idx;
+ return qr_encode_text(&qr_pill_mat, qr_pill_frame_text);
+}
+
+static void qr_pill_dismiss(void){
+ if(!qr_pill_active) return;
+ qr_pill_active = 0;
+ qr_pill_bt_ack = 0;
+ qr_pill_serial++;
+}
+
+static int phone_qr_command(char sub, u32 arg){
+ u32 now = hud_now_ms();
+ if(sub == 'S'){
+ qr_pill_sid++;
+ if(!qr_pill_sid) qr_pill_sid = 1;
+ qr_pill_total = qr_sync_build();
+ if(!qr_pill_encode_frame(0)) return 0;
+ qr_pill_active = 1;
+ qr_pill_bt_ack = 0;
+ qr_pill_started_ms = qr_pill_frame_ms = qr_pill_activity_ms = now;
+ qr_pill_serial++;
+ return 1;
+ }
+ if(sub == 'A'){
+ if(qr_pill_active != 1 || qr_pill_total <= 0) return 0;
+ qr_pill_bt_ack = 1;
+ qr_pill_activity_ms = now;
+ int next = (int)(arg % (u32)qr_pill_total);
+ if(!qr_pill_encode_frame(next)) return 0;
+ qr_pill_frame_ms = now;
+ qr_pill_serial++;
+ return 1;
+ }
+ if(sub == 'D'){
+ if(!qr_pill_active) return 0;
+ qr_pill_active = 2;
+ qr_pill_done_ms = qr_pill_activity_ms = now;
+ qr_pill_serial++;
+ return 1;
+ }
+ return 0;
+}
+
+static void qr_pill_service(u32 now){
+ if(!qr_pill_active) return;
+ if(qr_pill_active == 2){
+ if(now - qr_pill_done_ms >= 900u) qr_pill_dismiss();
+ return;
+ }
+ if(now - qr_pill_activity_ms >= 20000u){
+ qr_pill_dismiss();
+ return;
+ }
+ /* Auto-cycle fallback when BT ACK is unavailable (e.g. legacy link or BT drop). */
+ if(!qr_pill_bt_ack && qr_pill_total > 1 &&
+ now - qr_pill_started_ms >= 1500u && now - qr_pill_frame_ms >= 1100u){
+ int next = (qr_pill_idx + 1) % qr_pill_total;
+ if(qr_pill_encode_frame(next)){
+ qr_pill_frame_ms = now;
+ qr_pill_serial++;
+ }
+ }
+}
+
+static int qr_pill_animating(u32 now){
+ if(!qr_pill_active) return 0;
+ if(qr_pill_active == 2) return 1;
+ if(now - qr_pill_started_ms < 240u) return 1;
+ return 0;
+}
+
+static void qr_pill_draw(u32 now){
+ if(!qr_pill_active || screen != SCR_MAP || modal != MOD_NONE) return;
+ int q = frame_ease(now - qr_pill_started_ms, 180);
+ if(q <= 0) return;
+ int alpha = (q * 16 + 128) / 256;
+ if(alpha < 1) alpha = 1;
+ if(alpha > 16) alpha = 16;
+ struct HudBox b = {W - 180 - 10, 44, 180, 188, q};
+ hud_glass(b, 0);
+ int ox = clip_x, oy = clip_y, orr = clip_right, ob = clip_bottom, oa = hud_ink_alpha;
+ clip_x = b.x + 2; clip_y = b.y + 2; clip_right = b.x + b.w - 2; clip_bottom = b.y + b.h - 2;
+ hud_ink_alpha = alpha;
+ if(qr_pill_active == 1){
+ box_text(b.x + 8, b.y + 4, b.w - 16, 16, 0, ui_tr("Sync to phone"), C_WHITE);
+ qr_draw_matrix(&qr_pill_mat, b.x + b.w / 2, b.y + 98, 153, alpha);
+ /* Bottom progress dots (or compact counter when > 9 frames). */
+ int dy = b.y + b.h - 11;
+ if(qr_pill_total <= 9){
+ int span = qr_pill_total * 10 - 4;
+ int sx = b.x + (b.w - span) / 2;
+ for(int i = 0; i < qr_pill_total; i++){
+ u16 col = (i == qr_pill_idx) ? C_CYAN : (i < qr_pill_idx ? C_WHITE : C_BORDER);
+ round_rect(sx + i * 10, dy - 3, 6, 6, 3, col, alpha >= 16 ? 15 : alpha);
+ }
+ }else{
+ char prog[16]; prog[0] = 0;
+ append_int(prog, sizeof(prog), qr_pill_idx + 1);
+ appendstr(prog, sizeof(prog), " / ");
+ append_int(prog, sizeof(prog), qr_pill_total);
+ box_text(b.x + 8, b.y + b.h - 17, b.w - 16, 13, 0, prog, C_CYAN);
+ }
+ }else{
+ /* Synced completion confirmation flash. */
+ int cx = b.x + b.w / 2, cy = b.y + b.h / 2 - 14;
+ round_rect(cx - 24, cy - 24, 48, 48, 24, C_CYAN, alpha >= 16 ? 15 : alpha);
+ /* Crisp white checkmark inside badge. */
+ for(int t = 0; t <= 8; t++){
+ for(int d = -1; d <= 1; d++){
+ blend_pixel(cx - 10 + t, cy + t + d, 0xffff, alpha >= 16 ? 15 : alpha);
+ }
+ }
+ for(int t = 0; t <= 16; t++){
+ for(int d = -1; d <= 1; d++){
+ blend_pixel(cx - 2 + t, cy + 8 - t + d, 0xffff, alpha >= 16 ? 15 : alpha);
+ }
+ }
+ box_text(b.x + 8, cy + 36, b.w - 16, 18, 1, ui_tr("Synced"), C_WHITE);
+ }
+ clip_x = ox; clip_y = oy; clip_right = orr; clip_bottom = ob; hud_ink_alpha = oa;
+}
+
+#endif
diff --git a/src/clio843/src/release_version.h b/src/clio843/src/release_version.h
index 70e034f..ef9c82c 100644
--- a/src/clio843/src/release_version.h
+++ b/src/clio843/src/release_version.h
@@ -1,5 +1,5 @@
/* Generated from VERSION by tools/release_version.py. */
#ifndef CLIOPLAY_RELEASE_VERSION_H
#define CLIOPLAY_RELEASE_VERSION_H
-#define CLIOPLAY_VERSION "2.2.8"
+#define CLIOPLAY_VERSION "3.0.0"
#endif
diff --git a/src/clio843/src/road_layout.h b/src/clio843/src/road_layout.h
index 51a20f3..097e07e 100644
--- a/src/clio843/src/road_layout.h
+++ b/src/clio843/src/road_layout.h
@@ -509,10 +509,23 @@ static int road_poly_is_loop(int p){
return iabs32(a->x-b->x)<=384&&iabs32(a->y-b->y)<=384;
}
+static int road_frac_q12(int num,int den){
+ if(num<=0||den<=0)return 0;
+ if(num>=den)return 4096;
+ u32 n=(u32)num,d=(u32)den;
+ while(n>0x0007ffffu){n>>=1;d>>=1;}
+ if(!d)return 4096;
+ int q=(int)udiv32((n<<12)+(d>>1),d);
+ return q>4096?4096:q;
+}
+
static int road_smoothstep_q8(int num,int den){
if(num<=0||den<=0)return 0;
if(num>=den)return 256;
- int t=(int)(((long long)num*256+(den>>1))/den);
+ u32 n=(u32)num,d=(u32)den;
+ while(n>0x007fffffu){n>>=1;d>>=1;}
+ int t=d?(int)udiv32((n<<8)+(d>>1),d):256;
+ if(t>256)t=256;
int t2=(t*t)>>8;
int s=3*t2-((2*t2*t)>>8);
if(s<0)s=0;if(s>256)s=256;
@@ -530,6 +543,7 @@ static void road_solve_transitions(void){
int max_len=z>=9?64:(z==8?48:(z==7?36:24));
for(int p=0;pcount<2||road_poly_is_loop(p))continue;
for(int end=0;end<2;end++){
@@ -538,8 +552,8 @@ static void road_solve_transitions(void){
if(v->x<-16*256||v->x>(W+16)*256||v->y<(MAP_TOP-16)*256||v->y>(MAP_BOTTOM+16)*256)continue;
int vx_px=v->x>>8,vy_px=v->y>>8;
- int c0=(vx_px-3)/32,c1=(vx_px+3)/32;
- int r0=(vy_px-3-MAP_TOP)/32,r1=(vy_px+3-MAP_TOP)/32;
+ int c0=(vx_px-3)>>5,c1=(vx_px+3)>>5;
+ int r0=(vy_px-3-MAP_TOP)>>5,r1=(vy_px+3-MAP_TOP)>>5;
if(c0<0)c0=0;if(c1>=ROAD_GRID_COLS)c1=ROAD_GRID_COLS-1;
if(r0<0)r0=0;if(r1>=ROAD_GRID_ROWS)r1=ROAD_GRID_ROWS-1;
s32 vx4=v->x>>4,vy4=v->y>>4;
@@ -563,7 +577,10 @@ static void road_solve_transitions(void){
long long dot=(long long)(vx4-ax4)*sx4+(long long)(vy4-ay4)*sy4;
if(dot>=len2){t_q12=4096;qx=b->x;qy=b->y;}
else if(dot>0){
- t_q12=(int)((dot*4096)/len2);
+ long long dn=dot,dd=len2;
+ while(dd>0x0007ffffLL){dn>>=1;dd>>=1;}
+ t_q12=dd?(int)udiv32((u32)dn<<12,(u32)dd):4096;
+ if(t_q12>4096)t_q12=4096;
qx=a->x+(s32)(((long long)(b->x-a->x)*t_q12)>>12);
qy=a->y+(s32)(((long long)(b->y-a->y)*t_q12)>>12);
}
@@ -741,13 +758,15 @@ static void road_draw_taper_span(const struct RoadVert*a,const struct RoadVert*b
int tgt_slot=(int)tp->tgt_slot,cross_grp=(tp->flags&1);
int px=0,py=0,pw=0,pcas=0,pfa=32,pd=0;
+ s32 d_x=b->draw_x-a->draw_x,d_y=b->draw_y-a->draw_y;
+ int d_w=(int)b->eff_w4-(int)a->eff_w4,d_c=(int)b->eff_cas4-(int)a->eff_cas4;
for(int k=0;k<=steps;k++){
- int t=k==steps?ib:(ia+(int)(((long long)span_q8*k)/steps));
- int rel=t-s0_q8;
- int bx=a->draw_x+(int)(((long long)(b->draw_x-a->draw_x)*rel)/seg_q8);
- int by=a->draw_y+(int)(((long long)(b->draw_y-a->draw_y)*rel)/seg_q8);
- int bw=(int)a->eff_w4+(int)(((long long)((int)b->eff_w4-(int)a->eff_w4)*rel)/seg_q8);
- int bc=(int)a->eff_cas4+(int)(((long long)((int)b->eff_cas4-(int)a->eff_cas4)*rel)/seg_q8);
+ int t=k==steps?ib:(ia+(int)udiv32((u32)span_q8*(u32)k,(u32)steps));
+ int q12=road_frac_q12(t-s0_q8,seg_q8);
+ int bx=a->draw_x+(int)(((long long)d_x*q12)>>12);
+ int by=a->draw_y+(int)(((long long)d_y*q12)>>12);
+ int bw=(int)a->eff_w4+((d_w*q12)>>12);
+ int bc=(int)a->eff_cas4+((d_c*q12)>>12);
int d_q8=end_idx==0?(off_q8+t):(off_q8+(total_q8-t));
int S=road_smoothstep_q8(d_q8,len_q8);
int w4=tgt_w4+(((bw-tgt_w4)*S+128)>>8);
@@ -827,14 +846,17 @@ static void road_draw_poly_pass(const struct RoadPoly*rp,int is_casing){
int ma=s0>b0?s0:b0,mb=s1draw_x:a->draw_x+(int)(((long long)(b->draw_x-a->draw_x)*ra)/seg_q8);
- int y0=ra==0?a->draw_y:a->draw_y+(int)(((long long)(b->draw_y-a->draw_y)*ra)/seg_q8);
- int x1=rb==seg_q8?b->draw_x:a->draw_x+(int)(((long long)(b->draw_x-a->draw_x)*rb)/seg_q8);
- int y1=rb==seg_q8?b->draw_y:a->draw_y+(int)(((long long)(b->draw_y-a->draw_y)*rb)/seg_q8);
- int w0=(int)a->eff_w4+(int)(((long long)((int)b->eff_w4-(int)a->eff_w4)*ra)/seg_q8);
- int w1=(int)a->eff_w4+(int)(((long long)((int)b->eff_w4-(int)a->eff_w4)*rb)/seg_q8);
- int c0=(int)a->eff_cas4+(int)(((long long)((int)b->eff_cas4-(int)a->eff_cas4)*ra)/seg_q8);
- int c1=(int)a->eff_cas4+(int)(((long long)((int)b->eff_cas4-(int)a->eff_cas4)*rb)/seg_q8);
+ int qa=road_frac_q12(ra,seg_q8),qb=road_frac_q12(rb,seg_q8);
+ s32 dx=b->draw_x-a->draw_x,dy=b->draw_y-a->draw_y;
+ int dw=(int)b->eff_w4-(int)a->eff_w4,dc=(int)b->eff_cas4-(int)a->eff_cas4;
+ int x0=ra==0?a->draw_x:a->draw_x+(int)(((long long)dx*qa)>>12);
+ int y0=ra==0?a->draw_y:a->draw_y+(int)(((long long)dy*qa)>>12);
+ int x1=rb==seg_q8?b->draw_x:a->draw_x+(int)(((long long)dx*qb)>>12);
+ int y1=rb==seg_q8?b->draw_y:a->draw_y+(int)(((long long)dy*qb)>>12);
+ int w0=(int)a->eff_w4+((dw*qa)>>12);
+ int w1=(int)a->eff_w4+((dw*qb)>>12);
+ int c0=(int)a->eff_cas4+((dc*qa)>>12);
+ int c1=(int)a->eff_cas4+((dc*qb)>>12);
int mid_caps=3;
if(fade0&&ma==b0)mid_caps=(mid_caps&~1)|4;
if(fade1&&mb==b1)mid_caps=(mid_caps&~2)|8;
diff --git a/src/clio843/src/trip_plan.h b/src/clio843/src/trip_plan.h
new file mode 100644
index 0000000..914ffc1
--- /dev/null
+++ b/src/clio843/src/trip_plan.h
@@ -0,0 +1,524 @@
+/* Multi-leg future route planner (ClioPlay v3.0).
+ * Leg 0 (Car -> trip.target[active_idx]) keeps full-fidelity route_lat/lon[]
+ * for turn-by-turn guidance, adherence, local repair and diversions.
+ * Legs k = active_idx+1 .. trip.count-1 run cooperatively after Leg 0 reaches
+ * R_READY, reusing the idle CH search arena (zero extra CH RAM) and storing
+ * decimated road polylines in a shared 64 KB static pool. */
+#ifndef CLIO_TRIP_PLAN_H
+#define CLIO_TRIP_PLAN_H
+
+#define TRIP_FUTURE_MAX_PTS 8192
+enum { TLEG_NONE=0, TLEG_READY=1, TLEG_CALC=2, TLEG_UNREACHABLE=3, TLEG_NOROAD=4 };
+
+struct TripLeg {
+ u8 status;
+ s32 from_lat, from_lon, to_lat, to_lon;
+ u32 cost_ds, dist_m;
+ u16 pt_off, pt_n;
+};
+
+static struct TripLeg trip_legs[TRIP_MAX_TARGETS];
+static s32 trip_future_lat[TRIP_FUTURE_MAX_PTS];
+static s32 trip_future_lon[TRIP_FUTURE_MAX_PTS];
+static u16 trip_future_used = 0;
+
+struct TripPlanSaved {
+ struct RouteSnapCandidate start_snap, start_twin, dest_cand[ROUTE_DEST_CAND_MAX], dest_twin;
+ int dest_count, dest_idx, start_twin_ok, start_used_twin, dest_twin_ok, dest_used_twin;
+ u32 dest_comp, start_pen0, start_pen1, best, meet, expanded;
+};
+static struct TripPlanSaved tp_saved, tp_work;
+static int tp_active = 0;
+static int tp_leg = -1;
+static int tp_saved_valid = 0;
+static struct RouteSnapCandidate tp_start_snap, tp_start_twin, tp_dest_cand[ROUTE_DEST_CAND_MAX];
+static int tp_start_twin_ok = 0, tp_dest_count = 0, tp_dest_idx = 0;
+
+static void tp_capture(struct TripPlanSaved*dst){
+ dst->start_snap=route_start_snap;dst->start_twin=route_start_twin;
+ for(int i=0;idest_cand[i]=route_dest_cand[i];
+ dst->dest_twin=route_dest_twin;
+ dst->dest_count=route_dest_count;dst->dest_idx=route_dest_idx;
+ dst->start_twin_ok=route_start_twin_ok;dst->start_used_twin=route_start_used_twin;
+ dst->dest_twin_ok=route_dest_twin_ok;dst->dest_used_twin=route_dest_used_twin;
+ dst->dest_comp=route_dest_comp;
+ dst->start_pen0=route_start_pen0;dst->start_pen1=route_start_pen1;
+ dst->best=route_best;dst->meet=route_meet;dst->expanded=route_expanded;
+}
+static void tp_apply(const struct TripPlanSaved*src){
+ route_start_snap=src->start_snap;route_start_twin=src->start_twin;
+ for(int i=0;idest_cand[i];
+ route_dest_twin=src->dest_twin;
+ route_dest_count=src->dest_count;route_dest_idx=src->dest_idx;
+ route_start_twin_ok=src->start_twin_ok;route_start_used_twin=src->start_used_twin;
+ route_dest_twin_ok=src->dest_twin_ok;route_dest_used_twin=src->dest_used_twin;
+ route_dest_comp=src->dest_comp;
+ route_start_pen0=src->start_pen0;route_start_pen1=src->start_pen1;
+ route_best=src->best;route_meet=src->meet;route_expanded=src->expanded;
+}
+static void tp_save_leg0(void){if(!tp_saved_valid){tp_capture(&tp_saved);tp_saved_valid=1;}}
+static void tp_restore_leg0(void){if(tp_saved_valid){tp_apply(&tp_saved);tp_saved_valid=0;}}
+static void tp_yield_slice(void){tp_capture(&tp_work);tp_restore_leg0();}
+static void tp_resume_slice(void){tp_save_leg0();tp_apply(&tp_work);}
+
+static void tp_ch_clear_search(void){
+ if(chbucket&&chbucket_n)memzero(chbucket,chbucket_n*4u);
+ chst_n=chhf_n=chhb_n=0;chheap_peak=0;
+ route_expanded=0;route_best=route_meet=ROUTE_INF;
+ route_start_pen0=route_start_pen1=0;
+ route_start_used_twin=route_dest_used_twin=route_dest_twin_ok=0;
+}
+static int tp_ch_begin(const struct RouteSnapCandidate*start,const struct RouteSnapCandidate*dest){
+ tp_ch_clear_search();
+ if(!ch_seed_start(start,route_dest_comp,1)||!ch_seed_destination(dest,route_dest_comp))return 0;
+ ch_update_meet(ch_state(start->node,0));
+ if(route_start_twin_ok)ch_update_meet(ch_state(route_start_twin.node,0));
+ return 1;
+}
+
+static void trip_plan_abort_active(void){
+ if(!tp_active)return;
+ tp_ch_clear_search();
+ route_arena_release();
+ tp_restore_leg0();
+ if(tp_leg>=0&&tp_legTRIP_FUTURE_MAX_PTS||(u32)out+(u32)n>TRIP_FUTURE_MAX_PTS){
+ trip_legs[k].pt_off=0;trip_legs[k].pt_n=0;continue;
+ }
+ for(u16 i=0;i= trip.count. */
+ for(int k=0;k=trip.count){
+ if(trip_legs[k].status!=TLEG_NONE)changed=1;
+ if(tp_active&&tp_leg==k)trip_plan_abort_active();
+ memzero(&trip_legs[k],sizeof(trip_legs[k]));
+ }
+ }
+ for(int k=trip.active_idx+1;k=0){
+ trip_legs[k]=old[reused];used_old[reused]=1;
+ }else{
+ memzero(&trip_legs[k],sizeof(trip_legs[k]));
+ trip_legs[k].from_lat=fl;trip_legs[k].from_lon=fo;
+ trip_legs[k].to_lat=tl;trip_legs[k].to_lon=to;
+ }
+ }
+ if(changed)trip_plan_compact();
+}
+
+static int trip_plan_pending(void){
+ if(!trip.active||route_status!=R_READY||route_repair_active||!routeok)return 0;
+ if(trip.count<=trip.active_idx+1)return 0;
+ for(int k=trip.active_idx+1;k=trip.count)return ROUTE_INF;
+ u32 sum=sat_add32(traffic_remaining_cost(),atlas_future_cost);
+ for(int k=trip.active_idx+1;k<=stop_idx;k++){
+ if(trip_legs[k].status!=TLEG_READY)return ROUTE_INF;
+ sum=sat_add32(sum,trip_legs[k].cost_ds);
+ }
+ return sum;
+}
+
+/* Append a point to the active future-leg slice with adaptive decimation so
+ * 1..9 future legs always fit inside the 64 KB pool while preserving curves. */
+static void tp_emit_pt(u16 base_off,u16*cnt,u16 cap,u32*step_m,s32*last_lat,s32*last_lon,s32 lat,s32 lon,int force){
+ if(*cnt==0){
+ if(base_off=cap&&cap>=8){
+ /* Downsample existing slice in-place by 2x keeping start and latest point. */
+ u16 out=1;
+ for(u16 i=2;i<*cnt;i+=2){
+ trip_future_lat[base_off+out]=trip_future_lat[base_off+i];
+ trip_future_lon[base_off+out]=trip_future_lon[base_off+i];
+ out++;
+ }
+ *cnt=out;
+ *step_m=(*step_m<2000u)?(*step_m*2u):2000u;
+ }
+ if(*cntcount;i++){
+ const struct AtlasMember*m=atlas_member(rs->first+i);if(!m)continue;
+ const struct AtlasNode*n=atlas_node(m->global);if(!n)continue;
+ u32 d=geo_seg_m(lg->from_lat,lg->from_lon,n->lat,n->lon);
+ if(dglobal;}
+ }
+ for(u32 i=0;icount;i++){
+ const struct AtlasMember*m=atlas_member(rt->first+i);if(!m)continue;
+ const struct AtlasNode*n=atlas_node(m->global);if(!n)continue;
+ u32 d=geo_seg_m(lg->to_lat,lg->to_lon,n->lat,n->lon);
+ if(dglobal;}
+ }
+ if(best_s==ROUTE_NOARC||best_t==ROUTE_NOARC)return 0;
+ /* Run tiny Dijkstra over atlas_nn portal nodes (reusing idle atlas arrays). */
+ for(u32 u=0;ucount;j++){
+ u32 eid=n->first+j;const struct AtlasEdge*e=atlas_edge(eid);if(!e)continue;
+ u32 nd=sat_add32(du,e->cost);
+ if(ndto]&&atlas_hpos[e->to]!=ROUTE_NOARC){
+ atlas_dist[e->to]=nd;atlas_prev[e->to]=u;atlas_prev_edge[e->to]=eid;atlas_heap_update(e->to);
+ }
+ }
+ }
+ if(atlas_dist[best_t]==ROUTE_INF)return 0;
+ /* Reconstruct portal chain + straight-line access estimates (~50 km/h). */
+ u32 access_m=sat_add32(best_sd,best_td);
+ u32 access_ds=udiv32(access_m*72u+50u,100u); /* ~50 km/h => 0.72 ds/m */
+ u32 total_m=access_m,total_ds=sat_add32(atlas_dist[best_t],access_ds);
+ u32 chain[256];u32 cn=0,cur=best_t;
+ while(cur!=ROUTE_NOARC&&cn<256u){
+ chain[cn++]=cur;
+ if(cur==best_s)break;
+ u32 eid=atlas_prev_edge[cur];
+ if(eid!=ROUTE_NOARC){const struct AtlasEdge*e=atlas_edge(eid);if(e)total_m=sat_add32(total_m,e->metres);}
+ cur=atlas_prev[cur];
+ }
+ u16 base=trip_future_used,cnt=0;
+ u16 cap=(u16)(TRIP_FUTURE_MAX_PTS>base?TRIP_FUTURE_MAX_PTS-base:0);
+ if(cap>300)cap=300;
+ u32 step_m=25u;s32 ll=0,lo=0;
+ tp_emit_pt(base,&cnt,cap,&step_m,&ll,&lo,lg->from_lat,lg->from_lon,1);
+ for(int i=(int)cn-1;i>=0;i--){
+ const struct AtlasNode*n=atlas_node(chain[i]);
+ if(n)tp_emit_pt(base,&cnt,cap,&step_m,&ll,&lo,n->lat,n->lon,1);
+ }
+ tp_emit_pt(base,&cnt,cap,&step_m,&ll,&lo,lg->to_lat,lg->to_lon,1);
+ lg->pt_off=base;lg->pt_n=cnt;trip_future_used=(u16)(trip_future_used+cnt);
+ lg->cost_ds=total_ds;lg->dist_m=total_m;lg->status=TLEG_READY;
+ return 1;
+}
+
+static int tp_finish_ch(int leg_idx){
+ if(route_best==ROUTE_INF||route_meet==ROUTE_INF)return 0;
+ /* Trace forward + backward CH arc sequences into idle ch_arc_tmp/ch_arc_path. */
+ int nf=0,nb=0;
+ u32 u=route_meet;
+ int start_used_twin=0,dest_used_twin=0;
+ for(;;){
+ struct ChState*s=ch_state(u,0);if(!s)return 0;
+ if(s->pf==ROUTE_NOARC&&(u==tp_start_snap.node||(tp_start_twin_ok&&u==tp_start_twin.node))){
+ start_used_twin=(s->seed_flags&1u)!=0;break;
+ }
+ if(nf>=ROUTE_PATH_MAX||s->pf==ROUTE_NOARC)return 0;
+ u32 fr=0;
+ if(qadjmode==7){struct QRec7 q;if(!qadj7_read_qrec(s->pf,&q))return 0;fr=q.from;}
+ else{struct CprArc a;if(!route_read_arc(s->pf,&a))return 0;fr=a.from;}
+ ch_arc_tmp[nf++]=s->pf;u=fr;
+ }
+ for(int i=nf-1;i>=0;i--)ch_arc_path[nb++]=ch_arc_tmp[i];
+ u=route_meet;
+ for(;;){
+ struct ChState*s=ch_state(u,0);if(!s||s->db==ROUTE_INF)return 0;
+ if(s->pb==ROUTE_NOARC){dest_used_twin=(s->seed_flags&2u)!=0;break;}
+ if(nb>=ROUTE_PATH_MAX)return 0;
+ u32 to=0;
+ if(qadjmode==7){struct QRec7 q;if(!qadj7_read_qrec(s->pb,&q))return 0;to=qrec7_to(&q);}
+ else{struct CprArc a;if(!route_read_arc(s->pb,&a))return 0;to=a.to;}
+ ch_arc_path[nb++]=s->pb;u=to;
+ }
+ const struct RouteSnapCandidate*rs=start_used_twin?&tp_start_twin:&tp_start_snap;
+ const struct RouteSnapCandidate*rd=dest_used_twin?&route_dest_twin:&tp_dest_cand[tp_dest_idx];
+ u32 spen=start_used_twin?route_start_pen1:route_start_pen0;
+ u32 total_cost=route_best>spen?route_best-spen:route_best;
+
+ int rem_legs=(int)trip.count-leg_idx;if(rem_legs<1)rem_legs=1;
+ u16 base=trip_future_used,cnt=0;
+ u16 avail=(u16)(TRIP_FUTURE_MAX_PTS>base?TRIP_FUTURE_MAX_PTS-base:0);
+ u16 cap=(u16)(avail/(u16)rem_legs);if(cap<64&&avail>=64)cap=64;if(cap>avail)cap=avail;
+ u32 step_m=25u,total_m=0;
+ s32 last_lat=0,last_lon=0,prev_lat=rs->snap_lat,prev_lon=rs->snap_lon;
+ tp_emit_pt(base,&cnt,cap,&step_m,&last_lat,&last_lon,rs->snap_lat,rs->snap_lon,1);
+
+ /* Emit partial start base edge. */
+ if(rs->arc!=ROUTE_NOARC){
+ struct CprBase sb;
+ if(route_read_base(rs->arc,&sb)&&sb.geom_count>=2){
+ for(u32 i=rs->geom_seg+1u;i0){
+ u32 x=ch_unpack_stack[--sp];
+ u32 base_id=ROUTE_NOARC;
+ if(qadjmode==7){
+ struct QRec7 q;if(!qadj7_read_qrec(x,&q))return 0;
+ if(qrec7_flags(&q)&CPR_ARC_SHORTCUT){
+ if(sp+2>ROUTE_PATH_MAX)return 0;
+ ch_unpack_stack[sp++]=q.right_geom;ch_unpack_stack[sp++]=q.left;continue;
+ }
+ base_id=q.left;
+ }else{
+ struct CprArc a;if(!route_read_arc(x,&a))return 0;
+ if(a.flags&CPR_ARC_SHORTCUT){
+ if(sp+2>ROUTE_PATH_MAX)return 0;
+ ch_unpack_stack[sp++]=a.right;ch_unpack_stack[sp++]=a.left;continue;
+ }
+ base_id=a.left;
+ }
+ struct CprBase bb;
+ if(base_id=2){
+ for(u32 gi=1;giarc!=ROUTE_NOARC){
+ struct CprBase db;
+ if(route_read_base(rd->arc,&db)&&db.geom_count>=2){
+ for(u32 i=1;i<=rd->geom_seg&&isnap_lat,rd->snap_lon));
+ tp_emit_pt(base,&cnt,cap,&step_m,&last_lat,&last_lon,rd->snap_lat,rd->snap_lon,1);
+
+ struct TripLeg*lg=&trip_legs[leg_idx];
+ lg->pt_off=base;lg->pt_n=cnt;trip_future_used=(u16)(trip_future_used+cnt);
+ lg->cost_ds=total_cost;lg->dist_m=total_m;lg->status=TLEG_READY;
+ return 1;
+}
+
+static int tp_begin_cand(int idx){
+ if(idx<0||idx>=tp_dest_count)return 0;
+ tp_dest_idx=idx;
+ struct CprNode sn;if(!route_read_node(tp_start_snap.node,&sn))return 0;
+ if(!route_dest_has_component(&tp_dest_cand[idx],sn.comp))return 0;
+ route_dest_comp=sn.comp;
+ route_start_snap=tp_start_snap;route_start_twin=tp_start_twin;
+ route_start_twin_ok=tp_start_twin_ok;
+ route_dest_count=tp_dest_count;route_dest_idx=idx;
+ for(int i=0;ifrom_lat,lg->from_lon),r1=atlas_owner(lg->to_lat,lg->to_lon);
+ if(r0<0||r1<0){lg->status=TLEG_NOROAD;return 0;}
+ if(r0!=atlas_route_region||r1!=atlas_route_region){
+ if(!tp_solve_atlas_cross(leg_idx,r0,r1))lg->status=TLEG_UNREACHABLE;
+ render_background_dirty=1;return 0;
+ }
+ }
+ tp_save_leg0();
+ tp_start_twin_ok=0;tp_dest_count=0;tp_dest_idx=0;
+ if(!route_snap_node_ex(lg->from_lat,lg->from_lon,&tp_start_snap,&tp_start_twin,&tp_start_twin_ok)){
+ tp_restore_leg0();lg->status=TLEG_NOROAD;return 0;
+ }
+ tp_dest_count=route_snap_candidates(lg->to_lat,lg->to_lon,ROUTE_DEST_SNAP_D2,1,1,tp_dest_cand,ROUTE_DEST_CAND_MAX);
+ if(tp_dest_count<1){tp_restore_leg0();lg->status=TLEG_NOROAD;return 0;}
+ if(route_same_endpoint(&tp_start_snap,&tp_dest_cand[0])){
+ u16 base=trip_future_used,cnt=0;u32 sm=25u;s32 ll=0,lo=0;
+ tp_emit_pt(base,&cnt,4,&sm,&ll,&lo,tp_start_snap.snap_lat,tp_start_snap.snap_lon,1);
+ tp_emit_pt(base,&cnt,4,&sm,&ll,&lo,tp_dest_cand[0].snap_lat,tp_dest_cand[0].snap_lon,1);
+ lg->pt_off=base;lg->pt_n=cnt;trip_future_used=(u16)(trip_future_used+cnt);
+ lg->cost_ds=0;lg->dist_m=0;lg->status=TLEG_READY;
+ tp_restore_leg0();render_background_dirty=1;return 0;
+ }
+ if(!route_arena_prepare()){tp_restore_leg0();lg->status=TLEG_UNREACHABLE;return 0;}
+ int started=0;
+ for(int i=0;istatus=TLEG_UNREACHABLE;return 0;}
+ lg->status=TLEG_CALC;tp_active=1;tp_leg=leg_idx;
+ tp_capture(&tp_work);
+ return 1;
+}
+
+static void trip_plan_service_until(u32 deadline){
+ trip_plan_sync();
+ if(!trip.active||route_status!=R_READY||route_repair_active||!routeok||trip.count<=trip.active_idx+1){
+ trip_plan_abort_active();return;
+ }
+ for(;;){
+ if(!tp_active){
+ int next=-1;
+ for(int k=trip.active_idx+1;k=6?14:10;
+ for(int pass=0;pass1)route_stroke_w4(x,y,n,col,wid,z);
+ }
+ map_mask_end();
+ }
+}
+
+#endif
diff --git a/src/clio843/src/ui_translations.h b/src/clio843/src/ui_translations.h
index 43633cf..1768974 100644
--- a/src/clio843/src/ui_translations.h
+++ b/src/clio843/src/ui_translations.h
@@ -265,4 +265,21 @@ static const char*ui_tr(const char*s){static const char*const rows[][UI_LANGUAGE
{"Route unavailable","Itinéraire indisponible","Ruta no disponible","Route nicht verfügbar","Percorso non disponibile","Rota indisponível","Route niet beschikbaar","Trasa niedostępna","Rota mevcut değil","Μη διαθέσιμη διαδρομή","Маршрут недоступний","Маршрут недоступен","المسار غير متاح","路线不可用","ルートを利用できません","경로 이용 불가","मार्ग उपलब्ध नहीं","המסלול אינו זמין"},
{"Limit ","Limite ","Límite ","Limit ","Limite ","Limite ","Limiet ","Limit ","Limit ","Όριο ","Ліміт ","Лимит ","الحد ","限速 ","制限 ","제한 ","सीमा ","מגבלה "},
{"Overspeed audio","Audio excès","Audio exceso","Tempo-Audio","Audio eccesso","Áudio excesso","Audio te snel","Przy przekroczeniu","Hız aşımı sesi","Ήχος υπέρβασης","При перевищенні","При превышении","صوت التجاوز","超速音频","超過時のみ音声","과속 시 음성","अधिक गति ऑडियो","שמע בחריגה"},
+ {"Browse Recents/Favourites, use ClioPlay Link","Récents/Favoris, ClioPlay Link","Recientes/Favoritos, ClioPlay Link","Letzte Ziele/Favoriten, ClioPlay Link","Recenti/Preferiti, ClioPlay Link","Recentes/Favoritos, ClioPlay Link","Recent/Favorieten, ClioPlay Link","Ostatnie/Ulubione, ClioPlay Link","Son yerler/Favoriler, ClioPlay Link","Πρόσφατα/Αγαπημένα, ClioPlay Link","Недавні/Обране, ClioPlay Link","Недавние/Избранное, ClioPlay Link","الأخيرة/المفضلة أو ClioPlay Link","浏览最近/收藏,使用 ClioPlay Link","履歴・お気に入り、ClioPlay Link","최근/즐겨찾기, ClioPlay Link","हाल के/पसंदीदा, ClioPlay Link","אחרונים/מועדפים, ClioPlay Link"},
+ {"Navigation chimes","Sons de navigation","Tonos de navegación","Navigationstöne","Suoni navigazione","Tons de navegação","Navigatiegeluiden","Dźwięki nawigacji","Navigasyon sesleri","Ήχοι πλοήγησης","Звуки навігації","Звуки навигации","نغمات الملاحة","导航提示音","ナビ通知音","내비게이션 알림음","नेविगेशन ध्वनि","צלילי ניווט"},
+ {"Link only","Lien seul","Solo enlace","Nur Link","Solo Link","Só Link","Alleen Link","Tylko Link","Yalnızca Link","Μόνο Link","Лише Link","Только Link","الرابط فقط","仅连接","連携のみ","연결만","केवल लिंक","קישור בלבד"},
+ {"All cues","Tous les signaux","Todos los avisos","Alle Hinweise","Tutti gli avvisi","Todos os avisos","Alle signalen","Wszystkie sygnały","Tüm uyarılar","Όλες οι ειδοπ.","Усі сигнали","Все сигналы","كل التنبيهات","全部提示","すべて","모든 알림","सभी संकेत","כל ההתראות"},
+ {"Previous route restored","Itinéraire précédent rétabli","Ruta anterior restaurada","Vorherige Route wiederhergestellt","Percorso precedente ripristinato","Rota anterior restaurada","Vorige route hersteld","Przywrócono poprzednią trasę","Önceki rota geri yüklendi","Επαναφορά προηγ. διαδρομής","Попередній маршрут відновлено","Предыдущий маршрут восстановлен","تمت استعادة المسار السابق","已恢复上一路线","前のルートを復元しました","이전 경로 복원됨","पिछला मार्ग बहाल हुआ","המסלול הקודם שוחזר"},
+ {"Settings updated","Réglages mis à jour","Ajustes actualizados","Einstellungen aktualisiert","Impostazioni aggiornate","Definições atualizadas","Instellingen bijgewerkt","Zaktualizowano ustawienia","Ayarlar güncellendi","Οι ρυθμίσεις ενημερώθηκαν","Налаштування оновлено","Настройки обновлены","تم تحديث الإعدادات","设置已更新","設定を更新しました","설정 업데이트됨","सेटिंग्स अपडेट हुईं","ההגדרות עודכנו"},
+ {"Trip ready","Trajet prêt","Viaje listo","Fahrt bereit","Viaggio pronto","Viagem pronta","Rit gereed","Trasa gotowa","Yolculuk hazır","Διαδρομή έτοιμη","Поїздка готова","Поездка готова","الرحلة جاهزة","行程就绪","ルート準備完了","여정 준비됨","यात्रा तैयार","הנסיעה מוכנה"},
+ {"Stop skipped","Étape ignorée","Parada omitida","Stopp übersprungen","Tappa saltata","Paragem ignorada","Stop overgeslagen","Pominięto przystanek","Durak atlandı","Παράλειψη στάσης","Зупинку пропущено","Остановка пропущена","تم تخطي المحطة","已跳过途经点","経由地をスキップ","경유지 건너뜀","स्टॉप छोड़ा गया","דילוג על עצירה"},
+ {"Queued - waiting for GPS","En file - attente GPS","En cola - esperando GPS","Warteschlange - GPS warten","In coda - attesa GPS","Em fila - a aguardar GPS","In wachtrij - wacht op GPS","W kolejce - czekam na GPS","Sırada - GPS bekleniyor","Σε αναμονή - GPS","У черзі - очікування GPS","В очереди - ожидание GPS","بالانتظار - إشارة GPS","已排队 - 等待 GPS","待機中 - GPS受信待ち","대기 중 - GPS 수신 중","कतार में - GPS की प्रतीक्षा","ממתין לאות GPS"},
+ {"Receiving trip","Réception du trajet","Recibiendo viaje","Empfange Fahrt","Ricezione viaggio","A receber viagem","Rit ontvangen","Odbieranie trasy","Yolculuk alınıyor","Λήψη διαδρομής","Отримання поїздки","Получение поездки","جاري استلام الرحلة","正在接收行程","ルート受信中","여정 수신 중","यात्रा प्राप्त हो रही है","מקבל נסיעה"},
+ {"Route replaced","Itinéraire remplacé","Ruta reemplazada","Route ersetzt","Percorso sostituito","Rota substituída","Route vervangen","Zmieniono trasę","Rota değiştirildi","Η διαδρομή άλλαξε","Маршрут замінено","Маршрут заменён","تم استبدال المسار","路线已替换","ルートを変更しました","경로 변경됨","मार्ग बदला गया","המסלול הוחלף"},
+ {"OK: Add stop / BACK: Undo","OK : Étape / RETOUR : Annuler","OK: Parada / ATRÁS: Deshacer","OK: Stopp / ZURÜCK: Rückg.","OK: Tappa / INDIETRO: Annulla","OK: Paragem / VOLTAR: Desf.","OK: Stop / TERUG: Ongedaan","OK: Przystanek / WSTECZ: Cofnij","OK: Durak / GERİ: Geri al","OK: Στάση / ΠΙΣΩ: Αναίρεση","OK: Зупинка / НАЗАД: Скасув.","OK: Остановка / НАЗАД: Отм.","موافق: محطة / رجوع: تراجع","确定:加途经点 / 返回:撤销","OK: 経由追加 / 戻る: 元に戻す","확인: 경유 추가 / 뒤로: 실행 취소","OK: स्टॉप जोड़ें / BACK: पूर्ववत","אישור: הוסף עצירה / חזור: בטל"},
+ {"BACK: Undo","RETOUR : Annuler","ATRÁS: Deshacer","ZURÜCK: Rückgängig","INDIETRO: Annulla","VOLTAR: Desfazer","TERUG: Ongedaan","WSTECZ: Cofnij","GERİ: Geri al","ΠΙΣΩ: Αναίρεση","НАЗАД: Скасувати","НАЗАД: Отменить","رجوع: تراجع","返回:撤销","戻る: 元に戻す","뒤로: 실행 취소","BACK: पूर्ववत","חזור: בטל"},
+ {"Scan for ClioPlay Link","Scanner pour ClioPlay Link","Escanear para ClioPlay Link","Scannen für ClioPlay Link","Scansiona per ClioPlay Link","Ler para ClioPlay Link","Scan voor ClioPlay Link","Skanuj dla ClioPlay Link","ClioPlay Link için tara","Σάρωση για ClioPlay Link","Сканувати для ClioPlay Link","Сканировать для ClioPlay Link","امسح لـ ClioPlay Link","扫码连接 ClioPlay Link","ClioPlay Link をスキャン","ClioPlay Link 스캔","ClioPlay Link के लिए स्कैन","סרוק עבור ClioPlay Link"},
+ {"Total: ","Total : ","Total: ","Gesamt: ","Totale: ","Total: ","Totaal: ","Łącznie: ","Toplam: ","Σύνολο: ","Разом: ","Всего: ","الإجمالي: ","全程: ","合計: ","전체: ","कुल: ","סה״כ: "},
+ {"Sync to phone","Sync. vers téléphone","Sincr. con móvil","Mit Handy sync.","Sincr. con telefono","Sincr. com telefone","Sync met telefoon","Synchr. z telefonem","Telefona aktar","Συγχρ. με τηλέφωνο","Синхр. з телефоном","Синхр. с телефоном","مزامنة مع الهاتف","同步到手机","スマホへ同期","휴대폰과 동기화","फ़ोन से सिंक करें","סנכרן לטלפון"},
+ {"Synced","Synchronisé","Sincronizado","Synchronisiert","Sincronizzato","Sincronizado","Gesynchroniseerd","Zsynchronizowano","Eşitlendi","Συγχρονίστηκε","Синхронізовано","Синхронизировано","تمت المزامنة","已同步","同期完了","동기화됨","सिंक हो गया","סונכרן"},
};if(!s||pref.language<1||pref.language>=UI_LANGUAGE_COUNT)return s;for(unsigned i=0;i atomic multi-leg magenta+lavender route), Trip sheet with Next + Total ETAs, Places sync, Driving Insights, and live CLP3:P car settings update."
},
"speed-warning.gif": {
- "sha256": "084b7463314116c7acbbf0f4ef8f4b5130de3c90e998d75d13f86c5ffd513bb7",
+ "sha256": "926c4315dacd9e0fd42f339be83c1d0a9991491a70629acd997a9bcbcb878fc0",
"frames": 42,
"duration_ms": 3650,
"reserved_pointer_colours": [
@@ -8094,256 +8169,256 @@
"source_frames": [
{
"frame": "night/hud-speed-warning-0000.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-0400.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-0450.png",
- "rgb565_sha256": "19162b5bf675ee616075666c22ab8b797a38d5f1f380ab968f9658cfa1246a51"
+ "rgb565_sha256": "3740aaf7dd25d7217b5cbb60f8f55c05f2ce53a3de6eb70d6246ebe013a64bd6"
},
{
"frame": "night/hud-speed-warning-0500.png",
- "rgb565_sha256": "7ac0b615820cb8ffccf2bd065a9af24868d357b47282049033ae2871295df62f"
+ "rgb565_sha256": "c5954a5e0fc39088552706b940c707f13f9bdf8f0492a0ad8ee51a684105f487"
},
{
"frame": "night/hud-speed-warning-0550.png",
- "rgb565_sha256": "26664d5d9a0feef38c03b26733b24de42e59c4c16e86ac71ae91072f558f92cd"
+ "rgb565_sha256": "2621c23f61f51c9b23e1a871140430f74cb8a047613ce2e9513bdaac893e33e3"
},
{
"frame": "night/hud-speed-warning-0600.png",
- "rgb565_sha256": "99f98bd074325da07b824b823ac004c0e963e64de337d40ab47113a70d6ffeed"
+ "rgb565_sha256": "2e11f1dd1862152e642c946530e408d1aeb77afce5dc898e7d47397c66dba386"
},
{
"frame": "night/hud-speed-warning-0650.png",
- "rgb565_sha256": "e9a46945c439c71505123dd636f4bd7a8de917a26dcd6648c812b8458ae2a41b"
+ "rgb565_sha256": "e2ae2c33e73a0df5f8d320d278b9d4d95c7ee6b8c8e370a028f28cf7e55c13bd"
},
{
"frame": "night/hud-speed-warning-0700.png",
- "rgb565_sha256": "157735589134b912da0fa8b2074e8177e8fcd19b26beed21f0da76729c81fe63"
+ "rgb565_sha256": "59ed2d41a0ad45d2292d70ffd73b7a40a1162b9095273fada570cf0018e85787"
},
{
"frame": "night/hud-speed-warning-0750.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-0800.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-0850.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-0900.png",
- "rgb565_sha256": "157735589134b912da0fa8b2074e8177e8fcd19b26beed21f0da76729c81fe63"
+ "rgb565_sha256": "59ed2d41a0ad45d2292d70ffd73b7a40a1162b9095273fada570cf0018e85787"
},
{
"frame": "night/hud-speed-warning-0950.png",
- "rgb565_sha256": "157735589134b912da0fa8b2074e8177e8fcd19b26beed21f0da76729c81fe63"
+ "rgb565_sha256": "59ed2d41a0ad45d2292d70ffd73b7a40a1162b9095273fada570cf0018e85787"
},
{
"frame": "night/hud-speed-warning-1000.png",
- "rgb565_sha256": "74d114b6d78e591adfe6d5ffbdac1deb1b27f5fcad4e90c8a1daf8451b1145ae"
+ "rgb565_sha256": "14cf64016bde12f9b35b115b18a76a3c1ce4167d7e5ffcc557982fde21a7f86f"
},
{
"frame": "night/hud-speed-warning-1050.png",
- "rgb565_sha256": "f73b10bf2f11d68a11b88be1598343e838435bbe471da9de45c983edbe070693"
+ "rgb565_sha256": "6f6b1fb0767ebc7f9f72e4f250c4492fda5b1216b5a4124d203367b2186da2c0"
},
{
"frame": "night/hud-speed-warning-1100.png",
- "rgb565_sha256": "c27d97e98193de3bded1d04be2434fda1962ba65d77b926c3892f9e5e51f9762"
+ "rgb565_sha256": "950c8d49ff2a9aee7d9264e4a65eb3545de1275793b1ad359fabac45f5c1136c"
},
{
"frame": "night/hud-speed-warning-1150.png",
- "rgb565_sha256": "21381c741c904c87dcee92271069f0e4f0b7b7c9af7d87617053e90ee6fc8a2f"
+ "rgb565_sha256": "d3c3dca16fd52ed0a313a5c04468c663dd469ab7996eeba01f48f426f7f79a5e"
},
{
"frame": "night/hud-speed-warning-1200.png",
- "rgb565_sha256": "c34cfca3409ad141a800c061c7a3092bafa4f96293b5d6ec27aecc585ec55ecd"
+ "rgb565_sha256": "b4b3969b6b30e61e14faf7b3b1feec982fe1d3ad755a60304be1bff9977d670e"
},
{
"frame": "night/hud-speed-warning-1250.png",
- "rgb565_sha256": "0d58f469d7ee92fa4f170b3b9af0bd957fd0604ec911711429af59a93d98388f"
+ "rgb565_sha256": "75ba95ef0948304f99da46c4126b9ea8d42bf2083817217b3c54652138f62e57"
},
{
"frame": "night/hud-speed-warning-1300.png",
- "rgb565_sha256": "46e0d2b92d7e1224879398ac6cde98959ae9b5b69aee510e4196fe858c241cd9"
+ "rgb565_sha256": "131601c0ffccdb59c077dabbf00be5617d462ffd2af64ab453c69b9fd253aab2"
},
{
"frame": "night/hud-speed-warning-1350.png",
- "rgb565_sha256": "aaec8becbc074aa667f72423099ac825b202ded9d20f9a8109084f08141d5185"
+ "rgb565_sha256": "1b258e4470d90a04118e3dcb3aaa288d5cb1738b7ce874722153eb72f1f01fe6"
},
{
"frame": "night/hud-speed-warning-1400.png",
- "rgb565_sha256": "3a15f2251926502810f254d9738900230979374aadcc7c9fad19195badaf71e4"
+ "rgb565_sha256": "1021fd42dedcd112f0d8313fdb9fc1c93d09b15bbec6e7be28897c41174c402d"
},
{
"frame": "night/hud-speed-warning-1450.png",
- "rgb565_sha256": "a70c8a85eb123e974c91b99469e443fa064b0d18f2a3dfec479ca917fe371263"
+ "rgb565_sha256": "859d505a9d0b17775a13f10892980c2dadbb4e13db94462c78a42e1efe79c3da"
},
{
"frame": "night/hud-speed-warning-1500.png",
- "rgb565_sha256": "496ca4748501c2858ae83cd789b232562e0473aaac9334dd45f43ad221e20c9d"
+ "rgb565_sha256": "450e2e4e73d3f5fcb17c903e28670b73378372767171db0a12edbcb6842d06c0"
},
{
"frame": "night/hud-speed-warning-1550.png",
- "rgb565_sha256": "7075e782149811c5921109105c9c588195af314d443da36b578089ce3fbba02d"
+ "rgb565_sha256": "1b750c1524a4cf23a22cdba899a33a556b6a52a923f337243ec97efc1227bc15"
},
{
"frame": "night/hud-speed-warning-1600.png",
- "rgb565_sha256": "1f74131fabdf521867cf009ce22d7d47128b3df24eaa4aeb2fadf856321ffc7f"
+ "rgb565_sha256": "2ead334846ee4ab501b7d82a808e72be9d76a524f6d02862e35b6e7bfe540ec3"
},
{
"frame": "night/hud-speed-warning-1650.png",
- "rgb565_sha256": "1f74131fabdf521867cf009ce22d7d47128b3df24eaa4aeb2fadf856321ffc7f"
+ "rgb565_sha256": "2ead334846ee4ab501b7d82a808e72be9d76a524f6d02862e35b6e7bfe540ec3"
},
{
"frame": "night/hud-speed-warning-1700.png",
- "rgb565_sha256": "1f74131fabdf521867cf009ce22d7d47128b3df24eaa4aeb2fadf856321ffc7f"
+ "rgb565_sha256": "2ead334846ee4ab501b7d82a808e72be9d76a524f6d02862e35b6e7bfe540ec3"
},
{
"frame": "night/hud-speed-warning-1750.png",
- "rgb565_sha256": "1f74131fabdf521867cf009ce22d7d47128b3df24eaa4aeb2fadf856321ffc7f"
+ "rgb565_sha256": "2ead334846ee4ab501b7d82a808e72be9d76a524f6d02862e35b6e7bfe540ec3"
},
{
"frame": "night/hud-speed-warning-1800.png",
- "rgb565_sha256": "496ca4748501c2858ae83cd789b232562e0473aaac9334dd45f43ad221e20c9d"
+ "rgb565_sha256": "450e2e4e73d3f5fcb17c903e28670b73378372767171db0a12edbcb6842d06c0"
},
{
"frame": "night/hud-speed-warning-1850.png",
- "rgb565_sha256": "496ca4748501c2858ae83cd789b232562e0473aaac9334dd45f43ad221e20c9d"
+ "rgb565_sha256": "450e2e4e73d3f5fcb17c903e28670b73378372767171db0a12edbcb6842d06c0"
},
{
"frame": "night/hud-speed-warning-1900.png",
- "rgb565_sha256": "4575b9d833a75018fbdf689c22d012b2deceff783d28453109220920a0108639"
+ "rgb565_sha256": "40559db56f811230de73c903c386bdb93c2a04dd668d1e08150fc47d49ec92fd"
},
{
"frame": "night/hud-speed-warning-1950.png",
- "rgb565_sha256": "f3e47d7e3b35d3e8e26db81b3ab156444071aafd20c456c9c46f2795d0ddd309"
+ "rgb565_sha256": "6683afedf612d9863b859e85a9a879c87099af2e2abf015a3f3d896568219c49"
},
{
"frame": "night/hud-speed-warning-2000.png",
- "rgb565_sha256": "256aad797e53cfaad69d4e8f9b67fe9a07e4454cdc708e7003fff0d822ffb7a2"
+ "rgb565_sha256": "5c63d4a1edba26c5e0854d1d769a1555e80978dc472986abff9ec1b7b87b0102"
},
{
"frame": "night/hud-speed-warning-2050.png",
- "rgb565_sha256": "d5277b8bb72d67c9b1f699cbedc20978f02b4af8e5a47395a70cbe5328d649b7"
+ "rgb565_sha256": "c060d34b5612f060082a75ca4b9a0a67bfbc7a3c9ebbf394a62370be201c6fe3"
},
{
"frame": "night/hud-speed-warning-2100.png",
- "rgb565_sha256": "44999d539dffb7cc8e7062fcd5c73922ac0bc2e8374988da86c5325b67f1925f"
+ "rgb565_sha256": "9b6d1086800272b1fa891f1cdf36f9b2823bc6fda38e51f3c7a1cf66e0728785"
},
{
"frame": "night/hud-speed-warning-2150.png",
- "rgb565_sha256": "af3ef807878bfe07c9c77f358ae1b4505f100542779f5299960a700eea2b9a5a"
+ "rgb565_sha256": "95d3b5f2449102903490f78aadb331a69f4a53049a90563e2a7d8e0de5bf38d5"
},
{
"frame": "night/hud-speed-warning-2200.png",
- "rgb565_sha256": "a9e6e7902bf3ae7c58fd3c03ad631c93e39cf9a1bcd30c6a79cc92d5b3103c44"
+ "rgb565_sha256": "ff79f4a77f809950ca85f7654cdc2abc79006bda3fe3c04d7312039746efa184"
},
{
"frame": "night/hud-speed-warning-2250.png",
- "rgb565_sha256": "e9a46945c439c71505123dd636f4bd7a8de917a26dcd6648c812b8458ae2a41b"
+ "rgb565_sha256": "e2ae2c33e73a0df5f8d320d278b9d4d95c7ee6b8c8e370a028f28cf7e55c13bd"
},
{
"frame": "night/hud-speed-warning-2300.png",
- "rgb565_sha256": "794ceba13ca4dbbd7413083243ce9db99d983ef935a5a0eeaf6c6351da3eff83"
+ "rgb565_sha256": "522ccef6d6d8c322caa444a41c58197870f7fb54446dbebc0add7740a76b2892"
},
{
"frame": "night/hud-speed-warning-2350.png",
- "rgb565_sha256": "74d114b6d78e591adfe6d5ffbdac1deb1b27f5fcad4e90c8a1daf8451b1145ae"
+ "rgb565_sha256": "14cf64016bde12f9b35b115b18a76a3c1ce4167d7e5ffcc557982fde21a7f86f"
},
{
"frame": "night/hud-speed-warning-2400.png",
- "rgb565_sha256": "157735589134b912da0fa8b2074e8177e8fcd19b26beed21f0da76729c81fe63"
+ "rgb565_sha256": "59ed2d41a0ad45d2292d70ffd73b7a40a1162b9095273fada570cf0018e85787"
},
{
"frame": "night/hud-speed-warning-2450.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-2500.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-2550.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-2600.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-2650.png",
- "rgb565_sha256": "cdd5585edfbe31d105e08a398a217633136ed988a462855e54a6bd5ff1f9ba11"
+ "rgb565_sha256": "f495cf3192e453574b50fcf73cbb903ab0a1f04eafe839a87ed12f62fbf89d8f"
},
{
"frame": "night/hud-speed-warning-2700.png",
- "rgb565_sha256": "f131e3bdcb0f035b5c6004ac4259416b1fec3bfa5c9cbea805ba7cdb32924227"
+ "rgb565_sha256": "f59c623c69fc585e2dc11d1b415882ec16442b33c4f24ff7c824f1d5f47ba281"
},
{
"frame": "night/hud-speed-warning-2750.png",
- "rgb565_sha256": "ed815de24ec29ce6b33b0006159dc8744465e7911dc96a5cba69d83d93b21165"
+ "rgb565_sha256": "208d715d5db59e5aceae9a6d97699961373703ab54a209219a40e1350db0b536"
},
{
"frame": "night/hud-speed-warning-2800.png",
- "rgb565_sha256": "6ab8cd3ece08f82974d80daf5aa0cb9e860bfd5ee91f971cb8960cc33e79254a"
+ "rgb565_sha256": "464b75463b6153aad4c4dadb130496b771c623a0046c39d26cdaafece740c8d9"
},
{
"frame": "night/hud-speed-warning-2850.png",
- "rgb565_sha256": "4a09af9cbca76f863b18524d3c61d125e301f06ec2857c74abdff2ed048d9f1c"
+ "rgb565_sha256": "28650e800b390e2a9021bec47818057779d002e83e38597a544a55b509b391ca"
},
{
"frame": "night/hud-speed-warning-2900.png",
- "rgb565_sha256": "7b7a5c448c930cfc63ae723ce8197e351d93b9be6f79eb557ce96771d2f4c09f"
+ "rgb565_sha256": "62ab4a1bd4c99a462ee81975265eb3d74db45367bbffddb77df9d7bc76ff84da"
},
{
"frame": "night/hud-speed-warning-2950.png",
- "rgb565_sha256": "578a27d288156d302b15a98e8e5b03170cd40f5c14286b9565bd7840ad2b2843"
+ "rgb565_sha256": "70f40efd750b74e36d58861580a0c71f8ab25f68e8541d25472f0fadd7964d94"
},
{
"frame": "night/hud-speed-warning-3000.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3050.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3100.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3150.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3200.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3250.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3300.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3350.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
},
{
"frame": "night/hud-speed-warning-3400.png",
- "rgb565_sha256": "653820dcb6aab5f45e4f01fc7e051290a459bb7b463cf1d6ba1d34447e426da0"
+ "rgb565_sha256": "422b5c0314ea430b22d88dea1acd79224e6849e259017f2390329034b62e3f0f"
}
]
},
"map-browsing.gif": {
- "sha256": "1c36e555ce1354214ff6356b25126544b88f5f57e43c74db34d97ae8b0a27ba0",
+ "sha256": "7e34108eb6cace19ead090e9729c7e742b752bb5c10cc0b26a4928e07d6fef34",
"frames": 43,
"duration_ms": 6500,
"reserved_pointer_colours": [
@@ -8371,83 +8446,83 @@
"source_frames": [
{
"frame": "night/preview-zoom-modes-0000.png",
- "rgb565_sha256": "a1e2e2c252cfccf2aa0ab33580ec3da29953e7f551e1b261e4ac3b73b8878968"
+ "rgb565_sha256": "c9a83b09c1dd989003b9315820a46c9dfadf8a94ca81d0103c9bd3c16910a548"
},
{
"frame": "night/preview-zoom-modes-0050.png",
- "rgb565_sha256": "445c10be18f01228ec16d049b085179635dd41c356f4eec72d059b598ecd229e"
+ "rgb565_sha256": "2c55426f66a481b0271650e026ba855e19c2e6976392f78dc959212eb6878b27"
},
{
"frame": "night/preview-zoom-modes-0100.png",
- "rgb565_sha256": "81391bc6a20d57681380fc55cf1904d19f8a03f7ae8d7a38799320897fcf2a6f"
+ "rgb565_sha256": "c16c62d048a0b58221e8dd305ee9128560dda7671e4a544679a6161520dfbccf"
},
{
"frame": "night/preview-zoom-modes-0150.png",
- "rgb565_sha256": "db4fa8fa168cf1be17675c071b9c7f4beebf6aa4c4401d9569e5e5a5f538f84a"
+ "rgb565_sha256": "77b94e794138444d010cef84542e1c15f73f04f3ccf286c2599146f3ac5d1cdc"
},
{
"frame": "night/preview-zoom-modes-0200.png",
- "rgb565_sha256": "232c2bfe16fc829c0996d1d4d9092535dedc92ed969fa588cf9419503611586f"
+ "rgb565_sha256": "969987f9f57cd93fd210773dc6d1f60e68bde5519c8344e3f9f6a685c0bb6130"
},
{
"frame": "night/preview-zoom-modes-0250.png",
- "rgb565_sha256": "ef8b480bee6460cff178cfaad17239dce35dc8513e4712a7ecf42a2ce725e1a4"
+ "rgb565_sha256": "1986f878e66962b21c0bd977e7f1b2157adc776db742503bdadca8a78ae4aa44"
},
{
"frame": "night/preview-zoom-modes-0300.png",
- "rgb565_sha256": "b7722f8a4e499a8f9e0ca5822a1c6709782da6d552d4d75967e9378558577aca"
+ "rgb565_sha256": "b5084f50099e292e9eadb8a71a8ed49a3ac9165650ba1143f6ed60815ca18e9c"
},
{
"frame": "night/preview-zoom-modes-0350.png",
- "rgb565_sha256": "b7722f8a4e499a8f9e0ca5822a1c6709782da6d552d4d75967e9378558577aca"
+ "rgb565_sha256": "b5084f50099e292e9eadb8a71a8ed49a3ac9165650ba1143f6ed60815ca18e9c"
},
{
"frame": "night/preview-zoom-modes-1100.png",
- "rgb565_sha256": "9df3241d5541361ef87569be96cde15836b62346670a515fe91bfcff566cd02f"
+ "rgb565_sha256": "13a67d5a236845638b1d2be20b0cf47eb9c503eb213ed009fc65c0940b105b9f"
},
{
"frame": "night/preview-zoom-modes-1150.png",
- "rgb565_sha256": "50cb62a555b80fb788cd3b7f11d85cd50cc9f4b62eb8face89d4df7fc456778b"
+ "rgb565_sha256": "65f67d44fb82d7d50fc27a802f8ae721979e2e6ec9e764afd4620f3d3cd2e761"
},
{
"frame": "night/preview-zoom-modes-1200.png",
- "rgb565_sha256": "a6074d72280fe1bfbacb20b8441fe39c3e5e8d5909bf4570055cb53c20770811"
+ "rgb565_sha256": "02aafb64cae9c33aeae6f1d1f90dc28c92c998cdaccd43c13e4fa01b7ded53bf"
},
{
"frame": "night/preview-zoom-modes-1250.png",
- "rgb565_sha256": "bd18a13065c92bd25af324f42f4c5cc5ffd6381969fb468ca13d85763f4f0744"
+ "rgb565_sha256": "72df39c03754a92e876d6d813790f721ffc5f0e161a1ca793129ac8bc1425b27"
},
{
"frame": "night/preview-zoom-modes-1300.png",
- "rgb565_sha256": "9a2b350dda08e6a36028ed28d13fac34582b405ade4e62efbe3fd1b12f80f378"
+ "rgb565_sha256": "3de623061d31ff49cf3618a5cfa27ea65f3ac3ca988f2389148f6448a0f364db"
},
{
"frame": "night/preview-zoom-modes-1350.png",
- "rgb565_sha256": "de41c56afe426711bbb9fe8906ef50a522b4154900f40f70d32f8deba803f317"
+ "rgb565_sha256": "b37c9722f82b29eb4fea28641e2d6698cf287d32d0c81928505fbda9fca66578"
},
{
"frame": "night/preview-zoom-modes-1400.png",
- "rgb565_sha256": "89b85ce72ccfa01f81e387cf7979a06f9529975fc2601936c52b67471a4af2c4"
+ "rgb565_sha256": "35e5fe7b05d0785418255d0a6b817420070f7f095bcc12650613c386e247a239"
},
{
"frame": "night/preview-zoom-modes-1450.png",
- "rgb565_sha256": "89b85ce72ccfa01f81e387cf7979a06f9529975fc2601936c52b67471a4af2c4"
+ "rgb565_sha256": "35e5fe7b05d0785418255d0a6b817420070f7f095bcc12650613c386e247a239"
},
{
"frame": "night/preview-zoom-modes-2200.png",
- "rgb565_sha256": "e23e05d2cc8c7332d5251c60a67b383603028bffed98c07c015826d6e02efdd0"
+ "rgb565_sha256": "eda86c6750aae0e6c3348e1c985998615e542b5b41f1b8dd04c55d06173f55dd"
},
{
"frame": "night/preview-zoom-modes-2250.png",
- "rgb565_sha256": "334ce1b4a41d04032529ce4a081e5fbf49e4ff30b4db9ec00fd85b7549ae2f91"
+ "rgb565_sha256": "4f7af49a15a4e62fef093e921746265a4fa4e5e60089cf8c5a98ea8980f8a0ec"
},
{
"frame": "night/preview-zoom-modes-2300.png",
- "rgb565_sha256": "73225ce92514137b2c7fce2f91f7deee0207ca3cbc8756eac10d3ef18d528296"
+ "rgb565_sha256": "8b655fb91bdc05d13120abdf1d57771d879607e547bc5f1a82bfea94bb50e95e"
},
{
"frame": "night/preview-zoom-modes-2350.png",
- "rgb565_sha256": "51f89f372f434b9255553ad0defac9f161107d062740b1e2ae51042be109b3de"
+ "rgb565_sha256": "25bcf611d9a5a1e7a3be313f458bc70702af2e4aa4b41f78620d8095b0ae4039"
},
{
"frame": "night/preview-zoom-modes-2400.png",
@@ -8463,79 +8538,79 @@
},
{
"frame": "night/preview-zoom-modes-2550.png",
- "rgb565_sha256": "6f6905673b32ae6f74dec1d879d92e447816066cbd7c79cac488b5e3dcdc0444"
+ "rgb565_sha256": "17fc87e83674ceecb8106c20a90c0da44cdfee86bd6be6cccb8fc0a8ae20c5a1"
},
{
"frame": "night/preview-zoom-modes-2600.png",
- "rgb565_sha256": "e25591f9c7ec68f2285cd12682613fcc007ffee28513eefd92d78f62b5236eb6"
+ "rgb565_sha256": "de2132c9c8800fef83e18393a1537ad4c6409273e0d5153de1ed6ba90a83b43b"
},
{
"frame": "night/preview-zoom-modes-2650.png",
- "rgb565_sha256": "da29efab720238ec4399707346379b8ff179835d6eedbe6c969eefd1a6103eb9"
+ "rgb565_sha256": "39dc5e6ffe8a3558ce92c055aadb0cccb42c647866b88ce80c36b55fc52106e8"
},
{
"frame": "night/preview-zoom-modes-2700.png",
- "rgb565_sha256": "9b61c5a5a16cc1b469b6f472a4ab1a4cf3ccb0962c26643c68259727575f646f"
+ "rgb565_sha256": "05845eedee805d9006d52a31690e58618efba2123118426a9fc92ad6e99e1738"
},
{
"frame": "night/preview-zoom-modes-2750.png",
- "rgb565_sha256": "9b61c5a5a16cc1b469b6f472a4ab1a4cf3ccb0962c26643c68259727575f646f"
+ "rgb565_sha256": "05845eedee805d9006d52a31690e58618efba2123118426a9fc92ad6e99e1738"
},
{
"frame": "night/preview-zoom-modes-4000.png",
- "rgb565_sha256": "9b61c5a5a16cc1b469b6f472a4ab1a4cf3ccb0962c26643c68259727575f646f"
+ "rgb565_sha256": "05845eedee805d9006d52a31690e58618efba2123118426a9fc92ad6e99e1738"
},
{
"frame": "night/preview-zoom-modes-4050.png",
- "rgb565_sha256": "73f387591e32f6871ac2d50dbb0dddfe9f8b4a11e39729a5d6b66229171c22d6"
+ "rgb565_sha256": "0275a6844193f5dd7050c29a836abd86bd2d6d41617615b51677b48e8ee42384"
},
{
"frame": "night/preview-zoom-modes-4100.png",
- "rgb565_sha256": "e27976a3c2dec22fd84a20af6b2c7847bb08e5d79bd223dbba22808296933323"
+ "rgb565_sha256": "54af5758d9b6fde37bc9d6dec4cb89a54dbafa4869411cd28caee53092ae50e2"
},
{
"frame": "night/preview-zoom-modes-4150.png",
- "rgb565_sha256": "caaa1c98af2f6d38b5a59d1fe00ff4a9c2ace3bdd6fdc9973c4d5e4b969f6c13"
+ "rgb565_sha256": "83e071e506e782f8c10452783e9f7a7a941a9694ebf0633ee949754b9eb417b0"
},
{
"frame": "night/preview-zoom-modes-4200.png",
- "rgb565_sha256": "79831d8d2c31ac73898c55bf4d026201b28777573d1374f98fa4590a6e1cc42c"
+ "rgb565_sha256": "332a392419352d0fb6e472bcbbc9915b94eb36b77ecb30944d9a5da8a0799b78"
},
{
"frame": "night/preview-zoom-modes-4250.png",
- "rgb565_sha256": "781cf5872f0986bc637bcab34b5d439ccd5bf8b8e0b476d171fa1b2c5646b183"
+ "rgb565_sha256": "5601c639a75e36b9af6c7a19d6995524d30fc19f6263f5c93a470e44302dd28c"
},
{
"frame": "night/preview-zoom-modes-4300.png",
- "rgb565_sha256": "03b75ef6c1925b7fbc5d0989ca5e7a4f382636c3b3b429ab65dccca7c088ba45"
+ "rgb565_sha256": "e7d1692db1cbefdfa19994cb6dfc8871d50ac38c2a4b9ed3fb82facd9bcfa7e2"
},
{
"frame": "night/preview-zoom-modes-4350.png",
- "rgb565_sha256": "03b75ef6c1925b7fbc5d0989ca5e7a4f382636c3b3b429ab65dccca7c088ba45"
+ "rgb565_sha256": "e7d1692db1cbefdfa19994cb6dfc8871d50ac38c2a4b9ed3fb82facd9bcfa7e2"
},
{
"frame": "night/preview-zoom-modes-4500.png",
- "rgb565_sha256": "3440eb3075dbf3001dcd8ea07d33e298d7fa58af8e2a071e6e78c7280784fe66"
+ "rgb565_sha256": "9be74ad8d34458fa52601a56534c84774806a4bfccf0f32d69c905c5c22a5356"
},
{
"frame": "night/preview-zoom-modes-4700.png",
- "rgb565_sha256": "3440eb3075dbf3001dcd8ea07d33e298d7fa58af8e2a071e6e78c7280784fe66"
+ "rgb565_sha256": "9be74ad8d34458fa52601a56534c84774806a4bfccf0f32d69c905c5c22a5356"
},
{
"frame": "night/preview-zoom-modes-4900.png",
- "rgb565_sha256": "3440eb3075dbf3001dcd8ea07d33e298d7fa58af8e2a071e6e78c7280784fe66"
+ "rgb565_sha256": "9be74ad8d34458fa52601a56534c84774806a4bfccf0f32d69c905c5c22a5356"
},
{
"frame": "night/preview-zoom-modes-5200.png",
- "rgb565_sha256": "c44dffdd52cf4de0a9012b5e37c32ea9428575ea859378fb79253261dcb5ee82"
+ "rgb565_sha256": "bf47a5888af3da59cec1da89475390348a77db41a5cdc22a9a51bd26f7f061bf"
},
{
"frame": "night/preview-zoom-modes-5250.png",
- "rgb565_sha256": "76b826788c00d672496e32c9436bcfb2215cbfec0891333bab792934d65bb9e6"
+ "rgb565_sha256": "39ba3286874b96ebda7792db6a9066f71a6817c799cd9945743e7f60a1da54c4"
},
{
"frame": "night/preview-zoom-modes-5300.png",
- "rgb565_sha256": "d704bc43f318d5125d53ea3f67f7bbf856239a9aa08a7b184621e7cfa60e6d6c"
+ "rgb565_sha256": "01e4415323e6c5efb312271bfc679417f269d29ed7524b756322a56a26751768"
},
{
"frame": "night/preview-zoom-modes-5350.png",
@@ -8551,7 +8626,7 @@
},
{
"frame": "night/preview-zoom-modes-5500.png",
- "rgb565_sha256": "5bf1265d01e208d72768ddac13aefcb5f0de53699247b69cceaf6d55afdfd715"
+ "rgb565_sha256": "3a896b26547ef2456bcbaf1ff9688b22ff54f1275386f15dc7deb63dddd5ce89"
},
{
"frame": "night/preview-zoom-modes-5550.png",
@@ -8563,28 +8638,28 @@
},
{
"frame": "night/preview-zoom-modes-5650.png",
- "rgb565_sha256": "438f4ebe42a20346df82ca4022200ac3df022ff6079a0be48ebc2cb159d419dd"
+ "rgb565_sha256": "bc2f7af6ccaa22b6b54a76b525dcbbf3b8f46a50efc3430b375cb0ee85cd6c58"
},
{
"frame": "night/preview-zoom-modes-5700.png",
- "rgb565_sha256": "de24e478f0b5c4842101f48e7451b8b36809ce627581870291f18a5de98ad802"
+ "rgb565_sha256": "d0ff1351e475cbb71b2183042b1b2305173ea5e091fd7bec9e5c92a11655fb18"
},
{
"frame": "night/preview-zoom-modes-5750.png",
- "rgb565_sha256": "de24e478f0b5c4842101f48e7451b8b36809ce627581870291f18a5de98ad802"
+ "rgb565_sha256": "d0ff1351e475cbb71b2183042b1b2305173ea5e091fd7bec9e5c92a11655fb18"
},
{
"frame": "night/preview-zoom-modes-6000.png",
- "rgb565_sha256": "de24e478f0b5c4842101f48e7451b8b36809ce627581870291f18a5de98ad802"
+ "rgb565_sha256": "d0ff1351e475cbb71b2183042b1b2305173ea5e091fd7bec9e5c92a11655fb18"
},
{
"frame": "night/preview-zoom-modes-6350.png",
- "rgb565_sha256": "de24e478f0b5c4842101f48e7451b8b36809ce627581870291f18a5de98ad802"
+ "rgb565_sha256": "d0ff1351e475cbb71b2183042b1b2305173ea5e091fd7bec9e5c92a11655fb18"
}
]
},
"roundabout-eta.gif": {
- "sha256": "64719c6e580488f4c17d2fa06e8e5024ee9f8ec8c10b1b8c3e9ed2d864b0e14e",
+ "sha256": "39631309d6ba1b537b8d63c775ec5530fcdb583d247d6281aa1df4ca4dd034fe",
"frames": 13,
"duration_ms": 5600,
"reserved_pointer_colours": [
@@ -8612,76 +8687,76 @@
"source_frames": [
{
"frame": "night/preview-roundabout-eta-0000.png",
- "rgb565_sha256": "cb3f437d9563d5f1564eec3e167a939781f182a6b8ba9d97cbf52b2adc41bcfe"
+ "rgb565_sha256": "6ffb326b790398a22815603483d8b11bb49105837806029c0f8cd49a9ce70504"
},
{
"frame": "night/preview-roundabout-eta-0600.png",
- "rgb565_sha256": "cb3f437d9563d5f1564eec3e167a939781f182a6b8ba9d97cbf52b2adc41bcfe"
+ "rgb565_sha256": "6ffb326b790398a22815603483d8b11bb49105837806029c0f8cd49a9ce70504"
},
{
"frame": "night/preview-roundabout-eta-0650.png",
- "rgb565_sha256": "d15174d2e3d1cd7fb1da0b18d7a373e9f7d70022805d18915bae030f024f4a94"
+ "rgb565_sha256": "6222490e1c6a967bc5bbbb9eb8db6dab985cf6e5228a7c03d6b24b80aa459d7e"
},
{
"frame": "night/preview-roundabout-eta-0700.png",
- "rgb565_sha256": "3699d948978dc513573f8cfb523cc1a61bd963c643471f4dc4c91f20db7b1881"
+ "rgb565_sha256": "872c69c9384faba98884dc77f02ee5b596eafb000b413cc63424d39e583f2c33"
},
{
"frame": "night/preview-roundabout-eta-0750.png",
- "rgb565_sha256": "c8e3188a5a79eab6030bfaf97cf8f0998f14f4638a9590e7cfe45f490e33611f"
+ "rgb565_sha256": "8a4a34ae89dc6082945900a58dc64f7b859f06597db4b2599782ebebbc509f33"
},
{
"frame": "night/preview-roundabout-eta-0800.png",
- "rgb565_sha256": "b2262903fa7f82a926c05d288a0e12b4ca7571d622622f2c1d1557a499a6624a"
+ "rgb565_sha256": "8d91b1a0381b70b505ba80b4c908c841c6c856bdac2f2c7b80e8f1b587d8dc09"
},
{
"frame": "night/preview-roundabout-eta-0850.png",
- "rgb565_sha256": "faac92c5ca2b96567e7ab3efff5b40253163261e50f8f36809b8356921d2553b"
+ "rgb565_sha256": "04451bd30222bc244ba0b133dbf41abcc248a6900ef8e673bcc858205426019a"
},
{
"frame": "night/preview-roundabout-eta-0900.png",
- "rgb565_sha256": "c9e1b1150ef056f1bf7a4940bc05a196962e41905a0c4c40a54dc802762fc6b2"
+ "rgb565_sha256": "e1422bae9b733b84cb6ac29e2d0fdd9ebaac931439e56ca592e8be93608eb51d"
},
{
"frame": "night/preview-roundabout-eta-0950.png",
- "rgb565_sha256": "c9e1b1150ef056f1bf7a4940bc05a196962e41905a0c4c40a54dc802762fc6b2"
+ "rgb565_sha256": "e1422bae9b733b84cb6ac29e2d0fdd9ebaac931439e56ca592e8be93608eb51d"
},
{
"frame": "night/preview-roundabout-eta-4800.png",
- "rgb565_sha256": "c9e1b1150ef056f1bf7a4940bc05a196962e41905a0c4c40a54dc802762fc6b2"
+ "rgb565_sha256": "e1422bae9b733b84cb6ac29e2d0fdd9ebaac931439e56ca592e8be93608eb51d"
},
{
"frame": "night/preview-roundabout-eta-4850.png",
- "rgb565_sha256": "284e5276d19a07ac2c03fba629a7299df3bcbd95e0cb2c1c837551e8721fdd87"
+ "rgb565_sha256": "55fb1546422e7f72bfac4dde1935be121af401c4b8124292d12183fc4f9183af"
},
{
"frame": "night/preview-roundabout-eta-4900.png",
- "rgb565_sha256": "7031dc42f6febadbf0613a80f0e9c3bff1fa0117dc08446cf3d8d1aa3558c09d"
+ "rgb565_sha256": "7bda3bf0283cb9e91f2a3e602f1b77b0d2b074ea3a71c5f580b7a04d19e27964"
},
{
"frame": "night/preview-roundabout-eta-4950.png",
- "rgb565_sha256": "c165df0041f3daa0f2677c3050a6982b888ae11bd6f3ecef5de8a4b910766f42"
+ "rgb565_sha256": "bf0b58741d215ae89f9cfb6c97673dbf5a13d7a2dc329fc25267003eecb78738"
},
{
"frame": "night/preview-roundabout-eta-5000.png",
- "rgb565_sha256": "03dffaf7d2f5e07359ce057fb8bc0485c5800fc2cb6ac7efc3b2f62bd2a70459"
+ "rgb565_sha256": "878a19192d9a9e25f7000443fb31b267c7bb020a186af7dc431e796bab160ea2"
},
{
"frame": "night/preview-roundabout-eta-5050.png",
- "rgb565_sha256": "3e976942dd891048bf168c28eb91af82e69b543d3775142bde463fc8d35a1261"
+ "rgb565_sha256": "3eaf9b7e5ff4479db4cf2ad5ca0113da7bb72b1788fba96ea39bf9364cf30821"
},
{
"frame": "night/preview-roundabout-eta-5100.png",
- "rgb565_sha256": "cb3f437d9563d5f1564eec3e167a939781f182a6b8ba9d97cbf52b2adc41bcfe"
+ "rgb565_sha256": "6ffb326b790398a22815603483d8b11bb49105837806029c0f8cd49a9ce70504"
},
{
"frame": "night/preview-roundabout-eta-5150.png",
- "rgb565_sha256": "cb3f437d9563d5f1564eec3e167a939781f182a6b8ba9d97cbf52b2adc41bcfe"
+ "rgb565_sha256": "6ffb326b790398a22815603483d8b11bb49105837806029c0f8cd49a9ce70504"
}
]
},
"coordinate-route.gif": {
- "sha256": "c1b433f72a7776990be9a3e01658bc047533c517efd6e1df81eab58e2e71bfb6",
+ "sha256": "e1b4b3b92a77c9e2ba88cfd5b3bc24e0513f59ddfa8bdea7aede97f42a504587",
"frames": 20,
"duration_ms": 8400,
"reserved_pointer_colours": [
@@ -8709,7 +8784,7 @@
"source_frames": [
{
"frame": "night/coordinate-route-source.png",
- "rgb565_sha256": "757868a32fd75b6cb5f3199ff3a1d6b8c351f46b08b9e6e59624262dda1d2d25"
+ "rgb565_sha256": "2949384e206e279679f12d2903ff9114b478e67614c669ebc0567e6fb2015f52"
},
{
"frame": "night/preview-coordinates-latitude.png",
@@ -8757,79 +8832,79 @@
},
{
"frame": "night/coordinate-route-ready-0000.png",
- "rgb565_sha256": "ca2f044bf18509d9c2c18f9d0fcd36b0d2f060b9cefa3ec3618b6eaceb588191"
+ "rgb565_sha256": "e592c71f02e7ac423447f58a9e1420bde11def4e8540507d92ba02c4573314bf"
},
{
"frame": "night/coordinate-route-ready-0050.png",
- "rgb565_sha256": "96edfc8dc6268756dfbfb29e18243c064b4c627d2c59e9a53873f9ada56d566d"
+ "rgb565_sha256": "73536fc8bc956c0193ab2ab4287cbeb7313c00b6611b2e92ce8aacdc4227bf21"
},
{
"frame": "night/coordinate-route-ready-0100.png",
- "rgb565_sha256": "0722bafc8d0a176a93c92e7baec62823edb760abd6590d0d8833c941ccd965b1"
+ "rgb565_sha256": "76e71ed0d7d82036d77775d9aeb7208821fe24a9342f398369a585767bd8405c"
},
{
"frame": "night/coordinate-route-ready-0150.png",
- "rgb565_sha256": "12b09d311391e75f1fd5c09f58a2e7a935336e1bd2797a00665263101d00b7c2"
+ "rgb565_sha256": "b63a8f5507a27294e6afd13c2bcc2cc2472ddad40c5ea173decbf7493add5ade"
},
{
"frame": "night/coordinate-route-ready-0200.png",
- "rgb565_sha256": "3aa72a38d8778a85207648ca2836b8eed0e804207a9e54e6d57519c674ee5de3"
+ "rgb565_sha256": "761cf0a15c14f1732458328cb13902a0e0222ec2011f0400b1716b2c31d0c4c1"
},
{
"frame": "night/coordinate-route-ready-0250.png",
- "rgb565_sha256": "4dbe5f02f22028a6f777125a98d037f3d9fafa45b1629de45d379301f5772065"
+ "rgb565_sha256": "c45c59c566ff2f22880f65679f7963ee87af623490f748a39bc09097a1871f58"
},
{
"frame": "night/coordinate-route-ready-0300.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0350.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0500.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0550.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0600.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0650.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0700.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0750.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0800.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-0850.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-1200.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-ready-1650.png",
- "rgb565_sha256": "f43be9e8396ec3611d40e9265b5961fcfcc6d2a6788784a805d3ad0b8ea56b7c"
+ "rgb565_sha256": "cc9197edfe4cf31da5397d8f40b126d5071e8d35422f0f6c22e2719fa5e4928e"
},
{
"frame": "night/coordinate-route-recents.png",
- "rgb565_sha256": "be83671ab67622c4974ad580aa41ccbd98c8f897c409ee69343b825dad796953"
+ "rgb565_sha256": "7eeeca77e552f60b11a15b268f7d64eec19cdf5644d7250127b239c34e13a8dd"
}
],
"routing_provenance": "Production remote handlers create the destination and production routing runs to R_READY on the local map bundle; target coordinates and nonempty route geometry are asserted. GPS is held stationary. The 1.3-second calculation display is a controlled preview interval, not a timing benchmark."
@@ -9078,7 +9153,7 @@
]
},
"add-stop.gif": {
- "sha256": "9804b3aeebcdb8dd61196a894ea4be9619c9a03b0013dcd452373af46b553a5d",
+ "sha256": "767d859c5f42af3e5de70e6f363aa4119e53614c19ab826e6aa6423ab4586f90",
"frames": 5,
"duration_ms": 6350,
"reserved_pointer_colours": [
@@ -9106,7 +9181,7 @@
"source_frames": [
{
"frame": "night/preview-add-stop.png",
- "rgb565_sha256": "453f7aa02fdce12a3102b127ba698253a204cad66b904e8cf2a06aecb2a22853"
+ "rgb565_sha256": "97c182863bcc4054edc09ae558f36dd43614835932f976eca98bcd422979cdab"
},
{
"frame": "night/preview-add-source.png",
@@ -9122,9 +9197,437 @@
},
{
"frame": "night/preview-stop-added.png",
- "rgb565_sha256": "bce9e5a729ddc145b8d55ee3e42b37e2a4d141149d0bf1b4bf605600b5ba30c3"
+ "rgb565_sha256": "3be8cf8fb3018405475cf23b42036fb168e50266325d650f1474acb3b6b8a3b4"
}
]
+ },
+ "v300-multileg-and-chevron.gif": {
+ "sha256": "4b22eeddfa2f372e2915f0192e16d2bd79e0b95436e7a305250bf433e1bccdd7",
+ "frames": 29,
+ "duration_ms": 10600,
+ "reserved_pointer_colours": [
+ [
+ 239,
+ 113,
+ 24
+ ],
+ [
+ 247,
+ 138,
+ 49
+ ],
+ [
+ 247,
+ 158,
+ 66
+ ],
+ [
+ 247,
+ 174,
+ 90
+ ]
+ ],
+ "source_frames": [
+ {
+ "frame": "night/preview-v300-multileg-0000.png",
+ "rgb565_sha256": "f25292a300d6894bb9d64b30ebeecf8b4a9e60d255404d48636de76759f85c0c"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1300.png",
+ "rgb565_sha256": "f25292a300d6894bb9d64b30ebeecf8b4a9e60d255404d48636de76759f85c0c"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1350.png",
+ "rgb565_sha256": "5452bf04e1ce2360e68146563604e1384400b8b29c0b9c0fdf4f75b0ab9fe8fa"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1400.png",
+ "rgb565_sha256": "ddf232e30d1357719e284206c53c0aeb91fe7aba4b863fa1359827a5cffe238f"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1450.png",
+ "rgb565_sha256": "8edceccf650be57b61c14183eed728d1bb082731bc0e4fe148152e394dcf0308"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1500.png",
+ "rgb565_sha256": "a44bef7063a0d4eb6d78fc6ff8c6d9d09e95735d29ce33d213791ef6feeed343"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1550.png",
+ "rgb565_sha256": "783dc4fef566d7b8a11bc883b4d573493b2889d462522f12f8b38bc214b64760"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1600.png",
+ "rgb565_sha256": "4351e5d6d7324f61f0dc8c9da72665f95f347e79e7b3e0a5bd09b849cf4a17cb"
+ },
+ {
+ "frame": "night/preview-v300-multileg-1650.png",
+ "rgb565_sha256": "4351e5d6d7324f61f0dc8c9da72665f95f347e79e7b3e0a5bd09b849cf4a17cb"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3100.png",
+ "rgb565_sha256": "49962462b6b94a6653ed7ad313e09e90ac625f804d74a5c2e7db1d45577c78e3"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3150.png",
+ "rgb565_sha256": "a001a8342920d8d1057bc77e3e168734b997c5d946c2c0305a5e2d11b3f02363"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3200.png",
+ "rgb565_sha256": "07eb5780a371b19e8aa246317300039100eb63df0891a576c45749cdd1e4be1a"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3250.png",
+ "rgb565_sha256": "ef297666902f0d82690f7898201e7b2b45830a58c7fea8567d823f6cf03252c5"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3300.png",
+ "rgb565_sha256": "6032dd9c3ed65e17b592024a055263ecfc9f0a7e8baf00aebcd687bf587b8540"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3350.png",
+ "rgb565_sha256": "b04d810ba48443bfb893518dcae545f07190626e11fa82e6c54e60d14e71e054"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3400.png",
+ "rgb565_sha256": "551e8b7630e1c4a1abc85b4abbcafda18f4bfc719b7a793790f09b16ada379cc"
+ },
+ {
+ "frame": "night/preview-v300-multileg-3450.png",
+ "rgb565_sha256": "551e8b7630e1c4a1abc85b4abbcafda18f4bfc719b7a793790f09b16ada379cc"
+ },
+ {
+ "frame": "night/preview-v300-multileg-5800.png",
+ "rgb565_sha256": "55b6b10160a563ae68c4e12fc2521c4661df7c6f0dd5a50a71b1c34d7746390a"
+ },
+ {
+ "frame": "night/preview-v300-multileg-5850.png",
+ "rgb565_sha256": "f58f192019f4f9a82329baa71607f81b39df0db7ff8c281566c4f0c28555dd1b"
+ },
+ {
+ "frame": "night/preview-v300-multileg-5900.png",
+ "rgb565_sha256": "751ce97e05ffa6ef044ad8e1ae456772ecd933e3877cb4da5690e6fb6fd56305"
+ },
+ {
+ "frame": "night/preview-v300-multileg-5950.png",
+ "rgb565_sha256": "04a1c41211a81d833f22b84c679fef9b7bba0c7a1bc3b1358df6e7b88cacf3e7"
+ },
+ {
+ "frame": "night/preview-v300-multileg-6000.png",
+ "rgb565_sha256": "9edc31eb6f82eae86e928a54522da65bba6b411105267a5b324d7769ca06896f"
+ },
+ {
+ "frame": "night/preview-v300-multileg-6050.png",
+ "rgb565_sha256": "1a68fe11831afd068dd8fc27120cf2455be6df2b00bf36fc3d7792259504b600"
+ },
+ {
+ "frame": "night/preview-v300-multileg-6100.png",
+ "rgb565_sha256": "21f88a81a9be16746a151fc36130215a09174f9a56b16167a9193822ff024dba"
+ },
+ {
+ "frame": "night/preview-v300-multileg-6150.png",
+ "rgb565_sha256": "4dc66ef88aaa00715c642a98c32349e943d805cc0d0127e46d547e70c817ebda"
+ },
+ {
+ "frame": "night/preview-v300-multileg-8900.png",
+ "rgb565_sha256": "6b63c07d47ae62ac78d4a59dc954a26ff00cc28abb58c9af749a7c7ac378176b"
+ },
+ {
+ "frame": "night/preview-v300-multileg-8950.png",
+ "rgb565_sha256": "c4d7b0cc227cd5828bc865a81e779672a20463849b3e5ae0de1a0bb5f710525c"
+ },
+ {
+ "frame": "night/preview-v300-multileg-9000.png",
+ "rgb565_sha256": "d78a11cfa94ec842fa755cbf896bf0c7834e935d7657ed740a5a58ce8b69a221"
+ },
+ {
+ "frame": "night/preview-v300-multileg-9050.png",
+ "rgb565_sha256": "f4ec63ce8118d204ed73a40e0acdec48bd445ed6bead30b93ceceb1f42921f39"
+ },
+ {
+ "frame": "night/preview-v300-multileg-9100.png",
+ "rgb565_sha256": "8d1abe510a7a2a84e32c7d1dffb0b576d6e9c9c56a1cda4f05bc6329219e68ef"
+ },
+ {
+ "frame": "night/preview-v300-multileg-9150.png",
+ "rgb565_sha256": "7d93b1e04cba7f50a010d7a17c54514d105740bad8385ed2d48d7c841e16dbbc"
+ },
+ {
+ "frame": "night/preview-v300-multileg-9200.png",
+ "rgb565_sha256": "f25292a300d6894bb9d64b30ebeecf8b4a9e60d255404d48636de76759f85c0c"
+ },
+ {
+ "frame": "night/preview-v300-multileg-9250.png",
+ "rgb565_sha256": "f25292a300d6894bb9d64b30ebeecf8b4a9e60d255404d48636de76759f85c0c"
+ },
+ {
+ "frame": "night/preview-v300-multileg-10500.png",
+ "rgb565_sha256": "f25292a300d6894bb9d64b30ebeecf8b4a9e60d255404d48636de76759f85c0c"
+ }
+ ],
+ "routing_provenance": "Real Manchester 3-stop itinerary (Northern Quarter -> Shell Deansgate -> Manchester Piccadilly -> MediaCityUK) calculated against the UK CPR2 routing graph by production route_start() and trip_plan_service_until(): Z8 driving approaching a real turn with perspective-scaled white on-carriageway turn chevron (draw_route_turn_chevron) and Option B next-stop HUD, Z5 overview with active Leg 0 in magenta (C_ROUTE) and future Legs 1-2 in lavender (C_ROUTE_FUTURE), and Menu -> Trip showing both Next and Total journey ETAs and per-stop arrival times."
+ },
+ "v300-qr-sync-and-connect.gif": {
+ "sha256": "ae9f7aea41539d9c85d6736c9cfcda40fd010c0f0e91b6785b04b56b0ce6f91f",
+ "frames": 34,
+ "duration_ms": 11100,
+ "reserved_pointer_colours": [
+ [
+ 239,
+ 113,
+ 24
+ ],
+ [
+ 247,
+ 138,
+ 49
+ ],
+ [
+ 247,
+ 158,
+ 66
+ ],
+ [
+ 247,
+ 174,
+ 90
+ ]
+ ],
+ "source_frames": [
+ {
+ "frame": "night/preview-v300-qr-sync-0000.png",
+ "rgb565_sha256": "d571d4c5c9cd7ba08450eb2f3bed7466e1d96bc64fad9e4023d294c069168b56"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2100.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2150.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2200.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2250.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2300.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2350.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2400.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-2450.png",
+ "rgb565_sha256": "618cf3912a649f7014a41eef0d03957669682b0cd3eb0e1543e75aabd024051a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4100.png",
+ "rgb565_sha256": "51dd94d03c7517a9df64f3062503706663b177518137d36ed26bd2b2a5c8a554"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4150.png",
+ "rgb565_sha256": "5281c859f78c3cab597ab30c8fceec4cb266365d32ebbc4c7f8aae7b2eccfe11"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4200.png",
+ "rgb565_sha256": "d4a3e5fae87a0ed8a6b2a135f426dd2c52969dc4e1f10cbda91dcf2bfd2b1a04"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4250.png",
+ "rgb565_sha256": "31212a0f1a17d3e67669069b267eb14ac418b283484289e9582f3a78a961cdb6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4300.png",
+ "rgb565_sha256": "0eacbac82895110ba12a27f565c235f5205e5a9b150a812ea2ab7c27993de01b"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4350.png",
+ "rgb565_sha256": "3487a4ab986dfc01753af853871c7c4758daaebb677aea484d04b78627864b07"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4400.png",
+ "rgb565_sha256": "5ea69ffcbc953ce4efca14f18e1d9af421439377ffaef95e13e2adc3d4dcbe8e"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-4450.png",
+ "rgb565_sha256": "5ea69ffcbc953ce4efca14f18e1d9af421439377ffaef95e13e2adc3d4dcbe8e"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5300.png",
+ "rgb565_sha256": "5ea69ffcbc953ce4efca14f18e1d9af421439377ffaef95e13e2adc3d4dcbe8e"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5350.png",
+ "rgb565_sha256": "beb159d5a3aa18aaf94fb892083d5d70e26ae868ff7789806b0eb18bd407e3f8"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5400.png",
+ "rgb565_sha256": "459ed5e5717c3636c55afdfbd7e44ea5bd0f546891007df0eff2de3ecd1c878a"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5450.png",
+ "rgb565_sha256": "b4e0d49445c075ed4f069d4750b3d1b6dec1fd844f5f5a46ad2b6bf508114aed"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5500.png",
+ "rgb565_sha256": "b311b1a56ec20509ad47d1ec845575e7a58d2fe414eb6eb9de54555436b4fb38"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5550.png",
+ "rgb565_sha256": "0e3aefe8608a6adc2b7d3cd3a3f2e40977c5cb1ba55f62ed11dfc20586e5b893"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5600.png",
+ "rgb565_sha256": "c60fcbc057d8fe1ab4ebe09fee7e6f3534c0ec1d56426034e5c910fa2322d63e"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-5650.png",
+ "rgb565_sha256": "3777b586fe9020c2d5b599a4842d797d362d9cc3b2b2655585ce824f90a03a14"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-6800.png",
+ "rgb565_sha256": "ba5ea7e8eb32a34c37e9b2168c786e3c21997b455a0d4be5c32ebeb49135df4c"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-6850.png",
+ "rgb565_sha256": "6ab1e2d9bf7e265a2f7e135712ed03e9c7d1b987ed5e31703768ad66be4a52fa"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-6900.png",
+ "rgb565_sha256": "0862ecadaf499d2f4a9dee5f70b5d3f4ab921d6b6327ef9df68667f08bd63129"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-6950.png",
+ "rgb565_sha256": "e5d61abc2cf88652491283969045525de9b898ae9df027350672f64245ddff95"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7000.png",
+ "rgb565_sha256": "995ce447cc2168f66cf388922860c3f5b796c397ced53b2405c3d57b83dca3d7"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7050.png",
+ "rgb565_sha256": "407e317a80183ca4a08813018af9424630953f0563265f6717407593aa123d7e"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7100.png",
+ "rgb565_sha256": "88c37884a759e6c18a867a0f97ad74b904d62bfed0ab820202891833b85aef30"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7150.png",
+ "rgb565_sha256": "4703153e7bca1257d9bfc3efdd81af48e0b7f6666f1cbb20aaaf571120aabd36"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7800.png",
+ "rgb565_sha256": "fa1a02a72200b4f6cba62772c2e5a5e281606a20383035d539b90828aea3b247"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7850.png",
+ "rgb565_sha256": "5c6ac26957e8b7b9fd3fc2571ca079d923d1a7f4f5f1d08dead9c179ff30a678"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7900.png",
+ "rgb565_sha256": "ea015bfc5a62cf0df7c97fe5d014a11e21aa8391d57e64f7b17dd40ce84c8d26"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-7950.png",
+ "rgb565_sha256": "0001828fd76a7eb2cbca239bea38048f0d99d289bcad8d4ba0afa4d0271b9da7"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8000.png",
+ "rgb565_sha256": "1febd99438b569d87acf66352cd9a778d5d4ff72806214f69d2381dd7389cdc1"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8050.png",
+ "rgb565_sha256": "5709c9362dd815d2ed051c5239445e284e1600b80cee777e276d42764125831d"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8100.png",
+ "rgb565_sha256": "d6d9359bc186fb16faff2afb01a1114d7f1c4bd2b1f001ad070bceffa8288be1"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8150.png",
+ "rgb565_sha256": "0cc92e4ffd035718b34370f1b64283bc00f814a933db4b14a467c1a1cd3cad46"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8800.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8850.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8900.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-8950.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-9000.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-9050.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-9100.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-9150.png",
+ "rgb565_sha256": "58278528256213b9578e8cf2bfcfabd9be1c8115ca1f4b9f6ea95ed28eb190e6"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10000.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10050.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10100.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10150.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10200.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10250.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10300.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-10350.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ },
+ {
+ "frame": "night/preview-v300-qr-sync-11000.png",
+ "rgb565_sha256": "16360cdcdbfbbdb5f9da414b8f6d2d8a00d784d61c63b881d5edb062374aeacc"
+ }
+ ],
+ "routing_provenance": "Real Manchester map and production qr_encode.h / qr_sync.h optical pipeline: Bluetooth -> Pair new phone with built-in Connect QR staying open upon pairing (Connected + Done button) until CLP3:H Link Ping auto-closes it, followed by CLP3:Q:S popping up the frosted-glass floating map QR pill, stepping stacked CS1 frames on CLP3:Q:A ACKs, flashing Synced on CLP3:Q:D, and auto-dismissing back to the map."
}
}
}
diff --git a/src/docs/demo/map-browsing.gif b/src/docs/demo/map-browsing.gif
index c01876e..8bce96d 100644
Binary files a/src/docs/demo/map-browsing.gif and b/src/docs/demo/map-browsing.gif differ
diff --git a/src/docs/demo/menus.gif b/src/docs/demo/menus.gif
index 69c8bab..b3db9b5 100644
Binary files a/src/docs/demo/menus.gif and b/src/docs/demo/menus.gif differ
diff --git a/src/docs/demo/metadata-updates.gif b/src/docs/demo/metadata-updates.gif
index 00d29b5..d320028 100644
Binary files a/src/docs/demo/metadata-updates.gif and b/src/docs/demo/metadata-updates.gif differ
diff --git a/src/docs/demo/phone-destination.gif b/src/docs/demo/phone-destination.gif
index ac92670..61c6037 100644
Binary files a/src/docs/demo/phone-destination.gif and b/src/docs/demo/phone-destination.gif differ
diff --git a/src/docs/demo/popups-layout.gif b/src/docs/demo/popups-layout.gif
index f7a9d1b..4c31251 100644
Binary files a/src/docs/demo/popups-layout.gif and b/src/docs/demo/popups-layout.gif differ
diff --git a/src/docs/demo/popups.gif b/src/docs/demo/popups.gif
index 64c6a6d..1bfc88c 100644
Binary files a/src/docs/demo/popups.gif and b/src/docs/demo/popups.gif differ
diff --git a/src/docs/demo/roundabout-eta.gif b/src/docs/demo/roundabout-eta.gif
index 4bd4034..6b33594 100644
Binary files a/src/docs/demo/roundabout-eta.gif and b/src/docs/demo/roundabout-eta.gif differ
diff --git a/src/docs/demo/speed-warning.gif b/src/docs/demo/speed-warning.gif
index 42cdbf9..05bcdfb 100644
Binary files a/src/docs/demo/speed-warning.gif and b/src/docs/demo/speed-warning.gif differ
diff --git a/src/docs/demo/status-notifications.gif b/src/docs/demo/status-notifications.gif
index 16e2c15..b0913ab 100644
Binary files a/src/docs/demo/status-notifications.gif and b/src/docs/demo/status-notifications.gif differ
diff --git a/src/docs/demo/trips-empty-layout.gif b/src/docs/demo/trips-empty-layout.gif
index 8c97588..0c10883 100644
Binary files a/src/docs/demo/trips-empty-layout.gif and b/src/docs/demo/trips-empty-layout.gif differ
diff --git a/src/docs/demo/trips-layout.gif b/src/docs/demo/trips-layout.gif
index 2298dc2..e0bbebd 100644
Binary files a/src/docs/demo/trips-layout.gif and b/src/docs/demo/trips-layout.gif differ
diff --git a/src/docs/demo/v216-bluetooth-hidden.gif b/src/docs/demo/v216-bluetooth-hidden.gif
index ffed42c..1c5313b 100644
Binary files a/src/docs/demo/v216-bluetooth-hidden.gif and b/src/docs/demo/v216-bluetooth-hidden.gif differ
diff --git a/src/docs/demo/v216-coordinates.gif b/src/docs/demo/v216-coordinates.gif
index 64ab9b0..ba9cf25 100644
Binary files a/src/docs/demo/v216-coordinates.gif and b/src/docs/demo/v216-coordinates.gif differ
diff --git a/src/docs/demo/v216-hud-settings.gif b/src/docs/demo/v216-hud-settings.gif
index b5f0900..8988fa6 100644
Binary files a/src/docs/demo/v216-hud-settings.gif and b/src/docs/demo/v216-hud-settings.gif differ
diff --git a/src/docs/demo/v216-itinerary.gif b/src/docs/demo/v216-itinerary.gif
index 1fb0f49..cd4e23c 100644
Binary files a/src/docs/demo/v216-itinerary.gif and b/src/docs/demo/v216-itinerary.gif differ
diff --git a/src/docs/demo/v223-nearby-pois.gif b/src/docs/demo/v223-nearby-pois.gif
index 24b4d48..7c8018a 100644
Binary files a/src/docs/demo/v223-nearby-pois.gif and b/src/docs/demo/v223-nearby-pois.gif differ
diff --git a/src/docs/demo/v223-secondary-manoeuvre.gif b/src/docs/demo/v223-secondary-manoeuvre.gif
index 0752284..269a466 100644
Binary files a/src/docs/demo/v223-secondary-manoeuvre.gif and b/src/docs/demo/v223-secondary-manoeuvre.gif differ
diff --git a/src/docs/demo/v224-ml-adaptive-hud.gif b/src/docs/demo/v224-ml-adaptive-hud.gif
index d686c9e..d81be71 100644
Binary files a/src/docs/demo/v224-ml-adaptive-hud.gif and b/src/docs/demo/v224-ml-adaptive-hud.gif differ
diff --git a/src/docs/demo/v224-ml-parking-and-pois.gif b/src/docs/demo/v224-ml-parking-and-pois.gif
index 193be6d..fc5e922 100644
Binary files a/src/docs/demo/v224-ml-parking-and-pois.gif and b/src/docs/demo/v224-ml-parking-and-pois.gif differ
diff --git a/src/docs/demo/v224-ml-slowdowns.gif b/src/docs/demo/v224-ml-slowdowns.gif
index 7cb7af8..09502a8 100644
Binary files a/src/docs/demo/v224-ml-slowdowns.gif and b/src/docs/demo/v224-ml-slowdowns.gif differ
diff --git a/src/docs/demo/v225-gps-panel.gif b/src/docs/demo/v225-gps-panel.gif
index 3930762..9e582b7 100644
Binary files a/src/docs/demo/v225-gps-panel.gif and b/src/docs/demo/v225-gps-panel.gif differ
diff --git a/src/docs/demo/v300-multileg-and-chevron.gif b/src/docs/demo/v300-multileg-and-chevron.gif
new file mode 100644
index 0000000..99064cf
Binary files /dev/null and b/src/docs/demo/v300-multileg-and-chevron.gif differ
diff --git a/src/docs/demo/v300-qr-sync-and-connect.gif b/src/docs/demo/v300-qr-sync-and-connect.gif
new file mode 100644
index 0000000..af14eed
Binary files /dev/null and b/src/docs/demo/v300-qr-sync-and-connect.gif differ
diff --git a/src/docs/repository-readme.md b/src/docs/repository-readme.md
index 06c43b6..1b33621 100644
--- a/src/docs/repository-readme.md
+++ b/src/docs/repository-readme.md
@@ -7,17 +7,16 @@
-Download latest release · Fresh install · Update existing installation · Send a destination from your phone
+Download latest release · Fresh install · Update existing installation · ClioPlay Link companion app
## Version @@VERSION@@
-Version **2.2.8** is a software-only cartographic road overhaul plus close-zoom tracking and early-shutdown reliability release (**100% compatible with existing `2.1.8–2.2.7` maps** and saved user data; no map rebuild required):
+Version **3.0.0** unifies ClioPlay on Carminat TomTom with the redesigned **ClioPlay Link** companion web app while keeping **100% compatibility with existing `2.1.8–2.2.8` maps (`CPM5`, `CPR2 v5`, `QAD7`, `CPC1`)** and saved user data (no map rebuild required):
-- **Cartographic road rendering across all zooms (`Z0–Z9`):** Continuous sub-pixel (`Q4`) carriageway widths scaling proportionally up to `Z9`, true tapered capsules for 3D perspective driving view, zero-blob Day & Night kerb casings, elevated motorway flyovers, and scaled cased route overlays.
-- **Non-overlapping priority road expansion & seamless end-to-end transitions:** When roads run closely alongside one another, main carriageways expand first without encroaching on parallel neighbours, dual carriageways preserve crisp central reservations, and adjacent minor/service roads expand **outwards** on their open side so every road stays wide and visually distinct — while wide main roads joining narrower roads end-to-end glide smoothly down in both width and colour via a tangent-continuous S-curve funnel with zero abrupt step or bulbous end-cap.
-- **Stable, road-anchored street names:** Active road labels lock to a fixed world coordinate on the road with competition hysteresis, re-entry debounce, orientation/side deadbands and Schmitt-trigger spacing margins so street names glide calmly with the tarmac instead of flickering between competing roads or jumping along the same street while driving.
-- **Accurate close-zoom (`Z7–Z9`) junction positioning:** Paired proportional street widths with `Q4` track smoothing, bounded 1 Hz inter-fix dead-reckoning and post-stop settling so stopping at junctions converges cleanly onto the stop line instead of lagging behind.
-- **Reliable early ignition-off shutdown:** Cooperative `/tmp/clshutdown` signalling and hardware-init locks across `ttn`, `btstart.sh`, `clio040` and `clioa2dp` abort pending background startup cleanly when the ignition is turned off immediately after boot (such as during `"Acquiring GPS"`).
+- **Instant bidirectional `CLP3` Bluetooth Link:** ~0.3 s confirmed destination, atomic multi-stop trip, favourites, 18-field car settings (`prefs.ini`), remote Cancel/Skip and Clock/TZ sync over AVRCP `ACK`/`NACK`, with automatic Smart Music Resume, warm Link/Turn/Arrival navigation chimes, non-disruptive incoming route handoff (`OK: Add stop / BACK: Undo`), and automatic fallback for legacy `CLP2` senders.
+- **All-legs multi-stop CH routing & `Z7–Z9` on-road turn chevrons:** Cooperatively calculates every remaining leg of a multi-stop itinerary reusing the idle CH search arena, rendering active Leg 0 in magenta and future legs in soft lavender, with **Next + Total** ETAs in **Trip** and crisp perspective-scaled white directional chevrons on the carriageway at `Z7–Z9`.
+- **Zero-menu optical QR sync & Driving Insights:** Tapping **Sync from Car** in ClioPlay Link pops up a floating frosted-glass QR pill on ClioPlay's map screen to transfer favourites, active trip, recents, car settings, map coverage and opt-in `mobility.h` Driving Insights in ~2 seconds via closed-loop BT-ACK stepping — plus built-in Connect QRs right inside **Bluetooth → Pair new phone** and connected phone cards.
+- **18 languages & ARMv4T polish:** Complete 18-language parity across both ClioPlay and ClioPlay Link (including RTL Arabic and Hebrew) and 32-bit `Q12` road-layout hot-path optimisation.
See [CHANGELOG.md](CHANGELOG.md) for all prior releases, [intelligent navigation](src/docs/intelligent-navigation.md) for local ML behaviour and privacy, and the [zoom & controls guide](src/README.md#auto-zoom-and-close-up-street-names).
@@ -25,6 +24,14 @@ See [CHANGELOG.md](CHANGELOG.md) for all prior releases, [intelligent navigation
All previews below are captured from ClioPlay's native `480 × 272` renderer across real offline UK map regions (**Central London**, **Liverpool**, **Leeds**, **Edinburgh**, **Newcastle** and **Manchester**). See the [preview notes and full capture index](src/docs/demo/README.md) for methodology and regression archives.
+| Multi-leg future routing & on-road turn chevrons | Zero-menu optical QR sync & built-in Connect QR |
+| --- | --- |
+|  |  |
+
+| Bidirectional CLP3 sync ([ClioPlay Link](https://pxwel-dev.github.io/ClioPlay-Send/)) | Bluetooth A2DP phone audio & playback controls |
+| --- | --- |
+|
|
|
+
| Offline traffic diversions & Explore preview | Learned usual routes & calibrated ETA ranges |
| --- | --- |
|  |  |
@@ -37,10 +44,6 @@ All previews below are captured from ClioPlay's native `480 × 272` renderer acr
| --- | --- |
|  |  |
-| Send destinations over Bluetooth ([ClioPlay Send](https://pxwel-dev.github.io/ClioPlay-Send/)) | Bluetooth A2DP phone audio & playback controls |
-| --- | --- |
-|
|
|
-
| Offline camera warnings, map badges & overspeed alerts | Live expandable GPS telemetry HUD |
| --- | --- |
|  |  |
@@ -68,7 +71,7 @@ Focus temperature readings take priority when valid. See the
[console setup and controls](src/README.md#physical-console-and-temperature-sources).
The hardware protocol was contributed from a tested Scénic 3.
-ClioPlay automatically discovers Bluetooth hardware on the Carminat; for Bluetooth, the Carminat must have: (`hw_bluetooth=1`). If no Bluetooth hardware is discovered, ClioPlay hides all Bluetooth-related UI features (Bluetooth audio and sending destinations by phone via ClioPlay Send).
+ClioPlay automatically discovers Bluetooth hardware on the Carminat; for Bluetooth, the Carminat must have: (`hw_bluetooth=1`). If no Bluetooth hardware is discovered, ClioPlay hides all Bluetooth-related UI features (Bluetooth audio and bidirectional phone sync via ClioPlay Link).
ClioPlay handles the audio source as follows:
@@ -94,7 +97,7 @@ BT CTRL also requires a connected phone. Unavailable radio/volume readings stay
- Day/Night themes with custom daily switch times in Auto, automatic units and time zones, and 18 interface languages.
- Mapped speed limits and camera alerts where the bundled country policy allows them.
-For new stops/destinations, enter **Coordinates** on the head unit, choose **Next** on the keypad to validate both fields and proceed to naming, or use the separate [ClioPlay Send website](https://pxwel-dev.github.io/ClioPlay-Send/) to send the new route to ClioPlay from your phone via Bluetooth. For ease of use, add the website to your Home Screen as a web app.
+For new stops/destinations, enter **Coordinates** on the head unit, choose **Next** on the keypad to validate both fields and proceed to naming, or use the [ClioPlay Link companion web app](https://pxwel-dev.github.io/ClioPlay-Send/) to send destinations, multi-stop trips, saved places and car settings over Bluetooth (and sync back from ClioPlay via optical QR). For ease of use, add the web app to your Home Screen.
## Install
diff --git a/src/locales/ar.json b/src/locales/ar.json
index 5ac5134..408f781 100644
--- a/src/locales/ar.json
+++ b/src/locales/ar.json
@@ -258,5 +258,22 @@
"Usual route selected": "تم اختيار المسار المعتاد",
"Route unavailable": "المسار غير متاح",
"Limit ": "الحد ",
- "Overspeed audio": "صوت التجاوز"
+ "Overspeed audio": "صوت التجاوز",
+ "Browse Recents/Favourites, use ClioPlay Link": "الأخيرة/المفضلة أو ClioPlay Link",
+ "Navigation chimes": "نغمات الملاحة",
+ "Link only": "الرابط فقط",
+ "All cues": "كل التنبيهات",
+ "Previous route restored": "تمت استعادة المسار السابق",
+ "Settings updated": "تم تحديث الإعدادات",
+ "Trip ready": "الرحلة جاهزة",
+ "Stop skipped": "تم تخطي المحطة",
+ "Queued - waiting for GPS": "بالانتظار - إشارة GPS",
+ "Receiving trip": "جاري استلام الرحلة",
+ "Route replaced": "تم استبدال المسار",
+ "OK: Add stop / BACK: Undo": "موافق: محطة / رجوع: تراجع",
+ "BACK: Undo": "رجوع: تراجع",
+ "Scan for ClioPlay Link": "امسح لـ ClioPlay Link",
+ "Total: ": "الإجمالي: ",
+ "Sync to phone": "مزامنة مع الهاتف",
+ "Synced": "تمت المزامنة"
}
diff --git a/src/locales/de.json b/src/locales/de.json
index 1e8ad09..e99b97c 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -258,5 +258,22 @@
"Usual route selected": "Übliche Route gewählt",
"Route unavailable": "Route nicht verfügbar",
"Limit ": "Limit ",
- "Overspeed audio": "Tempo-Audio"
+ "Overspeed audio": "Tempo-Audio",
+ "Browse Recents/Favourites, use ClioPlay Link": "Letzte Ziele/Favoriten, ClioPlay Link",
+ "Navigation chimes": "Navigationstöne",
+ "Link only": "Nur Link",
+ "All cues": "Alle Hinweise",
+ "Previous route restored": "Vorherige Route wiederhergestellt",
+ "Settings updated": "Einstellungen aktualisiert",
+ "Trip ready": "Fahrt bereit",
+ "Stop skipped": "Stopp übersprungen",
+ "Queued - waiting for GPS": "Warteschlange - GPS warten",
+ "Receiving trip": "Empfange Fahrt",
+ "Route replaced": "Route ersetzt",
+ "OK: Add stop / BACK: Undo": "OK: Stopp / ZURÜCK: Rückg.",
+ "BACK: Undo": "ZURÜCK: Rückgängig",
+ "Scan for ClioPlay Link": "Scannen für ClioPlay Link",
+ "Total: ": "Gesamt: ",
+ "Sync to phone": "Mit Handy sync.",
+ "Synced": "Synchronisiert"
}
diff --git a/src/locales/el.json b/src/locales/el.json
index d80b6f8..a57d28a 100644
--- a/src/locales/el.json
+++ b/src/locales/el.json
@@ -258,5 +258,22 @@
"Usual route selected": "Επιλέχθηκε συνήθης διαδρομή",
"Route unavailable": "Μη διαθέσιμη διαδρομή",
"Limit ": "Όριο ",
- "Overspeed audio": "Ήχος υπέρβασης"
+ "Overspeed audio": "Ήχος υπέρβασης",
+ "Browse Recents/Favourites, use ClioPlay Link": "Πρόσφατα/Αγαπημένα, ClioPlay Link",
+ "Navigation chimes": "Ήχοι πλοήγησης",
+ "Link only": "Μόνο Link",
+ "All cues": "Όλες οι ειδοπ.",
+ "Previous route restored": "Επαναφορά προηγ. διαδρομής",
+ "Settings updated": "Οι ρυθμίσεις ενημερώθηκαν",
+ "Trip ready": "Διαδρομή έτοιμη",
+ "Stop skipped": "Παράλειψη στάσης",
+ "Queued - waiting for GPS": "Σε αναμονή - GPS",
+ "Receiving trip": "Λήψη διαδρομής",
+ "Route replaced": "Η διαδρομή άλλαξε",
+ "OK: Add stop / BACK: Undo": "OK: Στάση / ΠΙΣΩ: Αναίρεση",
+ "BACK: Undo": "ΠΙΣΩ: Αναίρεση",
+ "Scan for ClioPlay Link": "Σάρωση για ClioPlay Link",
+ "Total: ": "Σύνολο: ",
+ "Sync to phone": "Συγχρ. με τηλέφωνο",
+ "Synced": "Συγχρονίστηκε"
}
diff --git a/src/locales/he.json b/src/locales/he.json
index 3cb93b6..6b66f79 100644
--- a/src/locales/he.json
+++ b/src/locales/he.json
@@ -258,5 +258,22 @@
"Usual route selected": "נבחר המסלול הקבוע",
"Route unavailable": "המסלול אינו זמין",
"Limit ": "מגבלה ",
- "Overspeed audio": "שמע בחריגה"
+ "Overspeed audio": "שמע בחריגה",
+ "Browse Recents/Favourites, use ClioPlay Link": "אחרונים/מועדפים, ClioPlay Link",
+ "Navigation chimes": "צלילי ניווט",
+ "Link only": "קישור בלבד",
+ "All cues": "כל ההתראות",
+ "Previous route restored": "המסלול הקודם שוחזר",
+ "Settings updated": "ההגדרות עודכנו",
+ "Trip ready": "הנסיעה מוכנה",
+ "Stop skipped": "דילוג על עצירה",
+ "Queued - waiting for GPS": "ממתין לאות GPS",
+ "Receiving trip": "מקבל נסיעה",
+ "Route replaced": "המסלול הוחלף",
+ "OK: Add stop / BACK: Undo": "אישור: הוסף עצירה / חזור: בטל",
+ "BACK: Undo": "חזור: בטל",
+ "Scan for ClioPlay Link": "סרוק עבור ClioPlay Link",
+ "Total: ": "סה״כ: ",
+ "Sync to phone": "סנכרן לטלפון",
+ "Synced": "סונכרן"
}
diff --git a/src/locales/hi.json b/src/locales/hi.json
index ff0b64e..40ebfcf 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -258,5 +258,22 @@
"Usual route selected": "सामान्य मार्ग चुना गया",
"Route unavailable": "मार्ग उपलब्ध नहीं",
"Limit ": "सीमा ",
- "Overspeed audio": "अधिक गति ऑडियो"
+ "Overspeed audio": "अधिक गति ऑडियो",
+ "Browse Recents/Favourites, use ClioPlay Link": "हाल के/पसंदीदा, ClioPlay Link",
+ "Navigation chimes": "नेविगेशन ध्वनि",
+ "Link only": "केवल लिंक",
+ "All cues": "सभी संकेत",
+ "Previous route restored": "पिछला मार्ग बहाल हुआ",
+ "Settings updated": "सेटिंग्स अपडेट हुईं",
+ "Trip ready": "यात्रा तैयार",
+ "Stop skipped": "स्टॉप छोड़ा गया",
+ "Queued - waiting for GPS": "कतार में - GPS की प्रतीक्षा",
+ "Receiving trip": "यात्रा प्राप्त हो रही है",
+ "Route replaced": "मार्ग बदला गया",
+ "OK: Add stop / BACK: Undo": "OK: स्टॉप जोड़ें / BACK: पूर्ववत",
+ "BACK: Undo": "BACK: पूर्ववत",
+ "Scan for ClioPlay Link": "ClioPlay Link के लिए स्कैन",
+ "Total: ": "कुल: ",
+ "Sync to phone": "फ़ोन से सिंक करें",
+ "Synced": "सिंक हो गया"
}
diff --git a/src/locales/it.json b/src/locales/it.json
index e65b64f..9cdd4e6 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -258,5 +258,22 @@
"Usual route selected": "Percorso abituale scelto",
"Route unavailable": "Percorso non disponibile",
"Limit ": "Limite ",
- "Overspeed audio": "Audio eccesso"
+ "Overspeed audio": "Audio eccesso",
+ "Browse Recents/Favourites, use ClioPlay Link": "Recenti/Preferiti, ClioPlay Link",
+ "Navigation chimes": "Suoni navigazione",
+ "Link only": "Solo Link",
+ "All cues": "Tutti gli avvisi",
+ "Previous route restored": "Percorso precedente ripristinato",
+ "Settings updated": "Impostazioni aggiornate",
+ "Trip ready": "Viaggio pronto",
+ "Stop skipped": "Tappa saltata",
+ "Queued - waiting for GPS": "In coda - attesa GPS",
+ "Receiving trip": "Ricezione viaggio",
+ "Route replaced": "Percorso sostituito",
+ "OK: Add stop / BACK: Undo": "OK: Tappa / INDIETRO: Annulla",
+ "BACK: Undo": "INDIETRO: Annulla",
+ "Scan for ClioPlay Link": "Scansiona per ClioPlay Link",
+ "Total: ": "Totale: ",
+ "Sync to phone": "Sincr. con telefono",
+ "Synced": "Sincronizzato"
}
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 23be521..7a23369 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -258,5 +258,22 @@
"Usual route selected": "いつものルートを選択",
"Route unavailable": "ルートを利用できません",
"Limit ": "制限 ",
- "Overspeed audio": "超過時のみ音声"
+ "Overspeed audio": "超過時のみ音声",
+ "Browse Recents/Favourites, use ClioPlay Link": "履歴・お気に入り、ClioPlay Link",
+ "Navigation chimes": "ナビ通知音",
+ "Link only": "連携のみ",
+ "All cues": "すべて",
+ "Previous route restored": "前のルートを復元しました",
+ "Settings updated": "設定を更新しました",
+ "Trip ready": "ルート準備完了",
+ "Stop skipped": "経由地をスキップ",
+ "Queued - waiting for GPS": "待機中 - GPS受信待ち",
+ "Receiving trip": "ルート受信中",
+ "Route replaced": "ルートを変更しました",
+ "OK: Add stop / BACK: Undo": "OK: 経由追加 / 戻る: 元に戻す",
+ "BACK: Undo": "戻る: 元に戻す",
+ "Scan for ClioPlay Link": "ClioPlay Link をスキャン",
+ "Total: ": "合計: ",
+ "Sync to phone": "スマホへ同期",
+ "Synced": "同期完了"
}
diff --git a/src/locales/ko.json b/src/locales/ko.json
index e1c65d1..673251b 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -258,5 +258,22 @@
"Usual route selected": "자주 가는 경로 선택됨",
"Route unavailable": "경로 이용 불가",
"Limit ": "제한 ",
- "Overspeed audio": "과속 시 음성"
+ "Overspeed audio": "과속 시 음성",
+ "Browse Recents/Favourites, use ClioPlay Link": "최근/즐겨찾기, ClioPlay Link",
+ "Navigation chimes": "내비게이션 알림음",
+ "Link only": "연결만",
+ "All cues": "모든 알림",
+ "Previous route restored": "이전 경로 복원됨",
+ "Settings updated": "설정 업데이트됨",
+ "Trip ready": "여정 준비됨",
+ "Stop skipped": "경유지 건너뜀",
+ "Queued - waiting for GPS": "대기 중 - GPS 수신 중",
+ "Receiving trip": "여정 수신 중",
+ "Route replaced": "경로 변경됨",
+ "OK: Add stop / BACK: Undo": "확인: 경유 추가 / 뒤로: 실행 취소",
+ "BACK: Undo": "뒤로: 실행 취소",
+ "Scan for ClioPlay Link": "ClioPlay Link 스캔",
+ "Total: ": "전체: ",
+ "Sync to phone": "휴대폰과 동기화",
+ "Synced": "동기화됨"
}
diff --git a/src/locales/nl.json b/src/locales/nl.json
index aaa9abc..687f204 100644
--- a/src/locales/nl.json
+++ b/src/locales/nl.json
@@ -258,5 +258,22 @@
"Usual route selected": "Vaste route gekozen",
"Route unavailable": "Route niet beschikbaar",
"Limit ": "Limiet ",
- "Overspeed audio": "Audio te snel"
+ "Overspeed audio": "Audio te snel",
+ "Browse Recents/Favourites, use ClioPlay Link": "Recent/Favorieten, ClioPlay Link",
+ "Navigation chimes": "Navigatiegeluiden",
+ "Link only": "Alleen Link",
+ "All cues": "Alle signalen",
+ "Previous route restored": "Vorige route hersteld",
+ "Settings updated": "Instellingen bijgewerkt",
+ "Trip ready": "Rit gereed",
+ "Stop skipped": "Stop overgeslagen",
+ "Queued - waiting for GPS": "In wachtrij - wacht op GPS",
+ "Receiving trip": "Rit ontvangen",
+ "Route replaced": "Route vervangen",
+ "OK: Add stop / BACK: Undo": "OK: Stop / TERUG: Ongedaan",
+ "BACK: Undo": "TERUG: Ongedaan",
+ "Scan for ClioPlay Link": "Scan voor ClioPlay Link",
+ "Total: ": "Totaal: ",
+ "Sync to phone": "Sync met telefoon",
+ "Synced": "Gesynchroniseerd"
}
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 7670c10..dc28ffa 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -258,5 +258,22 @@
"Usual route selected": "Wybrano zwykłą trasę",
"Route unavailable": "Trasa niedostępna",
"Limit ": "Limit ",
- "Overspeed audio": "Przy przekroczeniu"
+ "Overspeed audio": "Przy przekroczeniu",
+ "Browse Recents/Favourites, use ClioPlay Link": "Ostatnie/Ulubione, ClioPlay Link",
+ "Navigation chimes": "Dźwięki nawigacji",
+ "Link only": "Tylko Link",
+ "All cues": "Wszystkie sygnały",
+ "Previous route restored": "Przywrócono poprzednią trasę",
+ "Settings updated": "Zaktualizowano ustawienia",
+ "Trip ready": "Trasa gotowa",
+ "Stop skipped": "Pominięto przystanek",
+ "Queued - waiting for GPS": "W kolejce - czekam na GPS",
+ "Receiving trip": "Odbieranie trasy",
+ "Route replaced": "Zmieniono trasę",
+ "OK: Add stop / BACK: Undo": "OK: Przystanek / WSTECZ: Cofnij",
+ "BACK: Undo": "WSTECZ: Cofnij",
+ "Scan for ClioPlay Link": "Skanuj dla ClioPlay Link",
+ "Total: ": "Łącznie: ",
+ "Sync to phone": "Synchr. z telefonem",
+ "Synced": "Zsynchronizowano"
}
diff --git a/src/locales/pt.json b/src/locales/pt.json
index 1453f87..9248c89 100644
--- a/src/locales/pt.json
+++ b/src/locales/pt.json
@@ -258,5 +258,22 @@
"Usual route selected": "Rota habitual escolhida",
"Route unavailable": "Rota indisponível",
"Limit ": "Limite ",
- "Overspeed audio": "Áudio excesso"
+ "Overspeed audio": "Áudio excesso",
+ "Browse Recents/Favourites, use ClioPlay Link": "Recentes/Favoritos, ClioPlay Link",
+ "Navigation chimes": "Tons de navegação",
+ "Link only": "Só Link",
+ "All cues": "Todos os avisos",
+ "Previous route restored": "Rota anterior restaurada",
+ "Settings updated": "Definições atualizadas",
+ "Trip ready": "Viagem pronta",
+ "Stop skipped": "Paragem ignorada",
+ "Queued - waiting for GPS": "Em fila - a aguardar GPS",
+ "Receiving trip": "A receber viagem",
+ "Route replaced": "Rota substituída",
+ "OK: Add stop / BACK: Undo": "OK: Paragem / VOLTAR: Desf.",
+ "BACK: Undo": "VOLTAR: Desfazer",
+ "Scan for ClioPlay Link": "Ler para ClioPlay Link",
+ "Total: ": "Total: ",
+ "Sync to phone": "Sincr. com telefone",
+ "Synced": "Sincronizado"
}
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 3aba982..d38e98b 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -258,5 +258,22 @@
"Usual route selected": "Привычный путь выбран",
"Route unavailable": "Маршрут недоступен",
"Limit ": "Лимит ",
- "Overspeed audio": "При превышении"
+ "Overspeed audio": "При превышении",
+ "Browse Recents/Favourites, use ClioPlay Link": "Недавние/Избранное, ClioPlay Link",
+ "Navigation chimes": "Звуки навигации",
+ "Link only": "Только Link",
+ "All cues": "Все сигналы",
+ "Previous route restored": "Предыдущий маршрут восстановлен",
+ "Settings updated": "Настройки обновлены",
+ "Trip ready": "Поездка готова",
+ "Stop skipped": "Остановка пропущена",
+ "Queued - waiting for GPS": "В очереди - ожидание GPS",
+ "Receiving trip": "Получение поездки",
+ "Route replaced": "Маршрут заменён",
+ "OK: Add stop / BACK: Undo": "OK: Остановка / НАЗАД: Отм.",
+ "BACK: Undo": "НАЗАД: Отменить",
+ "Scan for ClioPlay Link": "Сканировать для ClioPlay Link",
+ "Total: ": "Всего: ",
+ "Sync to phone": "Синхр. с телефоном",
+ "Synced": "Синхронизировано"
}
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 778329f..f8f7d18 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -258,5 +258,22 @@
"Usual route selected": "Alışılmış rota seçildi",
"Route unavailable": "Rota mevcut değil",
"Limit ": "Limit ",
- "Overspeed audio": "Hız aşımı sesi"
+ "Overspeed audio": "Hız aşımı sesi",
+ "Browse Recents/Favourites, use ClioPlay Link": "Son yerler/Favoriler, ClioPlay Link",
+ "Navigation chimes": "Navigasyon sesleri",
+ "Link only": "Yalnızca Link",
+ "All cues": "Tüm uyarılar",
+ "Previous route restored": "Önceki rota geri yüklendi",
+ "Settings updated": "Ayarlar güncellendi",
+ "Trip ready": "Yolculuk hazır",
+ "Stop skipped": "Durak atlandı",
+ "Queued - waiting for GPS": "Sırada - GPS bekleniyor",
+ "Receiving trip": "Yolculuk alınıyor",
+ "Route replaced": "Rota değiştirildi",
+ "OK: Add stop / BACK: Undo": "OK: Durak / GERİ: Geri al",
+ "BACK: Undo": "GERİ: Geri al",
+ "Scan for ClioPlay Link": "ClioPlay Link için tara",
+ "Total: ": "Toplam: ",
+ "Sync to phone": "Telefona aktar",
+ "Synced": "Eşitlendi"
}
diff --git a/src/locales/ui.json b/src/locales/ui.json
index 668cc73..4b36f26 100644
--- a/src/locales/ui.json
+++ b/src/locales/ui.json
@@ -1059,6 +1059,74 @@
"Overspeed audio": [
"Audio excès",
"Audio exceso"
+ ],
+ "Browse Recents/Favourites, use ClioPlay Link": [
+ "Récents/Favoris, ClioPlay Link",
+ "Recientes/Favoritos, ClioPlay Link"
+ ],
+ "Navigation chimes": [
+ "Sons de navigation",
+ "Tonos de navegación"
+ ],
+ "Link only": [
+ "Lien seul",
+ "Solo enlace"
+ ],
+ "All cues": [
+ "Tous les signaux",
+ "Todos los avisos"
+ ],
+ "Previous route restored": [
+ "Itinéraire précédent rétabli",
+ "Ruta anterior restaurada"
+ ],
+ "Settings updated": [
+ "Réglages mis à jour",
+ "Ajustes actualizados"
+ ],
+ "Trip ready": [
+ "Trajet prêt",
+ "Viaje listo"
+ ],
+ "Stop skipped": [
+ "Étape ignorée",
+ "Parada omitida"
+ ],
+ "Queued - waiting for GPS": [
+ "En file - attente GPS",
+ "En cola - esperando GPS"
+ ],
+ "Receiving trip": [
+ "Réception du trajet",
+ "Recibiendo viaje"
+ ],
+ "Route replaced": [
+ "Itinéraire remplacé",
+ "Ruta reemplazada"
+ ],
+ "OK: Add stop / BACK: Undo": [
+ "OK : Étape / RETOUR : Annuler",
+ "OK: Parada / ATRÁS: Deshacer"
+ ],
+ "BACK: Undo": [
+ "RETOUR : Annuler",
+ "ATRÁS: Deshacer"
+ ],
+ "Scan for ClioPlay Link": [
+ "Scanner pour ClioPlay Link",
+ "Escanear para ClioPlay Link"
+ ],
+ "Total: ": [
+ "Total : ",
+ "Total: "
+ ],
+ "Sync to phone": [
+ "Sync. vers téléphone",
+ "Sincr. con móvil"
+ ],
+ "Synced": [
+ "Synchronisé",
+ "Sincronizado"
]
},
"language_names": {
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 14c24ce..72fe578 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -258,5 +258,22 @@
"Usual route selected": "Звичний маршрут обрано",
"Route unavailable": "Маршрут недоступний",
"Limit ": "Ліміт ",
- "Overspeed audio": "При перевищенні"
+ "Overspeed audio": "При перевищенні",
+ "Browse Recents/Favourites, use ClioPlay Link": "Недавні/Обране, ClioPlay Link",
+ "Navigation chimes": "Звуки навігації",
+ "Link only": "Лише Link",
+ "All cues": "Усі сигнали",
+ "Previous route restored": "Попередній маршрут відновлено",
+ "Settings updated": "Налаштування оновлено",
+ "Trip ready": "Поїздка готова",
+ "Stop skipped": "Зупинку пропущено",
+ "Queued - waiting for GPS": "У черзі - очікування GPS",
+ "Receiving trip": "Отримання поїздки",
+ "Route replaced": "Маршрут замінено",
+ "OK: Add stop / BACK: Undo": "OK: Зупинка / НАЗАД: Скасув.",
+ "BACK: Undo": "НАЗАД: Скасувати",
+ "Scan for ClioPlay Link": "Сканувати для ClioPlay Link",
+ "Total: ": "Разом: ",
+ "Sync to phone": "Синхр. з телефоном",
+ "Synced": "Синхронізовано"
}
diff --git a/src/locales/zh-Hans.json b/src/locales/zh-Hans.json
index b2bad08..4bf35ac 100644
--- a/src/locales/zh-Hans.json
+++ b/src/locales/zh-Hans.json
@@ -258,5 +258,22 @@
"Usual route selected": "已选择常用路线",
"Route unavailable": "路线不可用",
"Limit ": "限速 ",
- "Overspeed audio": "超速音频"
+ "Overspeed audio": "超速音频",
+ "Browse Recents/Favourites, use ClioPlay Link": "浏览最近/收藏,使用 ClioPlay Link",
+ "Navigation chimes": "导航提示音",
+ "Link only": "仅连接",
+ "All cues": "全部提示",
+ "Previous route restored": "已恢复上一路线",
+ "Settings updated": "设置已更新",
+ "Trip ready": "行程就绪",
+ "Stop skipped": "已跳过途经点",
+ "Queued - waiting for GPS": "已排队 - 等待 GPS",
+ "Receiving trip": "正在接收行程",
+ "Route replaced": "路线已替换",
+ "OK: Add stop / BACK: Undo": "确定:加途经点 / 返回:撤销",
+ "BACK: Undo": "返回:撤销",
+ "Scan for ClioPlay Link": "扫码连接 ClioPlay Link",
+ "Total: ": "全程: ",
+ "Sync to phone": "同步到手机",
+ "Synced": "已同步"
}
diff --git a/src/tests/audio-chime.c b/src/tests/audio-chime.c
index cb4c1b4..93342da 100644
--- a/src/tests/audio-chime.c
+++ b/src/tests/audio-chime.c
@@ -5,7 +5,7 @@ static unsigned udiv32(unsigned n,unsigned d){return d?n/d:0;}
#include "../clio843/src/audio_chime.h"
int main(int argc,char**argv){
for(unsigned rate=11025;rate<=44100;rate*=2){
- for(unsigned kind=1;kind<=2;kind++){
+ for(unsigned kind=1;kind<=5;kind++){
struct AudioChime c={0};
if(kind==1)chime_start(&c,rate);
else chime_start_kind(&c,rate,kind);
@@ -22,12 +22,14 @@ int main(int argc,char**argv){
count++;
}
if(f)fclose(f);
- unsigned expected=kind==2?(rate*3u)/5u:rate/2u;
+ unsigned expected=kind==2?(rate*3u)/5u:kind==3?(rate*34u)/100u:kind==4?(rate*28u)/100u:kind==5?(rate*48u)/100u:rate/2u;
assert(count==expected);assert(previous==0);
- assert(peak>3000&&peak<4097);assert(maxstep<3000);
+ if(kind<=2)assert(peak>3000&&peak<4097);
+ else assert(peak>2000&&peak<3200);
+ assert(maxstep<3000);
int gain;assert(chime_sample(&c,&gain)==0&&gain==256);
}
}
- puts("PCM camera cue: approach/overspeed kinds, duration, envelopes, bounded ducking, clipping and 11/22/44kHz passed.");
+ puts("PCM cues (camera + link/turn/arrival): kinds 1-5, envelopes, bounded ducking, clipping and 11/22/44kHz passed.");
return 0;
}
diff --git a/src/tests/audio-runtime.c b/src/tests/audio-runtime.c
index e5fc3ab..a9e2323 100644
--- a/src/tests/audio-runtime.c
+++ b/src/tests/audio-runtime.c
@@ -11,8 +11,9 @@ static int mock_running,mock_source=1,mock_debug=0,mock_alert=0,mock_shutdown=0;
static unsigned mock_alert_words[4];
static unsigned char mock_ring[65536] __attribute__((aligned(4)));
static char mock_nav[512];
-static unsigned char mock_avrcp_tx[16][80];
-static unsigned mock_avrcp_tx_len[16],mock_avrcp_tx_n;
+static char mock_nav_ack[128];
+static unsigned char mock_avrcp_tx[32][80];
+static unsigned mock_avrcp_tx_len[32],mock_avrcp_tx_n;
static struct MockFile{const char*path;unsigned char data[1280];unsigned size;} mock_files[]={
{"./clio843/btnames.dat",{0},0},{"./clio843/btbonds.dat",{0},0},
{"/tmp/clbtdevices",{0},0},{"/tmp/clbtdevices.tmp",{0},0},
@@ -32,6 +33,7 @@ static long s_open(const char*p,int flags,int mode){
if(!strcmp(p,"/tmp/cldebug"))return 5;
if(!strcmp(p,"/tmp/clalert"))return mock_alert?6:-2;
if(!strcmp(p,"/tmp/clshutdown"))return mock_shutdown?7:-2;
+ if(!strcmp(p,"/tmp/clnav_ack"))return mock_nav_ack[0]?12:-2;
if(flags&64)return !strcmp(p,"/media/sdcard/clio843/bt.log")?11:!strcmp(p,"/tmp/clnav.tmp")?9:8;
return -2;
}
@@ -39,11 +41,12 @@ static long s_read(int fd,void*p,unsigned n){
if(fd>=20&&fd<26){struct MockFile*f=&mock_files[fd-20];if(n>f->size)n=f->size;memcpy(p,f->data,n);return n;}
if(fd==4||fd==5){if(n)((char*)p)[0]=(fd==4?mock_source:mock_debug)?'1':'0';return n?1:0;}
if(fd==6){unsigned size=sizeof(mock_alert_words);if(nlen)n=len;memcpy(p,mock_nav_ack,n);return n;}
return -2;
}
static long s_write(int fd,const void*p,unsigned n){
if(fd>=20&&fd<26){struct MockFile*f=&mock_files[fd-20];assert(ndata));memcpy(f->data,p,n);f->data[n]=0;f->size=n;return n;}
- if(fd==30){assert(mock_avrcp_tx_n<16&&n<=sizeof(mock_avrcp_tx[0]));memcpy(mock_avrcp_tx[mock_avrcp_tx_n],p,n);mock_avrcp_tx_len[mock_avrcp_tx_n]=n;mock_avrcp_tx_n++;return n;}
+ if(fd==30){assert(mock_avrcp_tx_n<32&&n<=sizeof(mock_avrcp_tx[0]));memcpy(mock_avrcp_tx[mock_avrcp_tx_n],p,n);mock_avrcp_tx_len[mock_avrcp_tx_n]=n;mock_avrcp_tx_n++;return n;}
if(fd==9){unsigned size=n>8);meta[off+7]=(u8)len;memcpy(meta+off+8,values[i],len);off+=8+(int)len;}
+ meta[11]=(u8)((off-13)>>8);meta[12]=(u8)(off-13);avrcp_parse(meta,off);
+}
+static void clp3_signed(char*out,unsigned cap,const char*body){
+ u16 crc=crc16_ccitt_text(body,(u32)strlen(body));
+ snprintf(out,cap,"%s:%04X",body,crc);
+}
+static void clp3_link_checks(void){
+ reset(44100);avrcpfd=30;avrcp_state=2;mock_avrcp_tx_n=0;
+ /* Suppress both legacy ClioPlay Send and new ClioPlay Link fallback titles. */
+ feed_avrcp_meta("ClioPlay Link","","");
+ assert(meta_title[0]==0&&meta_album[0]==0);
+ /* Establish real music playing prior to CLP3 transfer for smart resume. */
+ meta_playing=1;feed_avrcp_meta("Midnight City","M83","Hurry Up");
+ assert(real_media_was_playing&&!nav_resume_music);
+ /* Atomic trip stop 0 of 3 with instant ACK + chime kind=3. */
+ char pkt[128];clp3_signed(pkt,sizeof(pkt),"CLP3:T:0:3:2A:5497032:-160208:0101");
+ feed_avrcp_meta(pkt,"Tesco Extra","CLIOPLAY-NAV");
+ assert(nav_ack_pending&&nav_ack_seq==0x0101&&nav_resume_music);
+ assert(strstr(mock_nav,"VER=3\n")&&strstr(mock_nav,"ACTION=T\n")&&strstr(mock_nav,"A=0\n")&&strstr(mock_nav,"B=3\n")&&strstr(mock_nav,"C=42\n"));
+ snprintf(mock_nav_ack,sizeof(mock_nav_ack),"SEQ=%u\nRES=OK\nCHIME=3\n",0x0101u);
+ mock_now+=50;nav_ack_service(mock_now);
+ assert(!nav_ack_pending&&mock_avrcp_tx_n==2);
+ assert(mock_avrcp_tx[0][5]==0x7c&&mock_avrcp_tx[0][6]==0x4b&&mock_avrcp_tx[1][6]==(0x4b|0x80));
+ assert(camera_chime.kind==3u&&chime_active(&camera_chime));
+ /* Retry with same seq immediately re-emits cached ACK without re-publishing. */
+ mock_avrcp_tx_n=0;feed_avrcp_meta(pkt,"Tesco Extra","CLIOPLAY-NAV");
+ assert(mock_avrcp_tx_n==2&&mock_avrcp_tx[0][6]==0x4b);
+ /* NACK returns 0x4c PREV pass-through. */
+ mock_avrcp_tx_n=0;clp3_signed(pkt,sizeof(pkt),"CLP3:N:5150740:-12780:0102");
+ feed_avrcp_meta(pkt,"Outside Map","CLIOPLAY-NAV");
+ assert(nav_ack_pending&&nav_ack_seq==0x0102);
+ snprintf(mock_nav_ack,sizeof(mock_nav_ack),"SEQ=%u\nRES=NACK\nCHIME=0\n",0x0102u);
+ mock_now+=40;nav_ack_service(mock_now);
+ assert(!nav_ack_pending&&mock_avrcp_tx_n==2&&mock_avrcp_tx[0][6]==0x4c&&mock_avrcp_tx[1][6]==(0x4c|0x80));
+ /* Parse every remaining CLP3 packet kind: F, P, C(X/K/T), Q(S/A/D), H. */
+ struct NavPacket np;
+ clp3_signed(pkt,sizeof(pkt),"CLP3:F:1:5497032:-160208:0103");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.ver==3&&np.action=='F'&&np.a==1);
+ clp3_signed(pkt,sizeof(pkt),"CLP3:P:013209030200A40174043C00:0104");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='P'&&streq(np.hex,"013209030200A40174043C00"));
+ clp3_signed(pkt,sizeof(pkt),"CLP3:C:X:0105");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='C'&&np.sub=='X');
+ clp3_signed(pkt,sizeof(pkt),"CLP3:C:K:0106");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='C'&&np.sub=='K');
+ clp3_signed(pkt,sizeof(pkt),"CLP3:C:T:69F01234:60:0107");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='C'&&np.sub=='T'&&np.a==0x69f01234u&&np.b==60);
+ clp3_signed(pkt,sizeof(pkt),"CLP3:Q:S:0108");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='Q'&&np.sub=='S');
+ clp3_signed(pkt,sizeof(pkt),"CLP3:Q:A:3:0109");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='Q'&&np.sub=='A'&&np.a==3);
+ clp3_signed(pkt,sizeof(pkt),"CLP3:Q:D:010A");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='Q'&&np.sub=='D');
+ clp3_signed(pkt,sizeof(pkt),"CLP3:H:3:010B");
+ assert(nav_packet_parse_ex(pkt,&np)&&np.action=='H'&&np.a==3);
+ /* Bad CRC must be rejected. */
+ pkt[strlen(pkt)-1]^=1;
+ assert(!nav_packet_parse_ex(pkt,&np));
+ /* Smart Music Resume fires 0x44 PLAY once silent transfer finishes and settles. */
+ mock_avrcp_tx_n=0;av_started=0;meta_playing=0;
+ mock_now+=950;nav_ack_service(mock_now);
+ assert(mock_avrcp_tx_n==2&&mock_avrcp_tx[0][6]==0x44&&mock_avrcp_tx[1][6]==(0x44|0x80)&&!nav_resume_music);
+ /* Legacy CLP2 must never arm AVRCP ACK. */
+ mock_avrcp_tx_n=0;clp3_signed(pkt,sizeof(pkt),"CLP2:N:5497032:-160208:010C");
+ feed_avrcp_meta(pkt,"Legacy Send","CLIOPLAY-NAV");
+ assert(!nav_ack_pending&&mock_avrcp_tx_n==0);
+}
+int main(void){bluetooth_identity_checks();avrcp_notify_checks();clp3_link_checks();rate_checks();source_checks();idle_checks();cue_checks();copy_checks();shutdown_checks();snd_close();puts("Playback: three rates, gated decode/fresh resume, AVRCP notifications/CLP3 bidirectional ACK+NACK+resume, bounded idle drain, transport suspend, paused cues, cooperative shutdown cleanup and PCM copies passed.");return 0;}
diff --git a/src/tests/clp3-link.c b/src/tests/clp3-link.c
new file mode 100644
index 0000000..0eb097c
--- /dev/null
+++ b/src/tests/clp3-link.c
@@ -0,0 +1,150 @@
+/* Native verification of ClioPlay v3.0 CLP3 bidirectional link, atomic trip
+ * staging, 12-byte prefs.ini codec, favourites delta sync, pre-GPS phone clock,
+ * non-disruptive incoming handoff, cold-GPS queueing, and navigation chimes. */
+#define HOST_TEST 1
+#define main clio040_host_main
+#include "../clio843/src/clio040.c"
+#undef main
+#include
+#include
+#include
+
+static void write_nav(const char*text){
+ FILE*f=fopen(BT_NAV_PATH,"wb");assert(f);
+ fwrite(text,1,strlen(text),f);fclose(f);
+}
+static int read_ack(char*buf,size_t cap){
+ FILE*f=fopen(BT_NAV_ACK_PATH,"rb");if(!f)return 0;
+ size_t n=fread(buf,1,cap-1,f);fclose(f);buf[n]=0;return n>0;
+}
+static void reset_state(void){
+ memzero(&gps,sizeof(gps));gps.hour=-1;gps.fix=1;gps.lat=5498000;gps.lon=-161000;gps.mph10=0;
+ memzero(&trip,sizeof(trip));memzero(&phone_dest,sizeof(phone_dest));
+ trip_stage_clear();phone_undo_clear();
+ phone_seq_seen_valid=0;phone_clock_valid=0;
+ nrecents=nfaves=0;modal=MOD_NONE;screen=SCR_MAP;freecam=0;bt_control_mode=0;
+ hw_bluetooth_enabled=1;mapok=0;atlas_ready=0;
+ hud_capture_clock=1;hud_capture_ms=10000;
+ pref=(struct Prefs){50,0,0,1,0,THEME_AUTO,0,1,1,0,CLIO_DAY_START,CLIO_NIGHT_START,0,0,0,1,1,0,1};
+ s_unlink(BT_NAV_PATH);s_unlink(BT_NAV_ACK_PATH);s_unlink(CAMERA_ALERT_PATH);
+ menu_reset(hud_now_ms());hud_reset_animations();
+}
+static void test_prefs_codec(void){
+ reset_state();
+ pref.bright=80;pref.theme=THEME_NIGHT;pref.units=2;pref.cameras=3;pref.nav_chimes=2;
+ pref.autozoom=0;pref.clock_auto=0;pref.top_swap=1;pref.bottom_swap=1;
+ pref.learn_history=1;pref.destination_predictions=0;pref.diversions=0;pref.debug=1;
+ pref.language=7;pref.gps_hud=1;pref.day_start=450;pref.night_start=1170;
+ pref.hoff=-5;pref.moff=-30;
+ u8 packed[12];clio_prefs_pack(packed);
+ char hex[25];
+ for(int i=0;i<12;i++)snprintf(hex+i*2,3,"%02X",packed[i]);
+ /* Corrupt one field to prove rejection. */
+ u8 bad[12];memcpy(bad,packed,12);bad[0]=2;assert(!clio_prefs_unpack(bad));
+ memcpy(bad,packed,12);bad[1]=5;assert(!clio_prefs_unpack(bad));
+ /* Reset prefs and restore via CLP3:P packet. */
+ pref=(struct Prefs){50,0,0,1,0,THEME_DAY,0,1,1,0,CLIO_DAY_START,CLIO_NIGHT_START,0,0,0,1,1,0,0};
+ char pkt[160];snprintf(pkt,sizeof(pkt),"VER=3\nSEQ=10\nACTION=P\nHEX=%s\nNAME=\n",hex);
+ write_nav(pkt);poll_phone_destination();phone_destination_apply();
+ assert(pref.bright==80&&pref.theme==THEME_NIGHT&&pref.units==2&&pref.cameras==3&&pref.nav_chimes==2);
+ assert(!pref.autozoom&&!pref.clock_auto&&pref.top_swap&&pref.bottom_swap);
+ assert(pref.learn_history&&!pref.destination_predictions&&!pref.diversions&&pref.debug);
+ assert(pref.language==7&&pref.gps_hud&&pref.day_start==450&&pref.night_start==1170);
+ assert(pref.hoff==-5&&pref.moff==-30);
+ char ack[128];assert(read_ack(ack,sizeof(ack)));
+ assert(strstr(ack,"SEQ=10\n")&&strstr(ack,"RES=OK\n")&&strstr(ack,"CHIME=3\n"));
+ /* Ensure prefs.ini persistence includes navchimes. */
+ save_prefs();pref.nav_chimes=0;load_prefs();assert(pref.nav_chimes==2);
+}
+static void test_atomic_trip_and_out_of_map(void){
+ reset_state();
+ /* Simulate installed single-pack bounds around Newcastle. */
+ mapok=1;mh.minlat=5480000;mh.maxlat=5520000;mh.minlon=-190000;mh.maxlon=-140000;
+ /* Out-of-map CLP3:N must NACK and preserve empty trip. */
+ write_nav("VER=3\nSEQ=20\nACTION=N\nLAT=5150740\nLON=-12780\nNAME=London\n");
+ poll_phone_destination();phone_destination_apply();
+ char ack[128];assert(read_ack(ack,sizeof(ack)));
+ assert(strstr(ack,"SEQ=20\n")&&strstr(ack,"RES=NACK\n")&&strstr(ack,"CHIME=0\n"));
+ assert(!trip.active&&trip.count==0);
+ /* Atomic 3-stop CLP3:T arrives in order 0, 1, 2. */
+ write_nav("VER=3\nSEQ=21\nACTION=T\nLAT=5497000\nLON=-161000\nA=0\nB=3\nC=7\nNAME=Stop One\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(trip_stage.active&&trip_stage.received==1&&trip_stage.total==3&&!trip.active);
+ assert(read_ack(ack,sizeof(ack))&&strstr(ack,"SEQ=21\n")&&strstr(ack,"RES=OK\n")&&strstr(ack,"CHIME=0\n"));
+ hud_prepare(6,hud_now_ms(),1);
+ assert(hud_tween[HC_STATUS].target.flags&(HUD_PROGRESS|HUD_PROGRESS_FILL));
+ write_nav("VER=3\nSEQ=22\nACTION=T\nLAT=5498000\nLON=-162000\nA=1\nB=3\nC=7\nNAME=Stop Two\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(trip_stage.active&&trip_stage.received==2&&!trip.active);
+ write_nav("VER=3\nSEQ=23\nACTION=T\nLAT=5499000\nLON=-163000\nA=2\nB=3\nC=7\nNAME=Final Dest\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(!trip_stage.active&&trip.active&&trip.count==3&&trip.active_idx==0);
+ assert(streq(trip.target[0].name,"Stop One")&&streq(trip.target[1].name,"Stop Two")&&streq(trip.target[2].name,"Final Dest"));
+ assert(read_ack(ack,sizeof(ack))&&strstr(ack,"SEQ=23\n")&&strstr(ack,"RES=OK\n")&&strstr(ack,"CHIME=3\n"));
+ /* Skip next stop via CLP3:C:K. */
+ write_nav("VER=3\nSEQ=24\nACTION=C\nSUB=K\nLAT=0\nLON=0\nA=0\nB=0\nC=0\nNAME=\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(trip.active_idx==1&&read_ack(ack,sizeof(ack))&&strstr(ack,"SEQ=24\n")&&strstr(ack,"RES=OK\n"));
+ /* Cancel route via CLP3:C:X. */
+ write_nav("VER=3\nSEQ=25\nACTION=C\nSUB=X\nLAT=0\nLON=0\nA=0\nB=0\nC=0\nNAME=\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(!trip.active&&trip.count==0&&read_ack(ack,sizeof(ack))&&strstr(ack,"SEQ=25\n")&&strstr(ack,"RES=OK\n"));
+}
+static void test_handoff_undo_and_add_stop(void){
+ reset_state();
+ set_destination("Original Dest",5497000,-161000);
+ /* Incoming CLP3:N while already navigating -> BACK restores original trip. */
+ write_nav("VER=3\nSEQ=30\nACTION=N\nLAT=5499000\nLON=-165000\nNAME=Coffee Shop\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(trip.active&&streq(trip.target[0].name,"Coffee Shop")&&phone_undo_active(hud_now_ms())&&phone_undo_can_add);
+ key_handle(K_BACK);
+ assert(trip.active&&trip.count==1&&streq(trip.target[0].name,"Original Dest")&&!phone_undo_valid);
+ /* Incoming CLP3:N again -> OK converts it into a stop on Original Dest! */
+ write_nav("VER=3\nSEQ=31\nACTION=N\nLAT=5499000\nLON=-165000\nNAME=Coffee Shop\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(phone_undo_active(hud_now_ms())&&phone_undo_can_add);
+ key_handle(K_ENTER);
+ assert(trip.active&&trip.count==2&&streq(trip.target[0].name,"Coffee Shop")&&streq(trip.target[1].name,"Original Dest")&&!phone_undo_valid);
+}
+static void test_cold_gps_clock_faves_ping_and_chimes(void){
+ reset_state();
+ gps.fix=0;gps.hour=-1;
+ /* Clock sync works before GPS lock (2026-11-28 14:30:00 UTC = 1795876200, +60 min BST -> 15:30 = 930 min). */
+ assert(local_clock_minutes()==-1);
+ write_nav("VER=3\nSEQ=40\nACTION=C\nSUB=T\nLAT=0\nLON=0\nA=1795876200\nB=60\nC=0\nNAME=\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(phone_clock_valid&&local_clock_minutes()==930);
+ /* Cold-GPS destination queues cleanly and ACKs OK. */
+ write_nav("VER=3\nSEQ=41\nACTION=N\nLAT=5497000\nLON=-161000\nNAME=Home\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(trip.active&&trip_need_route&&streq(notice_text,ui_tr("Queued - waiting for GPS")));
+ /* Favourites delta sync: add, rename in-place, delete, clear. */
+ write_nav("VER=3\nSEQ=42\nACTION=F\nLAT=5497000\nLON=-161000\nA=1\nB=0\nC=0\nNAME=Home\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(nfaves==1&&streq(faves[0].name,"Home"));
+ write_nav("VER=3\nSEQ=43\nACTION=F\nLAT=5497002\nLON=-161002\nA=1\nB=0\nC=0\nNAME=My House\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(nfaves==1&&streq(faves[0].name,"My House"));
+ write_nav("VER=3\nSEQ=44\nACTION=F\nLAT=5497001\nLON=-161001\nA=3\nB=0\nC=0\nNAME=\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(nfaves==0);
+ /* Silent heartbeat Ping updates phone_link_seen_ms and ACKs with CHIME=0. */
+ phone_link_seen_ms=0;
+ write_nav("VER=3\nSEQ=45\nACTION=H\nLAT=0\nLON=0\nA=3\nB=0\nC=0\nNAME=\n");
+ poll_phone_destination();phone_destination_apply();
+ char ack[128];assert(read_ack(ack,sizeof(ack))&&strstr(ack,"SEQ=45\n")&&strstr(ack,"RES=OK\n")&&strstr(ack,"CHIME=0\n"));
+ assert(phone_link_seen_ms==hud_now_ms());
+ /* When nav_chimes==0 (Off), CLP3 ACK suppresses chime cleanly. */
+ pref.nav_chimes=0;
+ write_nav("VER=3\nSEQ=46\nACTION=N\nLAT=5497000\nLON=-161000\nNAME=Silent Dest\n");
+ poll_phone_destination();phone_destination_apply();
+ assert(read_ack(ack,sizeof(ack))&&strstr(ack,"SEQ=46\n")&&strstr(ack,"RES=OK\n")&&strstr(ack,"CHIME=0\n"));
+}
+int main(void){
+ test_prefs_codec();
+ test_atomic_trip_and_out_of_map();
+ test_handoff_undo_and_add_stop();
+ test_cold_gps_clock_faves_ping_and_chimes();
+ puts("CLP3 link: prefs 12B codec, atomic trip staging, out-of-map NACK, Undo/Add-stop handoff, cold-GPS queue, pre-GPS clock, fav delta sync, ping and chimes passed.");
+ return 0;
+}
diff --git a/src/tests/qr-sync.c b/src/tests/qr-sync.c
new file mode 100644
index 0000000..a7910ca
--- /dev/null
+++ b/src/tests/qr-sync.c
@@ -0,0 +1,319 @@
+#define HOST_TEST
+#ifndef CLIO_HOST_ROOT
+#define CLIO_HOST_ROOT "/tmp/clio_qrs_test_"
+#endif
+#include
+#include
+#include
+#define main clio_host_main
+#include "../clio843/src/clio040.c"
+#undef main
+
+static int b64url_val(char c){
+ if(c>='A'&&c<='Z')return c-'A';
+ if(c>='a'&&c<='z')return c-'a'+26;
+ if(c>='0'&&c<='9')return c-'0'+52;
+ if(c=='-')return 62;
+ if(c=='_')return 63;
+ return -1;
+}
+
+static int b64url_decode(const char* in, u8* out, int cap){
+ int n = 0;
+ u32 acc = 0; int bits = 0;
+ for(; *in; in++){
+ int v = b64url_val(*in);
+ assert(v >= 0);
+ acc = (acc << 6) | (u32)v;
+ bits += 6;
+ if(bits >= 8){
+ bits -= 8;
+ assert(n < cap);
+ out[n++] = (u8)((acc >> bits) & 0xffu);
+ }
+ }
+ return n;
+}
+
+static u16 rd_u16(const u8* p){ return (u16)p[0] | (u16)((u16)p[1] << 8); }
+static s16 rd_s16(const u8* p){ return (s16)rd_u16(p); }
+static u32 rd_u32(const u8* p){ return (u32)p[0] | ((u32)p[1]<<8) | ((u32)p[2]<<16) | ((u32)p[3]<<24); }
+static s32 rd_s32(const u8* p){ return (s32)rd_u32(p); }
+
+static void dump_fb_ppm(const char* path){
+ FILE* f = fopen(path, "wb");
+ assert(f != 0);
+ fprintf(f, "P6\n%d %d\n255\n", W, H);
+ for(int i = 0; i < W * H; i++){
+ u16 p = fb[i];
+ u8 rgb[3] = {
+ (u8)(((p >> 11) & 31) * 255 / 31),
+ (u8)(((p >> 5) & 63) * 255 / 63),
+ (u8)((p & 31) * 255 / 31)
+ };
+ fwrite(rgb, 1, 3, f);
+ }
+ fclose(f);
+}
+
+int main(void){
+ load_font();
+ hw_bluetooth_enabled = 1;
+ load_prefs();
+ pref.theme = THEME_NIGHT;
+ apply_palette(1);
+ pref.units = 2; /* Imperial */
+ pref.language = 7; /* Polish */
+ pref.nav_chimes = 2;
+ pref.learn_history = 1;
+ pref.bright = 75;
+
+ /* Set map coverage & region ISO. */
+ mapok = 1;
+ atlas_ready = 0;
+ mh.minlat = 5000000; mh.maxlat = 5880000;
+ mh.minlon = -620000; mh.maxlon = 180000;
+ region_iso[0] = 'G'; region_iso[1] = 'B'; region_iso[2] = 0;
+ region_flags = 1;
+
+ /* 1. Connect QR URL & Version check (must fit <= V5). */
+ assert(qr_connect_ensure());
+ assert(qr_connect_mat.version >= 4 && qr_connect_mat.version <= 5);
+ assert(strstr(qr_connect_url, "https://pxwel-dev.github.io/ClioPlay-Send/#q=C1.") == qr_connect_url);
+ assert(strstr(qr_connect_url, ".GB.21.5000.5880.-620.180") != 0);
+
+ /* 2. Populate rich Favourites, Active Multi-Stop Trip, Recents, and Mobility/ML data. */
+ nfaves = 4;
+ faves[0].lat = 5499000; faves[0].lon = -160000; copystr(faves[0].name, sizeof(faves[0].name), "Home");
+ faves[1].lat = 5496810; faves[1].lon = -161770; copystr(faves[1].name, sizeof(faves[1].name), "Café Łódź");
+ faves[2].lat = 5501450; faves[2].lon = -169420; copystr(faves[2].name, sizeof(faves[2].name), "Kingston Park");
+ faves[3].lat = 5497700; faves[3].lon = -161100; copystr(faves[3].name, sizeof(faves[3].name), "Quayside");
+
+ nrecents = 3;
+ recents[0] = faves[1];
+ recents[1] = faves[2];
+ recents[2].lat = 5497400; recents[2].lon = -162900; copystr(recents[2].name, sizeof(recents[2].name), "Eldon Square");
+
+ memzero(&trip, sizeof(trip));
+ trip.active = 1; trip.count = 3; trip.active_idx = 0;
+ trip.target[0].lat = 5501450; trip.target[0].lon = -169420; copystr(trip.target[0].name, sizeof(trip.target[0].name), "Kingston Park");
+ trip.target[1].lat = 5497700; trip.target[1].lon = -161100; copystr(trip.target[1].name, sizeof(trip.target[1].name), "Quayside");
+ trip.target[2].lat = 5496810; trip.target[2].lon = -161770; copystr(trip.target[2].name, sizeof(trip.target[2].name), "Café Łódź");
+ route_status = R_READY;
+ route_n = 2; route_head = 0;
+ route_lat[0] = 5498200; route_lon[0] = -165638;
+ route_lat[1] = 5501450; route_lon[1] = -169420;
+ route_result_m = 4200;
+ route_result_cost = 3600; /* 360 s */
+ trip_legs[1].status = TLEG_READY; trip_legs[1].dist_m = 6800; trip_legs[1].cost_ds = 5400;
+ trip_legs[2].status = TLEG_READY; trip_legs[2].dist_m = 2100; trip_legs[2].cost_ds = 2400;
+
+ /* Mobility + ML state. */
+ mob_model_reset();
+ ml_reset();
+ mob.serial = 42;
+ mob.n = 12;
+ mob.head = 12;
+ for(unsigned i = 0; i < 12; i++){
+ struct MobJourney* j = &mob.journey[i];
+ j->origin = (struct MobPoint){5499000, -160000};
+ j->dest = (i % 3 == 0) ? (struct MobPoint){5496810, -161770} : (struct MobPoint){5501450, -169420};
+ j->depart = mob_epoch(2026, 9, 14 + (int)(i % 7), 8 + (int)(i % 10), 15, 0);
+ j->serial = i + 1;
+ j->distance = 5000u + i * 1000u;
+ j->duration = 600u + i * 60u;
+ }
+ for(unsigned i = 0; i < 35; i++){
+ mob.road[i].key = 100u + i;
+ mob.road[i].count = 3;
+ mob.road[i].mean_ds = 120;
+ }
+ mob_ml.road_cls[1].count = 12; mob_ml.road_cls[1].ratio_q8 = 240; /* motorway faster */
+ mob_ml.road_cls[2].count = 10; mob_ml.road_cls[2].ratio_q8 = 256; /* A-road baseline */
+ mob_ml.road_cls[4].count = 8; mob_ml.road_cls[4].ratio_q8 = 280; /* B-road calmer */
+ mob_ml.road_cls[6].count = 15; mob_ml.road_cls[6].ratio_q8 = 270; /* Local */
+ mob_ml.road_cls[2].cold_count = 6; mob_ml.road_cls[2].cold_ratio_q8 = 290;
+ mob_ml.parking[0].count = 4; mob_ml.parking[0].target = faves[1].lat ? (struct MobPoint){5496810,-161770} : (struct MobPoint){0,0};
+ mob_ml.stops[0].count = 3;
+ mob_ml.hazards[0].key = 555; mob_ml.hazards[0].lat = 5498000; mob_ml.hazards[0].lon = -163000;
+ mob_ml.hazards[0].count = 5; mob_ml.hazards[0].cold_count = 2;
+ mob_ml.bright_day = 85; mob_ml.bright_day_n = 5;
+ mob_ml.bright_night = 30; mob_ml.bright_night_n = 4;
+
+ /* 3. Start floating QR pill via CLP3:Q:S and verify frame stream + exact binary reassembly! */
+ assert(phone_qr_command('S', 0) == 1);
+ assert(qr_pill_active == 1);
+ assert(qr_pill_total >= 4 && qr_pill_total <= QR_SYNC_MAX_FRAMES);
+ assert(qr_pill_mat.version <= 7);
+
+ u8 reassembled[QR_SYNC_MAX_BYTES];
+ int rlen = 0;
+ for(int f = 0; f < qr_pill_total; f++){
+ if(f > 0){
+ assert(phone_qr_command('A', (u32)f) == 1);
+ assert(qr_pill_bt_ack == 1);
+ assert(qr_pill_idx == f);
+ }
+ assert(qr_pill_mat.version <= 7);
+ /* Verify header format CS1::/: */
+ const char* p = qr_pill_frame_text;
+ assert(strncmp(p, "CS1:", 4) == 0);
+ const char* c1 = strchr(p + 4, ':'); assert(c1 != 0);
+ const char* sl = strchr(c1 + 1, '/'); assert(sl != 0);
+ const char* c2 = strchr(sl + 1, ':'); assert(c2 != 0);
+ assert(atoi(c1 + 1) == f);
+ assert(atoi(sl + 1) == qr_pill_total);
+ int dec = b64url_decode(c2 + 1, reassembled + rlen, QR_SYNC_MAX_BYTES - rlen);
+ rlen += dec;
+ }
+ assert(rlen == qr_sync_len);
+ assert(memcmp(reassembled, qr_sync_buf, (size_t)rlen) == 0);
+
+ /* Verify CRC-16-CCITT trailer. */
+ u16 got_crc = rd_u16(reassembled + rlen - 2);
+ u16 exp_crc = qr_crc16(reassembled, rlen - 2);
+ assert(got_crc == exp_crc);
+
+ /* Parse header & TLV sections. */
+ assert(reassembled[0] == 'C' && reassembled[1] == 'S' && reassembled[2] == 1);
+ assert((reassembled[3] & 7u) == 7u); /* mapok | imperial | learn_history */
+ assert(reassembled[7] == 'G' && reassembled[8] == 'B');
+ assert(rd_s16(reassembled + 9) == 5000 && rd_s16(reassembled + 11) == 5880);
+ assert(rd_s16(reassembled + 13) == -620 && rd_s16(reassembled + 15) == 180);
+ u8 exp_prefs[12]; clio_prefs_pack(exp_prefs);
+ assert(memcmp(reassembled + 17, exp_prefs, 12) == 0);
+
+ int pos = 29, payload_end = rlen - 2;
+ int seen_faves = 0, seen_trip = 0, seen_recents = 0, seen_insights = 0;
+ while(pos + 3 <= payload_end){
+ u8 tag = reassembled[pos];
+ u16 blen = rd_u16(reassembled + pos + 1);
+ const u8* body = reassembled + pos + 3;
+ assert(pos + 3 + blen <= payload_end);
+ if(tag == 0x01){
+ seen_faves = 1;
+ assert(body[0] == 4);
+ }else if(tag == 0x02){
+ seen_trip = 1;
+ assert(body[0] == 3);
+ u32 tot_m = rd_u32(body + 1);
+ u32 tot_s = rd_u32(body + 5);
+ assert(tot_m == 4200u + 6800u + 2100u);
+ assert(tot_s == (3600u + 5400u + 2400u) / 10u);
+ }else if(tag == 0x03){
+ seen_recents = 1;
+ assert(body[0] == 3);
+ }else if(tag == 0x04){
+ seen_insights = 1;
+ assert(rd_u16(body) == 12);
+ assert(rd_u32(body + 10) == 16000u); /* longest = 5000 + 11*1000 */
+ assert(body[40] == qr_pace_pct(240)); /* motorway pace */
+ assert(body[41] == 100); /* A-road pace */
+ assert(body[44] == qr_pace_pct(290)); /* cold pace */
+ assert(rd_u16(body + 45) == 35); /* learned_roads */
+ assert(body[47] == 1 && body[48] == 1 && body[49] == 1); /* park, stop, haz */
+ assert(body[50] == 85 && body[51] == 30); /* bright day/night */
+ assert(body[52] == 2); /* 2 clustered destinations */
+ }
+ pos += 3 + blen;
+ }
+ assert(pos == payload_end);
+ assert(seen_faves && seen_trip && seen_recents && seen_insights);
+
+ /* Optional visual + CoreImage PPM dump of floating pill! */
+ const char* dump_dir = getenv("QR_DUMP_DIR");
+ if(dump_dir && dump_dir[0]){
+ char path[256];
+ screen = SCR_MAP; modal = MOD_NONE; sheet_page = P_CLOSED;
+ assert(phone_qr_command('S', 0) == 1);
+ qr_pill_started_ms = hud_now_ms() - 500u;
+ memset(fb, 0x10, sizeof(fb));
+ qr_pill_draw(hud_now_ms());
+ snprintf(path, sizeof(path), "%s/qr_pill_frame0.ppm", dump_dir);
+ dump_fb_ppm(path);
+ printf("PILL_FRAME0=%s\n", qr_pill_frame_text);
+ }
+
+ /* 4. Verify CLP3:Q:D flashes Synced and auto-closes after 900 ms. */
+ assert(phone_qr_command('D', 0) == 1);
+ assert(qr_pill_active == 2);
+ u32 t0 = qr_pill_done_ms;
+ qr_pill_service(t0 + 400u);
+ assert(qr_pill_active == 2);
+ qr_pill_service(t0 + 950u);
+ assert(qr_pill_active == 0);
+
+ /* 5. Verify auto-cycle fallback when no BT ACK arrives + K_BACK dismiss. */
+ assert(phone_qr_command('S', 0) == 1);
+ assert(qr_pill_idx == 0 && qr_pill_bt_ack == 0);
+ u32 s0 = qr_pill_started_ms;
+ qr_pill_service(s0 + 1600u);
+ assert(qr_pill_idx == 1);
+ key_handle(K_BACK);
+ assert(qr_pill_active == 0);
+
+ /* 6. Verify privacy guard: learn_history=0 omits Section 0x04. */
+ pref.learn_history = 0;
+ assert(phone_qr_command('S', 0) == 1);
+ pos = 29; payload_end = qr_sync_len - 2;
+ int saw_04 = 0;
+ while(pos + 3 <= payload_end){
+ if(qr_sync_buf[pos] == 0x04) saw_04 = 1;
+ pos += 3 + rd_u16(qr_sync_buf + pos + 1);
+ }
+ assert(!saw_04);
+ qr_pill_dismiss();
+
+ /* 7. Verify P_PAIR stay-open on BT connect + auto-close on ClioPlay Link Ping! */
+ u32 now = hud_now_ms();
+ btui.connected = 0;
+ copystr(btui.status, sizeof(btui.status), "BT PAIR 0000");
+ nbtdev = 1;
+ copystr(btdev[0].name, sizeof(btdev[0].name), "PAWEL'S IPHONE");
+ copystr(btdev[0].addr, sizeof(btdev[0].addr), "AA:BB:CC:DD:EE:FF");
+ btdev[0].connected = 0;
+ menu_open(P_PHONE, 0, now);
+ menu_pair_before = 0; menu_pair_waited = 1; menu_pair_connected = 0;
+ menu_pair_link_seen = phone_link_seen_ms;
+ menu_push(P_PAIR, 0, now);
+ assert(sheet_page == P_PAIR);
+ /* Phone connects over Bluetooth -> P_PAIR stays open showing Connected + Done + QR! */
+ btui.connected = 1; btdev[0].connected = 1;
+ copystr(btui.device, sizeof(btui.device), "PAWEL'S IPHONE");
+ copystr(btui.status, sizeof(btui.status), "BT CONNECTED");
+ menu_sync(now + 100u);
+ assert(sheet_page == P_PAIR);
+ assert(menu_pair_connected == 1);
+ assert(menu_count(P_PAIR) == 1);
+ if(dump_dir && dump_dir[0]){
+ char path[256];
+ menu_settle(now + 400u);
+ memset(fb, 0x10, sizeof(fb));
+ menu_paint(now + 400u);
+ snprintf(path, sizeof(path), "%s/qr_pair_connected.ppm", dump_dir);
+ dump_fb_ppm(path);
+ printf("CONNECT_URL=%s\n", qr_connect_url);
+ }
+ /* User scans Connect QR -> ClioPlay Link fires CLP3:H Ping -> P_PAIR auto-closes! */
+ phone_link_seen_ms = now + 500u;
+ menu_sync(now + 500u);
+ assert(sheet_page == P_PHONE);
+
+ /* 8. Verify P_PHONE_ACTIONS connected shows expanded QR card. */
+ copystr(phone_addr, sizeof(phone_addr), btdev[0].addr);
+ menu_push(P_PHONE_ACTIONS, 0, now + 600u);
+ struct HudBox ab = menu_box(P_PHONE_ACTIONS);
+ assert(ab.w == 384 && ab.h == 166);
+ if(dump_dir && dump_dir[0]){
+ char path[256];
+ menu_settle(now + 1000u);
+ memset(fb, 0x10, sizeof(fb));
+ menu_paint(now + 1000u);
+ snprintf(path, sizeof(path), "%s/qr_phone_actions.ppm", dump_dir);
+ dump_fb_ppm(path);
+ }
+
+ printf("qr-sync: ALL PASS (sync=%dB, frames=%d, connect_ver=V%d)\n",
+ qr_sync_len, qr_pill_total, qr_connect_mat.version);
+ return 0;
+}
diff --git a/src/tests/trip-multileg.c b/src/tests/trip-multileg.c
new file mode 100644
index 0000000..b4916d0
--- /dev/null
+++ b/src/tests/trip-multileg.c
@@ -0,0 +1,120 @@
+/* Native verification of ClioPlay v3.0 all-legs-at-once multi-stop CH planner,
+ * smart partial invalidation / pool compaction, Option B HUD vs Trip totals,
+ * secondary future-leg route rendering, and Z7-Z9 on-carriageway turn chevrons. */
+#define HOST_TEST 1
+#define main clio040_host_main
+#include "../clio843/src/clio040.c"
+#undef main
+#include
+#include
+#include
+
+static void set_pos(s32 la,s32 lo){
+ gps.fix=1;gps.mph10=300;gps.course=0;gps.lat=la;gps.lon=lo;
+ track_lat=la;track_lon=lo;track_valid=1;
+ track_lat4=la*16;track_lon4=lo*16;track_q4_valid=1;
+ display_course=0;display_course_valid=1;
+}
+
+static void test_chevron_and_future_overlay(void){
+ apply_palette(1); /* Night theme */
+ fill(0,0,W,H,C_MAP_BG);
+ freecam=0;mapok=1;
+ set_pos(5500000,-164000);
+ /* Build a clean L-shaped active Leg 0 turning left at index 2 (North -> West), all inside Z8 viewport. */
+ route_status=R_READY;route_head=0;route_n=5;
+ route_lat[0]=5499960;route_lon[0]=-164000;
+ route_lat[1]=5500000;route_lon[1]=-164000;
+ route_lat[2]=5500050;route_lon[2]=-164000; /* Turn vertex (~55m ahead of car) */
+ route_lat[3]=5500050;route_lon[3]=-164060;
+ route_lat[4]=5500050;route_lon[4]=-164120;
+ nav_man_type=MAN_LEFT;nav_man_idx=2;nav_man_m=55;
+ /* Build a cached future Leg 1 continuing North from the stop inside the Z8 viewport. */
+ memzero(&trip,sizeof(trip));trip.active=1;trip.count=2;trip.active_idx=0;
+ trip.target[0]=(struct TripTarget){5500050,-164120,"Stop 1"};
+ trip.target[1]=(struct TripTarget){5500120,-164120,"Final"};
+ trip_plan_reset();
+ trip_future_lat[0]=5500050;trip_future_lon[0]=-164120;
+ trip_future_lat[1]=5500085;trip_future_lon[1]=-164120;
+ trip_future_lat[2]=5500120;trip_future_lon[2]=-164120;
+ trip_future_used=3;
+ trip_legs[1]=(struct TripLeg){TLEG_READY,5500050,-164120,5500120,-164120,1800,1200,0,3};
+ /* Render Z8 overlay. */
+ draw_route_overlay(8);
+ int px_route=0,px_future=0,px_white=0;
+ for(int y=MAP_TOP;y100);
+ assert(px_future>50);
+ assert(px_white>20);
+ /* Verify Option B HUD still shows Leg 0 (Next stop), while Trip total sums Leg 0 + Leg 1. */
+ route_result_m=800;route_result_cost=1200;atlas_future_cost=0;atlas_future_m=0;
+ route_seg_cost[0]=0;for(int i=1;i Mid1 -> Mid2 -> East). */
+ set_pos(5500000,-168840);
+ memzero(&trip,sizeof(trip));
+ trip.active=1;trip.count=3;trip.active_idx=0;
+ trip.target[0]=(struct TripTarget){5500500,-163540,"Stop One"};
+ trip.target[1]=(struct TripTarget){5500500,-155840,"Stop Two"};
+ trip.target[2]=(struct TripTarget){5500000,-142456,"East Final"};
+ assert(route_start(trip.target[0].lat,trip.target[0].lon));
+ for(int i=0;i<10000&&route_status==R_CALC;i++)route_service_until(s_now_ms()+20u);
+ assert(route_status==R_READY&&route_n>=2);
+ int leg0_n=route_n;s32 leg0_end_lat=route_lat[route_n-1],leg0_end_lon=route_lon[route_n-1];
+ u32 leg0_comp=route_dest_comp;
+ /* Cooperatively calculate future Legs 1 and 2 using idle CH arena. */
+ trip_plan_sync();
+ assert(trip_plan_pending());
+ for(int i=0;i<200&&trip_plan_pending();i++)trip_plan_service_until(s_now_ms()+20u);
+ assert(!trip_plan_pending()&&trip_plan_all_ready());
+ /* Leg 0 path & snap metadata must remain 100% untouched! */
+ assert(route_n==leg0_n&&route_lat[route_n-1]==leg0_end_lat&&route_lon[route_n-1]==leg0_end_lon&&route_dest_comp==leg0_comp);
+ assert(trip_legs[1].status==TLEG_READY&&trip_legs[1].dist_m>0&&trip_legs[1].cost_ds>0&&trip_legs[1].pt_n>=2);
+ assert(trip_legs[2].status==TLEG_READY&&trip_legs[2].dist_m>0&&trip_legs[2].cost_ds>0&&trip_legs[2].pt_n>=2);
+ u32 leg1_cost=trip_legs[1].cost_ds,leg2_cost=trip_legs[2].cost_ds;
+ /* Off-route Leg 0 recalculation MUST preserve already-cached Legs 1 & 2! */
+ assert(route_start(trip.target[0].lat,trip.target[0].lon));
+ for(int i=0;i<10000&&route_status==R_CALC;i++)route_service_until(s_now_ms()+20u);
+ assert(route_status==R_READY);
+ trip_plan_sync();
+ assert(!trip_plan_pending()&&trip_legs[1].status==TLEG_READY&&trip_legs[2].status==TLEG_READY);
+ assert(trip_legs[1].cost_ds==leg1_cost&&trip_legs[2].cost_ds==leg2_cost);
+ /* Advancing past Stop 0 keeps Leg 2 cached with zero recomputation and compacts pool. */
+ u16 used_before=trip_future_used;
+ trip.active_idx=1;trip_plan_sync();
+ assert(trip_legs[1].status==TLEG_NONE&&trip_legs[2].status==TLEG_READY&&trip_legs[2].cost_ds==leg2_cost);
+ assert(trip_future_used1)test_real_ch_multileg(argv[1]);
+ puts("Multi-leg CH planner, partial invalidation/compaction, Option B HUD, future overlay and Z8 turn chevron passed.");
+ return 0;
+}
diff --git a/src/tools/publication.py b/src/tools/publication.py
index 1e1fda9..91a7b35 100644
--- a/src/tools/publication.py
+++ b/src/tools/publication.py
@@ -22,7 +22,8 @@
'v223-nearby-pois.gif', 'v223-secondary-manoeuvre.gif', 'v223-view-diversion.gif',
'v224-ml-eta-and-habits.gif', 'v224-ml-slowdowns.gif',
'v224-ml-parking-and-pois.gif', 'v224-ml-adaptive-hud.gif',
- 'v225-gps-panel.gif', 'v227-camera-alerts.gif')
+ 'v225-gps-panel.gif', 'v227-camera-alerts.gif',
+ 'v300-multileg-and-chevron.gif', 'v300-qr-sync-and-connect.gif')
def source_files(root, reports):
files = {}
diff --git a/src/tools/render_gallery.py b/src/tools/render_gallery.py
index f1d2d11..1080786 100644
--- a/src/tools/render_gallery.py
+++ b/src/tools/render_gallery.py
@@ -249,6 +249,34 @@
)
V227_CAMERA_ALERTS_SAMPLES = sorted({0} | {at+step for at,_ in V227_CAMERA_ALERTS_EVENTS for step in TWEEN_STEPS} | {8500})
+V300_MULTILEG_EVENTS = (
+ (1300, 'key_handle(K_ENTER);assert(screen==SCR_MAP&&hud_navigation.kind==HUD_JOURNEY);'),
+ (3100, 'freecam=1;cam_lat=5347650;cam_lon=-226400;freecam_zoom=4;freecam_course_valid=0;freecam_anim_mode=FC_ANIM_NONE;map_tilt_q8=0;render_background_dirty=1;'),
+ (5800, 'freecam=0;map_tilt_q8=256;manual_zoom=4;menu_open(P_TRIP,0,hud_now_ms());assert(sheet_page==P_TRIP&&trip.count==3);'),
+ (8900, 'manual_zoom=8;key_handle(K_MAP);assert(screen==SCR_MAP);render_background_dirty=1;'),
+)
+V300_MULTILEG_SAMPLES = sorted({0} | {at+step for at,_ in V300_MULTILEG_EVENTS for step in TWEEN_STEPS} | {10500})
+
+V300_QR_SYNC_EVENTS = (
+ (2100, 'btui.connected=1;copystr(btui.status,sizeof(btui.status),"BT CONNECTED");copystr(btui.device,sizeof(btui.device),"Pawel iPhone");menu_sync(hud_now_ms());assert(sheet_page==P_PAIR&&menu_pair_connected);'),
+ (4100, 'preview_clp3_ping(10);menu_sync(hud_now_ms());assert(sheet_page!=P_PAIR);menu_close(hud_now_ms());assert(screen==SCR_MAP);'),
+ (5300, 'preview_clp3_qr(11,\'S\',0);assert(qr_pill_active==1&&qr_pill_total>=2);'),
+ (6800, 'preview_clp3_qr(12,\'A\',1);assert(qr_pill_active==1&&qr_pill_idx==(1%qr_pill_total));'),
+ (7800, 'preview_clp3_qr(13,\'A\',2);assert(qr_pill_active==1);'),
+ (8800, 'preview_clp3_qr(14,\'D\',0);assert(qr_pill_active==2);'),
+ (10000,'qr_pill_service(hud_now_ms());assert(qr_pill_active==0);'),
+)
+V300_QR_SYNC_SAMPLES = sorted({0} | {at+step for at,_ in V300_QR_SYNC_EVENTS for step in TWEEN_STEPS} | {11000})
+
+V300_PHONE_LINK_EVENTS = (
+ (900, 'preview_clp3_trip_stop(1,0,3,7,"Shell Deansgate",5347420,-225120);assert(trip_stage.active&&trip_stage.received==1);'),
+ (1600, 'preview_clp3_trip_stop(2,1,3,7,"Manchester Piccadilly",5347740,-223090);assert(trip_stage.active&&trip_stage.received==2);'),
+ (2300, 'preview_clp3_trip_stop(3,2,3,7,"MediaCityUK",5347220,-229900);assert(!trip_stage.active&&trip.active&&trip.count==3);preview_v300_finish_trip_routes();assert(route_status==R_READY);'),
+ (4800, 'menu_open(P_TRIP,0,hud_now_ms());assert(sheet_page==P_TRIP&&trip.count==3);'),
+ (6600, 'key_handle(K_MAP);assert(screen==SCR_MAP);preview_clp3_prefs(4);'),
+)
+V300_PHONE_LINK_SAMPLES = sorted({0} | {at+step for at,_ in V300_PHONE_LINK_EVENTS for step in TWEEN_STEPS} | {8700})
+
def add(group, name, title, setup='', action='', check='', note=''):
@@ -864,6 +892,30 @@ def modern_menus():
V227_CAMERA_ALERTS_EVENTS,
V227_CAMERA_ALERTS_SAMPLES
)
+ motion(
+ 'Version 3.0',
+ 'preview-v300-multileg',
+ 'Full multi-leg future routes in lavender, Z7-Z9 on-carriageway turn chevron, Option B next-stop HUD and Next + Total journey ETAs',
+ 'preview_v300_multileg_seed();settle();',
+ V300_MULTILEG_EVENTS,
+ V300_MULTILEG_SAMPLES
+ )
+ motion(
+ 'Version 3.0',
+ 'preview-v300-qr-sync',
+ 'Built-in Connect QR staying open until Link Ping plus zero-menu floating map QR pill with BT ACK frame stepping and Synced flash',
+ 'preview_v300_qr_sync_seed();settle();',
+ V300_QR_SYNC_EVENTS,
+ V300_QR_SYNC_SAMPLES
+ )
+ motion(
+ 'Version 3.0',
+ 'preview-v300-phone-link',
+ 'Live CLP3 multi-stop trip burst with Receiving trip progress capsule, automatic multi-leg routing, Trip ETAs and car settings sync',
+ 'preview_v300_phone_link_seed();settle();',
+ V300_PHONE_LINK_EVENTS,
+ V300_PHONE_LINK_SAMPLES
+ )
add('Menu sheets','empty-receive','Empty itinerary receives phone destinations automatically','gps.lat=track_lat=5498800;gps.lon=track_lon=-160400;display_course=track_course=gps.course=210;copystr(roadctx.street,sizeof(roadctx.street),"Osborne Road");gps.mph10=0;auto_zoom_level=-1;trip.active=trip.count=0;menu_open(P_TRIP,0,hud_now_ms());')
add_stop='gps.mph10=0;auto_zoom_level=-1;key_handle(K_MENU);key_handle(K_ENTER);key_handle(K_DOWN);key_handle(K_DOWN);'
source=add_stop+'key_handle(K_ENTER);key_handle(K_DOWN);'
@@ -2075,6 +2127,193 @@ def modern_menus():
camera_last_gps_ms=gps_fix_ms;
render_background_dirty=1;
}
+static int demo_v30_n, demo_v30_region, demo_v30_head, demo_v30_course;
+static u32 demo_v30_m, demo_v30_cost;
+static s32 demo_v30_lat[ROUTE_PATH_MAX], demo_v30_lon[ROUTE_PATH_MAX];
+static u32 demo_v30_node[ROUTE_PATH_MAX], demo_v30_arc[ROUTE_PATH_MAX], demo_v30_phys[ROUTE_PATH_MAX];
+static u32 demo_v30_seg_m[ROUTE_PATH_MAX], demo_v30_seg_cost[ROUTE_PATH_MAX];
+static struct TripLeg demo_v30_legs[TRIP_MAX_TARGETS];
+static s32 demo_v30_fut_lat[TRIP_FUTURE_MAX_PTS], demo_v30_fut_lon[TRIP_FUTURE_MAX_PTS];
+static u16 demo_v30_fut_used;
+static void demo_v30_solve_manchester(void){
+ if(demo_v30_n)return;
+ gps.lat=track_lat=5348390;gps.lon=track_lon=-224460;
+ gps.fix=1;track_valid=1;display_course_valid=1;
+ gps.course=track_course=display_course=210;
+ region_resolve(gps.lat,gps.lon);
+ memzero(&trip,sizeof(trip));
+ trip.active=1;trip.paused=0;trip.count=3;trip.active_idx=0;
+ trip.target[0].lat=5347420;trip.target[0].lon=-225120;copystr(trip.target[0].name,sizeof(trip.target[0].name),"Shell Deansgate");
+ trip.target[1].lat=5347740;trip.target[1].lon=-223090;copystr(trip.target[1].name,sizeof(trip.target[1].name),"Manchester Piccadilly");
+ trip.target[2].lat=5347220;trip.target[2].lon=-229900;copystr(trip.target[2].name,sizeof(trip.target[2].name),"MediaCityUK");
+ assert(route_start(trip.target[0].lat,trip.target[0].lon));
+ u32 dl=s_now_ms()+15000u;
+ while(route_status==R_CALC&&time_before_u32(s_now_ms(),dl))route_service_until(s_now_ms()+15u);
+ assert(route_status==R_READY&&route_n>8);
+ trip_plan_reset();
+ dl=s_now_ms()+15000u;
+ while(time_before_u32(s_now_ms(),dl)&&(trip_legs[1].status!=TLEG_READY||trip_legs[2].status!=TLEG_READY)){
+ trip_plan_service_until(s_now_ms()+15u);
+ }
+ assert(trip_legs[1].status==TLEG_READY&&trip_legs[2].status==TLEG_READY);
+ int best_head=0;
+ for(int h=0;h+4=55u&&nav_man_m<=145u){best_head=h;break;}
+ }
+ if(!best_head){
+ for(int h=0;h+4=40u&&nav_man_m<=240u){best_head=h;break;}
+ }
+ }
+ demo_v30_head=best_head;
+ int nxt=best_head+1=0?c:210;
+ demo_v30_n=route_n;demo_v30_region=atlas_route_region;
+ demo_v30_m=route_result_m;demo_v30_cost=route_result_cost;
+ memcpy(demo_v30_lat,route_lat,sizeof(demo_v30_lat));
+ memcpy(demo_v30_lon,route_lon,sizeof(demo_v30_lon));
+ memcpy(demo_v30_node,route_node,sizeof(demo_v30_node));
+ memcpy(demo_v30_arc,route_seg_arc,sizeof(demo_v30_arc));
+ memcpy(demo_v30_phys,route_seg_phys,sizeof(demo_v30_phys));
+ memcpy(demo_v30_seg_m,route_seg_m,sizeof(demo_v30_seg_m));
+ memcpy(demo_v30_seg_cost,route_seg_cost,sizeof(demo_v30_seg_cost));
+ memcpy(demo_v30_legs,trip_legs,sizeof(demo_v30_legs));
+ memcpy(demo_v30_fut_lat,trip_future_lat,sizeof(demo_v30_fut_lat));
+ memcpy(demo_v30_fut_lon,trip_future_lon,sizeof(demo_v30_fut_lon));
+ demo_v30_fut_used=trip_future_used;
+}
+static void demo_v30_restore_manchester(int use_turn_head){
+ demo_v30_solve_manchester();
+ if(atlas_ready&&demo_v30_region>=0)assert(atlas_open_route(demo_v30_region));
+ atlas_active=0;atlas_future_m=atlas_future_cost=0;
+ route_n=demo_v30_n;route_head=use_turn_head?demo_v30_head:0;
+ route_result_m=demo_v30_m;route_result_cost=demo_v30_cost;
+ route_status=R_READY;
+ memcpy(route_lat,demo_v30_lat,sizeof(demo_v30_lat));
+ memcpy(route_lon,demo_v30_lon,sizeof(demo_v30_lon));
+ memcpy(route_node,demo_v30_node,sizeof(demo_v30_node));
+ memcpy(route_seg_arc,demo_v30_arc,sizeof(demo_v30_arc));
+ memcpy(route_seg_phys,demo_v30_phys,sizeof(demo_v30_phys));
+ memcpy(route_seg_m,demo_v30_seg_m,sizeof(demo_v30_seg_m));
+ memcpy(route_seg_cost,demo_v30_seg_cost,sizeof(demo_v30_seg_cost));
+ trip_plan_reset();
+ memcpy(trip_legs,demo_v30_legs,sizeof(demo_v30_legs));
+ memcpy(trip_future_lat,demo_v30_fut_lat,sizeof(demo_v30_fut_lat));
+ memcpy(trip_future_lon,demo_v30_fut_lon,sizeof(demo_v30_fut_lon));
+ trip_future_used=demo_v30_fut_used;
+ trip.active=1;trip.paused=0;trip.count=3;trip.active_idx=0;
+ trip.target[0].lat=route_target_lat=5347420;trip.target[0].lon=route_target_lon=-225120;copystr(trip.target[0].name,sizeof(trip.target[0].name),"Shell Deansgate");
+ trip.target[1].lat=5347740;trip.target[1].lon=-223090;copystr(trip.target[1].name,sizeof(trip.target[1].name),"Manchester Piccadilly");
+ trip.target[2].lat=5347220;trip.target[2].lon=-229900;copystr(trip.target[2].name,sizeof(trip.target[2].name),"MediaCityUK");
+ gps.lat=track_lat=route_lat[route_head];
+ gps.lon=track_lon=route_lon[route_head];
+ int nxt=route_head+1=0?c:210);
+ track_valid=display_course_valid=1;gps.fix=1;
+ region_resolve(gps.lat,gps.lon);
+ nav_maneuver_find();
+ render_background_dirty=1;
+}
+static void preview_v300_multileg_seed(void){
+ demo_v30_restore_manchester(1);
+ gps.mph10=260;auto_zoom_level=-1;pref.autozoom=0;manual_zoom=8;
+ roadctx.valid=1;roadctx.speed=30;roadctx.speed_flags=2;
+ copystr(roadctx.street,sizeof(roadctx.street),"Deansgate");
+ copystr(hud_last_road,sizeof(hud_last_road),"Deansgate");hud_road_live=0;
+}
+static void preview_clp3_write_and_apply(const char*packet){
+ long fd=s_open(BT_NAV_PATH,O_WRONLY_|O_CREAT_|O_TRUNC_,0666);
+ assert(fd>=0);
+ long len=(long)slen(packet);
+ assert(s_write((int)fd,packet,len)==len);
+ s_close((int)fd);
+ poll_phone_destination();
+ assert(phone_dest.valid);
+ phone_destination_apply();
+}
+static void preview_clp3_ping(int seq){
+ char pkt[128];
+ snprintf(pkt,sizeof(pkt),"VER=3\nSEQ=%d\nACTION=H\n",seq);
+ preview_clp3_write_and_apply(pkt);
+}
+static void preview_clp3_qr(int seq,char sub,u32 arg){
+ char pkt[160];
+ snprintf(pkt,sizeof(pkt),"VER=3\nSEQ=%d\nACTION=Q\nSUB=%c\nA=%u\n",seq,sub,(unsigned)arg);
+ preview_clp3_write_and_apply(pkt);
+}
+static void preview_clp3_trip_stop(int seq,int idx,int tot,int batch,const char*name,s32 lat,s32 lon){
+ char pkt[384];
+ snprintf(pkt,sizeof(pkt),"VER=3\nSEQ=%d\nACTION=T\nLAT=%d\nLON=%d\nA=%d\nB=%d\nC=%d\nNAME=%s\n",
+ seq,(int)lat,(int)lon,idx,tot,batch,name);
+ preview_clp3_write_and_apply(pkt);
+}
+static void preview_clp3_prefs(int seq){
+ u8 raw[12];
+ int old_b=pref.bright;
+ pref.bright=65;
+ clio_prefs_pack(raw);
+ pref.bright=old_b;
+ static const char hx[17]="0123456789ABCDEF";
+ char hex[25];
+ for(int i=0;i<12;i++){hex[i*2]=hx[(raw[i]>>4)&15];hex[i*2+1]=hx[raw[i]&15];}
+ hex[24]=0;
+ char pkt[160];
+ snprintf(pkt,sizeof(pkt),"VER=3\nSEQ=%d\nACTION=P\nHEX=%s\n",seq,hex);
+ preview_clp3_write_and_apply(pkt);
+}
+static void preview_v300_qr_sync_seed(void){
+ route_cancel();trip.active=0;trip.count=0;trip_plan_reset();
+ gps.lat=track_lat=5347850;gps.lon=track_lon=-224450;
+ gps.course=track_course=display_course=215;
+ track_valid=display_course_valid=1;gps.fix=1;gps.mph10=0;
+ auto_zoom_level=-1;pref.autozoom=0;manual_zoom=6;
+ region_resolve(gps.lat,gps.lon);
+ copystr(roadctx.street,sizeof(roadctx.street),"Deansgate");
+ copystr(hud_last_road,sizeof(hud_last_road),"Deansgate");
+ nfaves=3;
+ copystr(faves[0].name,sizeof(faves[0].name),"Home");faves[0].lat=5348390;faves[0].lon=-224460;
+ copystr(faves[1].name,sizeof(faves[1].name),"MediaCityUK");faves[1].lat=5347220;faves[1].lon=-229900;
+ copystr(faves[2].name,sizeof(faves[2].name),"Manchester Piccadilly");faves[2].lat=5347740;faves[2].lon=-223090;
+ /* Seed realistic journeys so qr_sync_build() produces a crisp 3+ frame CS1 bundle. */
+ mob_model_reset();
+ u32 base_ep=mob_epoch(2026,10,12,8,15,0);
+ for(int i=0;i<14;i++){
+ struct MobJourney*j=&mob.journey[i];
+ j->depart=base_ep+(u32)i*43200u;
+ j->origin=(struct MobPoint){5348390,-224460};
+ j->dest=(i&1)?(struct MobPoint){5347220,-229900}:(struct MobPoint){5347740,-223090};
+ j->distance=6800u+(u32)(i*450);
+ j->duration=920u+(u32)(i*40);
+ }
+ mob.n=14;mob.head=14;
+ nbtdev=0;btui.connected=0;btui.device[0]=0;
+ copystr(btui.status,sizeof(btui.status),"BT PAIR");
+ menu_open(P_PHONE,0,hud_now_ms());
+ menu_pair_before=0;menu_pair_waited=1;menu_pair_connected=0;menu_pair_link_seen=phone_link_seen_ms;
+ menu_push(P_PAIR,0,hud_now_ms());
+ render_background_dirty=1;
+}
+static void preview_v300_phone_link_seed(void){
+ route_cancel();trip.active=0;trip.count=0;trip_plan_reset();trip_stage_clear();
+ gps.lat=track_lat=5348390;gps.lon=track_lon=-224460;
+ gps.course=track_course=display_course=210;
+ track_valid=display_course_valid=1;gps.fix=1;gps.mph10=0;
+ auto_zoom_level=-1;pref.autozoom=0;manual_zoom=5;
+ region_resolve(gps.lat,gps.lon);
+ copystr(roadctx.street,sizeof(roadctx.street),"Northern Quarter");
+ copystr(hud_last_road,sizeof(hud_last_road),"Northern Quarter");
+ screen=SCR_MAP;
+ render_background_dirty=1;
+}
+static void preview_v300_finish_trip_routes(void){
+ demo_v30_restore_manchester(0);
+ manual_zoom=4;gps.mph10=0;
+}
static void show_camera(int kind,int avg){
camera_visible=1;camera_average=avg;camera_current.id=(u32)(900+kind*10+avg);
camera_current.kind=(u8)kind;camera_current.speed=30;camera_current.flags=2;
@@ -2124,6 +2363,7 @@ def modern_menus():
}
static void gallery_reset(int night){
hud_capture_clock=1;hud_capture_ms=s_now_ms();gallery_motion=0;diversion_preview_clear();ml_reset();
+ qr_pill_dismiss();trip_plan_reset();trip_stage_clear();phone_undo_clear();
bt_hud_link=0;bt_hud_peer[0]=0;bt_active_written=-1;coordinates_active=0;memzero(&coordinates,sizeof(coordinates));
route_cancel();fixture();restore_route();atlas_active=0;atlas_future_m=atlas_future_cost=0;
pref=(struct Prefs){50,1,0,1,0,night?THEME_NIGHT:THEME_DAY,0,1,0,0,CLIO_DAY_START,CLIO_NIGHT_START};apply_palette(night);
diff --git a/src/tools/render_previews.py b/src/tools/render_previews.py
index e52fc35..181c21c 100644
--- a/src/tools/render_previews.py
+++ b/src/tools/render_previews.py
@@ -19,7 +19,9 @@
V223_NEARBY_SAMPLES, V223_SECONDARY_MANOEUVRE_SAMPLES, V223_VIEW_DIVERSION_SAMPLES,
V224_ML_ETA_HABITS_SAMPLES, V224_ML_SLOWDOWNS_SAMPLES,
V224_ML_PARKING_POIS_SAMPLES, V224_ML_ADAPTIVE_HUD_SAMPLES,
- V225_GPS_PANEL_SAMPLES, V227_CAMERA_ALERTS_SAMPLES, ROOT, sha)
+ V225_GPS_PANEL_SAMPLES, V227_CAMERA_ALERTS_SAMPLES,
+ V300_MULTILEG_SAMPLES, V300_QR_SYNC_SAMPLES, V300_PHONE_LINK_SAMPLES,
+ ROOT, sha)
@@ -49,6 +51,8 @@ def previews():
'v224-ml-adaptive-hud.gif': timeline('day', timed_scenes('preview-v224-ml-adaptive-hud', V224_ML_ADAPTIVE_HUD_SAMPLES, 10100)),
'v225-gps-panel.gif': timeline('night', timed_scenes('preview-v225-gps-panel', V225_GPS_PANEL_SAMPLES, 8700)),
'v227-camera-alerts.gif': timeline('night', timed_scenes('preview-v227-camera-alerts', V227_CAMERA_ALERTS_SAMPLES, 8600)),
+ 'v300-multileg-and-chevron.gif': timeline('night', timed_scenes('preview-v300-multileg', V300_MULTILEG_SAMPLES, 10600)),
+ 'v300-qr-sync-and-connect.gif': timeline('night', timed_scenes('preview-v300-qr-sync', V300_QR_SYNC_SAMPLES, 11100)),
'v220-frequent-place.gif': timeline('night', timed_scenes('preview-v220-frequent-place', V220_FREQUENT_PLACE_SAMPLES, 5900)),
'v220-destination-prediction.gif': timeline('night', timed_scenes('preview-v220-destination-prediction', V220_DESTINATION_SAMPLES, 6500)),
'v220-intelligent-diversions.gif': timeline('night', timed_scenes('preview-v220-intelligent-diversions', V220_DIVERSION_SAMPLES, 6200)),
@@ -71,11 +75,7 @@ def previews():
'menus.gif': timeline('night', timed_scenes('preview-menu-tour', sorted(
{at+step for at in (0,700,1500,2300,3100,3800,4600,5400,6200,7000,7800,8600,9400) for step in TWEEN_STEPS}|{9800}), 9900)),
'bluetooth.gif': timeline('night', timed_scenes('hud-bluetooth', BLUETOOTH_SAMPLES, 4750)),
- 'phone-destination.gif': timeline('night', [
- ('empty-receive',1000),('empty-receive',500),
- *timed_scenes('phone-preview-calculating', list(PHONE_CALC_SAMPLES),1400),
- ('phone-preview-trip',2100),('phone-preview-trip',2200),
- ]),
+ 'phone-destination.gif': timeline('night', timed_scenes('preview-v300-phone-link', V300_PHONE_LINK_SAMPLES, 8800)),
'speed-warning.gif': timeline('night', timed_scenes('hud-speed-warning', SPEED_WARNING_SAMPLES, 3650)),
'map-browsing.gif': timeline('night', timed_scenes('preview-zoom-modes', ZOOM_MODE_SAMPLES, 6500)),
'roundabout-eta.gif': timeline('night', timed_scenes('preview-roundabout-eta', ROUNDABOUT_ETA_SAMPLES, 5600)),
@@ -191,16 +191,31 @@ def compose_phone(captures, output, sequence, supplied, previous):
timeline_out=[];at=0
for index,(native,ms) in enumerate(sequence):
if supplied:
- source=supplied/'ready.jpg' if at<1000 else supplied/Path(min(shots,key=lambda x:abs(x['ms']-max(0,at-1000)))['file']).name
- with Image.open(source) as image:panel=image.convert('RGB').crop((342,252,938,914)).resize((400,444),Image.Resampling.LANCZOS)
+ use_direct = any(s.get('direct_panel') for s in shots)
+ if use_direct:
+ picked = max((s for s in shots if s['ms'] <= at), key=lambda s: s['ms'], default=shots[0])
+ source = supplied / Path(picked['file']).name
+ with Image.open(source) as image:
+ panel = image.convert('RGB')
+ if panel.size != (400, 444):
+ panel = panel.resize((400, 444), Image.Resampling.LANCZOS)
+ else:
+ source=supplied/'ready.jpg' if at<1000 else supplied/Path(min(shots,key=lambda x:abs(x['ms']-max(0,at-1000)))['file']).name
+ with Image.open(source) as image:panel=image.convert('RGB').crop((342,252,938,914)).resize((400,444),Image.Resampling.LANCZOS)
else:panel=max((f for f in frames if f[0]<=at),key=lambda f:f[0])[1]
image=Image.new('RGB',(936,510),(12,18,26));draw=ImageDraw.Draw(image)
- draw.text((16,12),'ClioPlay Send',font=font,fill='white');draw.text((440,12),'ClioPlay',font=font,fill='white')
+ draw.text((16,12),'ClioPlay Link',font=font,fill='white');draw.text((440,12),'ClioPlay',font=font,fill='white')
image.paste(panel,(16,40))
with Image.open(captures/native) as head:image.paste(head.convert('RGB'),(440,110))
- caption='Send without opening a receive screen' if at<1500 else 'Calculating route' if at<2900 else 'Destination received'
+ caption=(
+ 'Send multi-stop trip without a receive screen' if at<900
+ else 'Receiving 3 stops via CLP3' if at<2300
+ else 'Trip ready · active leg + future legs' if at<4800
+ else 'Next + Total ETAs & Places sync' if at<6600
+ else 'Car settings & Driving Insights synced'
+ )
draw.text((440,402),caption,font=font,fill='white')
- draw.text((440,432),'Browser + native UI; transport simulated',font=font,fill=(151,166,185))
+ draw.text((440,432),'ClioPlay Link + native UI; transport simulated',font=font,fill=(151,166,185))
name=f'{index:03d}.png';image.save(output/name);timeline_out.append((name,ms));at+=ms
return timeline_out,provenance
@@ -345,6 +360,28 @@ def main():
'BT-CTRL-style capsule progress bar, synced red overspeed rim and red '
'map badge, clean centred red-light alert, and active average-speed '
'zone progress with twin-camera exit marker.'),
+ 'v300-multileg-and-chevron.gif': (
+ 'Real Manchester 3-stop itinerary (Northern Quarter -> Shell Deansgate -> '
+ 'Manchester Piccadilly -> MediaCityUK) calculated against the UK CPR2 '
+ 'routing graph by production route_start() and trip_plan_service_until(): '
+ 'Z8 driving approaching a real turn with perspective-scaled white '
+ 'on-carriageway turn chevron (draw_route_turn_chevron) and Option B '
+ 'next-stop HUD, Z5 overview with active Leg 0 in magenta (C_ROUTE) and '
+ 'future Legs 1-2 in lavender (C_ROUTE_FUTURE), and Menu -> Trip showing '
+ 'both Next and Total journey ETAs and per-stop arrival times.'),
+ 'v300-qr-sync-and-connect.gif': (
+ 'Real Manchester map and production qr_encode.h / qr_sync.h optical '
+ 'pipeline: Bluetooth -> Pair new phone with built-in Connect QR staying '
+ 'open upon pairing (Connected + Done button) until CLP3:H Link Ping '
+ 'auto-closes it, followed by CLP3:Q:S popping up the frosted-glass '
+ 'floating map QR pill, stepping stacked CS1 frames on CLP3:Q:A ACKs, '
+ 'flashing Synced on CLP3:Q:D, and auto-dismissing back to the map.'),
+ 'phone-destination.gif': (
+ 'Side-by-side composite pairing Retina captures of live ClioPlay Link v3.0 '
+ 'with production ClioPlay v3.0 framebuffer frames on the real Manchester '
+ 'CPR2 graph: 3-stop CLP3:T burst (Receiving trip capsule progress -> '
+ 'atomic multi-leg magenta+lavender route), Trip sheet with Next + Total '
+ 'ETAs, Places sync, Driving Insights, and live CLP3:P car settings update.'),
}
for name, note in provenance.items():
if name in reports:
diff --git a/src/tools/verify_ci.py b/src/tools/verify_ci.py
index 9f922fd..33e851d 100644
--- a/src/tools/verify_ci.py
+++ b/src/tools/verify_ci.py
@@ -38,7 +38,7 @@ def main():
run(sys.executable, '-m', 'unittest', 'discover', '-s', ROOT/'tests', '-p', name)
with tempfile.TemporaryDirectory(prefix='clioplay-ci-') as temp:
(Path(temp)/'clio843').mkdir()
- for name in ('mobility', 'current-formats', 'map-antialias', 'map-areas', 'map-layers', 'map-pois', 'map-car-snap', 'vehicle-marker', 'vehicle-input', 'roundabout', 'ui-labels-alerts', 'glass-outline', 'hud-status', 'hud-customization', 'hud-metadata', 'bluetooth-sources', 'coordinates', 'menu-sheet', 'hud-playback', 'hud-pages', 'hud-zoom', 'popups', 'frame-renderer', 'render-fast-paths', 'audio-chime', 'audio-decoder', 'audio-runtime', 'auto-theme', 'splash', 'boot-transition'):
+ for name in ('mobility', 'current-formats', 'map-antialias', 'map-areas', 'map-layers', 'map-pois', 'map-car-snap', 'vehicle-marker', 'vehicle-input', 'roundabout', 'ui-labels-alerts', 'glass-outline', 'hud-status', 'hud-customization', 'hud-metadata', 'bluetooth-sources', 'coordinates', 'menu-sheet', 'hud-playback', 'hud-pages', 'hud-zoom', 'popups', 'frame-renderer', 'render-fast-paths', 'audio-chime', 'audio-decoder', 'audio-runtime', 'auto-theme', 'splash', 'boot-transition', 'clp3-link', 'trip-multileg', 'qr-sync'):
exe = Path(temp)/name
run('cc', '-O1', '-g', '-fsanitize=undefined',
'-fno-sanitize-recover=all', '-DCLIO_HOST_ROOT="'+temp+'/"', ROOT/'tests'/f'{name}.c', '-lm', '-o', exe)
@@ -47,6 +47,8 @@ def main():
args.append(Path(temp)/'cue.pcm')
if name == 'splash':
args.append(temp)
+ if name == 'trip-multileg' and (ROOT/'build/atlas-chain/reference.cpr').is_file():
+ args.append(ROOT/'build/atlas-chain/reference.cpr')
run(*args)
# Repeat complete workflows using physical records rather than key injection.
for name in ('coordinates', 'menu-sheet', 'hud-zoom', 'bluetooth-sources', 'auto-theme'):