mirror of
https://github.com/efiten/coredrive-rx.git
synced 2026-11-27 14:58:03 +00:00
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>
30 lines
777 B
JSON
30 lines
777 B
JSON
{
|
|
"name": "coredrive-rx",
|
|
"version": "1.22.0",
|
|
"private": false,
|
|
"license": "GPL-3.0-or-later",
|
|
"type": "module",
|
|
"description": "Mobile RX coverage capture for CoreScope: BLE companion → MQTT (GPS + SNR/RSSI + multibyte)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/efiten/coredrive-rx.git"
|
|
},
|
|
"homepage": "https://github.com/efiten/coredrive-rx#readme",
|
|
"bugs": "https://github.com/efiten/coredrive-rx/issues",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "node --test",
|
|
"deploy": "bash deploy.sh"
|
|
},
|
|
"dependencies": {
|
|
"@noble/ciphers": "2.0.1",
|
|
"@noble/ed25519": "^3.2.0",
|
|
"mqtt": "^5.10.1"
|
|
},
|
|
"devDependencies": {
|
|
"vite": "^5.4.0"
|
|
}
|
|
}
|