Commit graph

158 commits

Author SHA1 Message Date
Kayos
f47cc15ab7 docs: archive research and recon notes from workspace memory 2026-04-05 13:01:37 -07:00
a8289028a9 Add comprehensive device audit report (2026-03-29) 2026-03-29 18:05:21 -07:00
91d26e436e docs: add RECON.md — schema, architecture, diagnostic findings 2026-03-29 17:06:49 -07:00
76b177a8e0 fix: disable camera bridge / preview code to free port 9001 for datalogger 2026-03-26 14:12:54 -07:00
bd0c4cff00 fix: change camera bridge port 9001→9002 (datalogger GPS needs 9001) 2026-03-26 13:36:06 -07:00
4d7154fec4 status report 2026-03-26: map-ai source archived, detection pipeline debug status 2026-03-26 12:18:40 -07:00
7b7bb344dd research: add map-ai.py extracted from adacam device 2026-03-26 2026-03-26 12:08:13 -07:00
03e02eb361 research: add map-ai.sh extracted from adacam device 2026-03-26 2026-03-26 12:08:11 -07:00
1f1694f01c fix: USB tether monitor — handle dynamic interface creation
usb2 only exists when phone is physically plugged in.
Monitor now:
1. Waits for interface to appear
2. Brings it admin-up on appearance
3. Watches for carrier (operstate=up) = tethering enabled
4. Cleans up when interface disappears or carrier drops
2026-03-25 15:26:22 -07:00
d09f2d4b35 fix: USB tether monitor — bring interface admin-up on thread start
operstate can't report carrier while interface is admin-down.
Now sets 'ip link set usb2 up' at monitor startup so carrier
changes are visible immediately when phone tethering is toggled.
2026-03-25 15:19:46 -07:00
3945f24f46 fix: USB tether monitor — also trigger on operstate 'unknown'
Android USB tethering (NCM/RNDIS) reports operstate='unknown' not 'up'.
Now triggers connect on 'up' OR 'unknown', disconnects only on 'down'/'missing'.
2026-03-25 14:21:22 -07:00
27c83a21a1 feat: USB tether driver safety check before auto-connect
Check /sys/class/net/usb2/device/uevent DRIVER= before running udhcpc.
Only proceeds for known tether drivers: rndis_host, cdc_ether, cdc_ncm, cdc_mbim.
USB storage and other devices are ignored safely.
2026-03-25 11:28:43 -07:00
feda2ca161 feat: USB tethering auto-connect monitor thread
Watches /sys/class/net/usb2/operstate every 3s:
- Carrier up: ip link set usb2 up + udhcpc (auto-connect)
- Carrier lost: flush routes + ip link down (cleanup)

Interface configurable via USB_TETHER_IFACE env var.
No SSH needed — plug phone in + enable USB tethering = internet.
2026-03-25 11:27:55 -07:00
d1f7b47b5b fix: correct GNSS/sensors DB paths — use glob for versioned filenames
Actual paths on adacam:
- /data/recording/redis_handler/fusion-v3-0-0.db (was: /data/recording/fusion.db)
- /data/recording/redis_handler/sensors-v3-0-0.db

Use glob pattern to handle future firmware version changes.
2026-03-25 09:28:55 -07:00
bb26e3bdf2 fix: deploy.sh syntax errors — grep quote + sqlite semicolon
- Line 136: 'enabled_' → 'enabled'
- Line 141: landmarks: → landmarks;
2026-03-24 16:30:27 -07:00
45e491ce94 adacam-odc: purge uploaded images after 7 days (purge_uploaded_images) 2026-03-24 13:34:11 -07:00
4949d793b5 adacam-odc: fix purge table name (landmarks not detections) 2026-03-24 13:24:00 -07:00
78204aa734 wheels: charset_normalizer aarch64 cp38 proper wheel 2026-03-24 13:23:33 -07:00
bd3837d69d wheels: replace charset_normalizer tar.gz with aarch64 cp38 wheel 2026-03-24 13:23:32 -07:00
56a91b7459 adacam-odc: purge forwarded detections from SQLite after 7 days (DETECTION_KEEP_DAYS) 2026-03-24 13:02:54 -07:00
9903667c71 adacam-odc: internet check before forwarder cycle (DNS probe, exponential backoff when offline) 2026-03-24 11:06:43 -07:00
4ca2a8f14d deploy.sh: fix syntax error in verify section + blinker version note 2026-03-24 10:46:16 -07:00
56c62684da wheels: blinker 1.7.0 (Python 3.8 compat) 2026-03-24 10:46:15 -07:00
52fc601730 wheels: replace blinker 1.9 with 1.7 (Python 3.8 compat) 2026-03-24 10:46:14 -07:00
de76bb421d wheels: add werkzeug-3.1.7-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:42:04 -07:00
6446c0ca21 wheels: add urllib3-2.6.3-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:42:03 -07:00
8579be4f44 wheels: add requests-2.32.5-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:42:02 -07:00
3815939697 wheels: add redis-7.4.0-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:42:01 -07:00
50100a739f wheels: add pillow-10.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (aarch64/cp38) 2026-03-24 10:41:59 -07:00
08b893c7cd wheels: add jinja2-3.1.6-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:58 -07:00
93eb441f63 wheels: add itsdangerous-2.2.0-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:57 -07:00
3694a5e341 wheels: add idna-3.11-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:55 -07:00
4aeffef058 wheels: add flask-3.1.3-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:54 -07:00
8af7e11e18 wheels: add click-8.3.1-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:53 -07:00
2bdb3f85c7 wheels: add charset_normalizer-3.4.6.tar.gz (aarch64/cp38) 2026-03-24 10:41:52 -07:00
75e1f7e9ae wheels: add certifi-2026.2.25-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:51 -07:00
0264768983 wheels: add blinker-1.9.0-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:50 -07:00
d92c499c69 wheels: add async_timeout-5.0.1-py3-none-any.whl (aarch64/cp38) 2026-03-24 10:41:48 -07:00
2f22e84491 wheels: add MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (aarch64/cp38) 2026-03-24 10:41:47 -07:00
0140ce1e98 wheels: remove old x86 wheel werkzeug-3.1.7-py3-none-any.whl 2026-03-24 10:41:46 -07:00
a615a1ec76 wheels: remove old x86 wheel urllib3-2.6.3-py3-none-any.whl 2026-03-24 10:41:45 -07:00
3769b50495 wheels: remove old x86 wheel requests-2.32.5-py3-none-any.whl 2026-03-24 10:41:44 -07:00
39d5d55fb7 wheels: remove old x86 wheel redis-7.4.0-py3-none-any.whl 2026-03-24 10:41:43 -07:00
52b0273864 wheels: remove old x86 wheel markupsafe-3.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl 2026-03-24 10:41:42 -07:00
73b4c61f14 wheels: remove old x86 wheel jinja2-3.1.6-py3-none-any.whl 2026-03-24 10:41:41 -07:00
f7265b244d wheels: remove old x86 wheel itsdangerous-2.2.0-py3-none-any.whl 2026-03-24 10:41:40 -07:00
e61dc9c04c wheels: remove old x86 wheel idna-3.11-py3-none-any.whl 2026-03-24 10:41:39 -07:00
86147efc7f wheels: remove old x86 wheel flask-3.1.3-py3-none-any.whl 2026-03-24 10:41:38 -07:00
04b17309ef wheels: remove old x86 wheel click-8.3.1-py3-none-any.whl 2026-03-24 10:41:37 -07:00
397704a945 wheels: remove old x86 wheel charset_normalizer-3.4.6.tar.gz 2026-03-24 10:41:36 -07:00