The contact address in the privacy policy and store listing is
erwin@fiten.eu. Data safety declares raw received packets under
'Other in-app messages': they can carry other people's mesh messages,
private ones encrypted and not decrypted by the app.
Material for the Google Play listing, under docs/play/:
- privacy-policy.md: what the app sends to the chosen deployment
(src/publisher.js payloads, account login), what stays on the phone,
the third parties it contacts (OpenStreetMap tiles, unpkg, Play services
for QR scanning) and how to get data deleted.
- data-safety.md: draft answers for the Data safety form, with one open
question (whether raw mesh packets count as messages).
- permissions-declaration.md: the permissions in the merged release
manifest and the foreground service (location) declaration text. The app
does not request ACCESS_BACKGROUND_LOCATION.
- store-listing.md: name, descriptions, graphics list.
- feature-graphic.png, drawn by scripts/play-graphics.ps1.
The contact email is a placeholder (CONTACT_EMAIL).
versionName now comes from package.json and versionCode is
major*10000 + minor*100 + patch, so the APK and the web app carry one
version (1.23.0 -> 12300). A release build is signed when the gitignored
android/keystore.properties names a keystore; without it the release APK
stays unsigned. The keystore itself lives outside the repository.
assembleRelease checked with apksigner (CN=CoreDrive RX) and aapt2.
A phone with both showed two identical "CoreDrive RX" icons. The web app
manifest now names it "CoreDrive RX Web"; the Android app keeps
"CoreDrive RX". The user guide gains an Android app section: how it finds
its deployment (URL or the QR code on the CoreScope Coverage page), why to
use one of the two (one Bluetooth link to the companion, separate queues),
and to remove the web app icon after installing the Android app. Existing
web app installs pick up the new name only once Chrome refreshes the
manifest; when that happens was not checked.
The APK carried Capacitor's default icon and splash. scripts/android-icons.ps1
draws them from public/icon-512.png: the adaptive icon foreground (source at
86% of the 108 dp canvas, so the ring stays inside the 66 dp safe zone) on
the icon's own background #0F1115, the legacy square and round icons, and
the splash images with the icon centred. The Android 12+ splash background
uses the same colour. Installed on a OnePlus 15; how each launcher masks
the icon was not checked beyond that phone.
Field log 2026-11-10: with the screen off the Android WebView stopped
running JavaScript timers while Bluetooth frames and GPS fixes kept
arriving. For eleven minutes receptions were queued but nothing was
published, no RF sample was taken, no discover, region ask or uplink ping
went out, and the broker dropped the link for want of a keepalive. The
116-record backlog went out when the screen came back on; positions and
rx_at in client_rx_observations were correct.
Every frame and GPS fix now calls catchUp, which runs the jobs whose timer
is overdue: the monitor tick, the drain, the pending RF sample and, when
the drain is late and the broker link is down, one reconnect per 15 s.
src/catchup.js holds the decision (test/catchup.test.mjs). The debug log
now records when the app is hidden and visible again. Not yet tested on
the phone.
The Android app draws edge to edge, so the header sat under the status bar
and the Home/Map/Settings bar under the navigation buttons. index.html now
pads the body and the bottom bar by the system bar insets: Capacitor's
--safe-area-inset-* variables, env(safe-area-inset-*) as fallback, 0 in a
desktop browser. Checked headless at phone width in a browser; not yet on
the phone.
In the Android app the Share button did nothing: the WebView has no
navigator.share, and the download-link fallback is ignored there. The
native app now writes the log to its cache (@capacitor/filesystem 8.1.5)
and opens the share sheet with it as a .txt attachment (@capacitor/share
8.0.3). The web paths are unchanged. pickShareMethod picks 'native' first;
test/sharelog.test.mjs covers it.
The Deployment card in Settings gets a "Scan QR code" button. It uses
BarcodeScanner.scan() of @capacitor-mlkit/barcode-scanning 8.2.1 (exact; 8.2.2
was 10 days old), which runs the Google code scanner in Play services: its own
camera screen, no camera permission, the module downloaded once on first use
with progress shown in the card. A scanned code must spell out https:// itself
and then goes through the same config.json check as a typed URL. A cancelled
scan is silent; a QR code that is not a deployment URL says so.
The QR code itself comes from CoreScope's Coverage page (clientRxCoverage.appUrl),
which is a separate change in the CoreScope repository.
android/app/build.gradle leaves libbarhopper_v3.so out of the APK: that is the
bundled ML Kit detector used only by startScan and readBarcodesFromImage, which
the app never calls. Debug APK 29.5 MB with it, 9.2 MB without (4.9 MB before
the plugin).
- src/qrscan.js + test/qrscan.test.mjs: 8 tests (468 total pass)
- web build checked headless: appver filled, Deployment card hidden
Not tested on a device: the scan, the module download and the size cut are
unverified on hardware.
The APK carried the config.json that happened to be in public/ at build time, so
every APK belonged to one deployment, and a real one would have put the broker
login inside the file.
The native app now asks for the URL of a CoreDrive RX web deployment under
Settings and reads that deployment's config.json through CapacitorHttp, outside
the WebView, so the deployment needs no CORS header for it. A new URL is checked
before it replaces the old one. The last good config of the same deployment is
kept in localStorage and used when a start has no network; a different
deployment drops it. android:sync removes config.json from the APK assets.
- src/deployment.js: URL normalization (https only), fetch + validate + cache
- src/config.js: setConfigSource and parseConfigText, fetch path unchanged
- test/deployment.test.mjs: 11 tests (460 total pass)
- web build checked headless: appver filled, Deployment card hidden
Not tested on a device yet.
npx cap add android with appId eu.on8ar.coredriverx and
android.useLegacyBridge (the background-geolocation README: without it
updates stop after 5 minutes in the background). Manifest adds location,
POST_NOTIFICATIONS and Bluetooth permissions, BLUETOOTH_SCAN declared
neverForLocation. Copied web assets (including config.json) stay out of
git via the generated android/.gitignore. `npm run android:sync` builds
and copies dist/ into the project; README has the steps.
Not built: this machine has JDK 8 and no Android SDK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Step 1 of a native Android app (issue #13). The Android WebView has no Web
Bluetooth, so CapacitorBleTransport (src/transport-native.js) implements
the WebBluetoothTransport API on @capacitor-community/bluetooth-le: NUS
service, notify to every onFrame listener, serialised writes, reconnect
with backoff. The plugin requests a 512-byte MTU on connect (Device.kt).
NativeGps (src/gps-native.js) uses @capacitor-community/background-
geolocation with a backgroundMessage, which runs a foreground service, so
fixes should keep coming with the screen off. That is the point of the
native app; it is not verified on a device yet.
src/platform.js picks one or the other via Capacitor.isNativePlatform().
In the browser nothing changes in behaviour; the web bundle grows by
about 21 kB (512 kB, was 490 kB) because the plugin JS is now imported.
The service worker is not registered in the native app, and the Web
Bluetooth notice is not shown there.
Tests: 9 new in test/native.test.mjs with injected plugin fakes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub's security policy page was empty. Private vulnerability reporting
was already enabled on the repo, so the policy points there instead of an
email address. It states that only the latest release is patched and that
the MQTT credentials in config.json are public by design (publish-only,
ACL-bound), with deployment, CoreScope and firmware issues routed to their
own owners.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A user reports CoreDrive RX over Bluetooth, Kiekr over Wi-Fi and on-device chat running together on a LilyGo T-Deck with Wadamesh. Still marked as reported, not tested here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A user reported mapping with CoreDrive RX while chatting on a Wadamesh device. wadamesh.com describes it as MeshCore firmware with on-device chat that is also a companion radio for the MeshCore app over Bluetooth. Marked as reported, not tested here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A user pointed out that a T-Deck can still be used for messages. Stock
companion firmware shows an incoming direct message on its display while
an app is connected (companion_radio/MyMesh.cpp:466-474), but only plays
the notification when none is (:471). It has no on-device compose UI, so
replying needs the MeshCore app or a separate standalone firmware, which
was not tested with CoreDrive RX.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first version filtered only #coredrive. Reading every channel slot of
the companion (CMD_GET_CHANNEL, once per connection, only with the notice
on) lets the app recognise any channel message the way the firmware does:
channel hash, then MAC (Mesh.cpp:225-236), for GRP_TXT and GRP_DATA. What
still triggers a count is a direct message or a room-server post.
The slots cannot change during the connection: the MeshCore app cannot
reach the companion while CoreDrive RX holds the BLE link. A slot the
uplink ping writes is added to the list as well.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
While CoreDrive RX holds the BLE link the MeshCore app cannot, so a user
asked whether they would miss messages. The companion already pushes a
one-byte PUSH_CODE_MSG_WAITING (0x83) per queued message; the app now
counts those on Home, behind a Settings toggle that is off by default,
with an optional two-tone sound. Nothing is fetched: CMD_SYNC_NEXT_MESSAGE
would remove the message from the companion's queue.
The push carries no type, so #coredrive traffic of other clients would be
counted too. src/msgwait.js matches each push against the 0x88 that came
just before it (logged before processing, Dispatcher.cpp:199): the first
copy of another client's ping-channel GRP_TXT expects one push, which is
swallowed; re-broadcasts expect none (wasSeen, Mesh.cpp:233); echoes of
our own ping expect none (markSeen on send, Mesh.cpp:651). A promise
chain keeps the async decrypt of the 0x88 ahead of the 0x83.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CoreScope account: login, device token, linking by signature, held
queue for unlinked companions, with a demo screenshot
- Seeing your results: Nodes > Reach > coverage in CoreScope
- Firmware table: FIRMWARE_VER_CODE gates in src/ mapped to the first
companion release tag that carries them (meshcore-firmware git history)
- Keep the app in front: a backgrounded page stalls GPS and receptions get
the last reported position (currentFix has no age check)
- The 2-byte path-hash switch on connect, which changes a radio setting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Made from the local dev server with demo data injected into the DOM and a
demo route drawn through src/localmap.js; no real drive, node or companion.
Also documents the RF log counter, the declared-scopes card and the map
colours, which the screenshots show and the text did not mention.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README is written for sysops hosting the app. Users asked whether it is a
mapper, whether they can still chat, and whether there is a wiki. The guide
answers those: what is recorded, what the app transmits (discover, region
asks, uplink ping), the one-BLE-connection limit, the screens, the
stationary pause, and a short troubleshooting table. README links to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README listed /packets, /rf and /regions only. The app also
publishes /names (nodeNames) and /uplink (uplinkPing). The section now
recommends the /# rule and lists all five subtopics.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NEgJ9U9V5WmHyRjL96MaDz
drainOnce published a row stamped with an earlier companion under that
companion's pubkey while the MQTT clientId was the companion connected
now. The documented ACL binds the topic to ${clientid}, so the broker
denies that publish, and with EMQX's default deny_action=ignore it still
sends a PUBACK. The row was removed from the queue and never stored.
Such rows now stay in the queue (counted as `waiting`) and go out once
their own companion is connected. The hold is asked for the connected
companion only. The debug log says once how many rows are waiting.
Tests: 430 pass (sandboxed run of the full suite). Not tested against a
live broker.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NEgJ9U9V5WmHyRjL96MaDz
normalizeConfig (src/config.js) copied every feature flag except
verifyAdverts. processFrame reads the flag from the normalized config
(src/app.js:1333), so verifyAdverts:true in config.json never reached
heardKeyAfterVerify and 0-hop adverts with an invalid signature were
still accepted under their claimed pubkey.
The existing test only called featureEnabled on hand-built objects.
The new test goes through normalizeConfig: true when set, false when
absent or false.
Tests: node --test, 429/429 pass (run in the WSL sandbox with the
installed node_modules of 4a91f20; the worktree has no node_modules).
Not done: version bump and docs/releases entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NEgJ9U9V5WmHyRjL96MaDz
A fixed uplinkScope ("be") reaches almost nobody just over the border: of
the Limburg border repeaters in CoreScope's node_declared_regions, many in NL
declare only *, nl or nl-li. uplinkScope is now a preference list
("de,nl,be"). Per ping, src/autoscope.js counts how many of the repeaters
heard directly in the last 5 minutes forward each candidate (the companion's
default scope first, then the list) and takes the most forwarded. With none
forwarded but *, the ping goes out un-scoped (fw v12+); with nothing known,
in the companion's default scope (CMD_GET_DEFAULT_FLOOD_SCOPE, fw v10+).
Declared regions come from CoreScope GET /api/nodes/declared-regions
(uplinkRegionsUrl, default corescopeUrl + that path, every 30 min) merged
with this session's own region answers. The MQTT payload is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sends one uplink ping immediately from Settings → Diagnostics, shown once
the ping channel is set up. It skips the interval, distance, parked and
skip-cell rules (the skip cells live on the phone, so a spot already
pinged could not be retested for 7 days); the hourly cap and a GPS fix are
still required.
Field test on rx.on8ar.eu/beta, 2026-10-16: ping cdrx 78277c0e was echoed by
1403 and c0cd directly and via 1403→e470 and 1403→…→0606. The echo hash
b76c6a2777f9b0e9 matches the transmission CoreScope received from 15
observers (TRANSPORT_FLOOD, scope be, first hop 1403). Release notes updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>