RAK13800 Ethernet: CLI over WebSocket and firmware updates over Ethernet?
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- c
- Bereich
- cli, embedded-iot, networking
Rechercherichtung
The issue describes two proposed changes but does not name source files or tests. Read the linked implementation guide, binaries, and test results first, then review the project's Ethernet CLI and OTA entry points. Done means deciding whether to accept the WebSocket CLI with its stated defaults and whether to wait for the Ethernet-capable OTAFIX bootloader before accepting eth.ota.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hey all! I've got a RAK4631 with a RAK13800 Ethernet and a RAK19018 PoE module sitting up on a pole. It used to run Meshtastic and I moved it over to MeshCore. Telnet over Ethernet works great, but two things still had me climbing up there (or standing under it with a phone):
- the web config tool can't talk to it, because browsers can't open a raw TCP connection to the telnet port;
- updating the firmware needs USB, or Bluetooth from close by.
So I spent the last few days getting both working on my node, and I'd like to send them as two PRs against dev if you're interested:
- WebSocket CLI. Same CLI as telnet, on port 8023, Ethernet builds only (
-D ETHERNET_WS_PORT=0turns it off). By default it only accepts browsers on localhost, so the hosted config site can't use it; you run the config tool locally. It costs about 4.9 KB flash and 2.3 KB RAM onRAK_4631_repeater_ethernet, and nothing on the other builds. eth.ota. A small Ethernet-only command next toeth.statusthat reboots the node into the bootloader's Ethernet update mode, so you can push a new firmware over the network. That part needs an Ethernet-capable OTAFIX bootloader, which I'm sending to OTAFIX separately and isn't released yet, so this one would wait for it. About 1.3 KB flash, and it doesn't touch the shared CLI code.
Along the way I hit a bug with long lines in the Ethernet CLI and already sent the fix, in two small parts: #3980 and #3981.
Related: #1161 (an older WebSocket request, closed as stale), #3827 (PoE on the same hardware), #2260.
Two questions for you:
- Would you take the WebSocket CLI like that, on by default in Ethernet builds?
- Should I hold the
eth.otaPR until the bootloader is out, or is it fine to open it after the WebSocket one?
If you want to try it or see how I tested it, the guide, binaries and test results are here: https://github.com/jpdborgna/ham/tree/main/meshcore/rak
I put this together with some help from Claude Code; I read every line and it's running on the node above.
- Vorherrschende Sprache
- C
- Sterne
- 3.9k
- Forks
- 1.5k
- Ø Merge
- 2 T. 19 Std.
- Gemergte PRs (30 T.)
- 61
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus meshcore-dev/MeshCore
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
meshcore-dev/MeshCore#4015 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new nameEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
meshcore-dev/MeshCore#3891 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
meshcore-dev/MeshCore#3826 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
App Preset Australia: NTOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
meshcore-dev/MeshCore#3825 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
meshcore-dev/MeshCore#3781 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in meshcore-dev/MeshCore
Ähnliche Issues
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
needs triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
389ds/389-ds-base#8251 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug data-types
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
ROCm/hrx-system#3628 ·
Maintainer antworten meist innerhalb von 1 Tag