mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 12:24:42 +01:00
docs/BLE_FEASIBILITY.md stage 2 step 6 (section 9 added: as built).
- The RSSI word of every good packet on the link (ble_hw_wl82.c hw_rx_service:
one hook, BLE_HW_RX_RSSI) into a 16-word ring in the segment (bt_seg_rssi).
- bt.c bt_prox_step (main loop, in the segment): level = (w & 63) + (w >> 8 &
63), median of five, one pole (~50-70 ms); held without packets; eased to 0
(~0.3 s) without a central or with BLUETOOTH OFF. FAR / NEAR in
favorites.factory[6][22..23] (always 0 before: not calibrated, PROX 0), mapped
to 0..1, clamped, either direction.
- mod.c MS_PROX ("PROX" after NOISE, unipolar): every SRC list, the web editor.
- MENU > SYSTEM > BLUETOOTH ON (radio running): OCT+ opens PROX's page (a meter,
%, the level and the raw word, FAR / NEAR); OCT- stores FAR, OCT+ NEAR; SELECT
back. The lens keeps the menu's tabs and cards for it (ui.c lz_on / lz_fam).
- ABOUT's AUDIO LOAD block in the segment too (about_load).
- tools/build.py: FELUCCA_REPIN=keep (the order recorded before, addresses anew:
the sound stays within ~0.7 KB of V10.12's instead of the compiler's new order
moving the engines up to 37 KB); a REPIN records the sound's tables after the
UI's left .rodata. tools/audio_layout.txt so repinned.
- Tests: ui_test (PROX's level, page, calibration, map, outlier, gap,
disconnect), mod_test (PROX on CUT), ui_render (menu_prox, menu_prox_off).
App 581,616 B of 584,336 (2,720 B free); RAM .data+.bss 95,564 B; pool spare
9,536 B; segment 33,260 B (9 sectors).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh