Commit Graph
2509 Commits
Author SHA1 Message Date
Ryan Gregg 0ffe1c2cb9 bug fix: ethernet cli dropping connection after each command 2026-03-21 19:28:44 -07:00
Ryan Gregg 3c1a0941aa Fix POE boot failure on RAK4631 Ethernet builds
Drive WB_IO2 (slot power switch) HIGH via early constructor before the
Arduino framework initializes. Without this, the board brownouts on
POE-only power because the slot MOSFET isn't enabled early enough for
the RAK13800 POE module to deliver power to the baseboard.

Also remove the W5100S hardware reset pulse from Ethernet init — the
chip comes out of power-on reset cleanly, and toggling reset kills
the PHY link which breaks POE power delivery.
2026-03-20 17:56:04 -07:00
Ryan GreggandClaude Opus 4.6 eba2446747 Merge upstream/dev into rak-ethernet
Resolve conflicts: keep both Ethernet CLI and SenseCAP power-off
button code in repeater, keep both Ethernet docs and power management
CLI docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:07:09 -07:00
Ryan GreggandClaude Opus 4.6 88892de864 Fix Ethernet init checking hardwareStatus before begin() and deduplicate CLI code
The Ethernet retry loop in repeater and room server checked
hardwareStatus() and linkStatus() before calling Ethernet.begin(),
which always returned EthernetNoHardware since hardware detection
only happens during begin(). Extract shared Ethernet CLI code into
EthernetCLI.h to prevent future divergence. Also fix time_t type
mismatch in companion radio Ethernet init.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 10:48:42 -07:00
Liam CottleandGitHub aedc00e16a Merge pull request #1999 from weebl2000/also-sanity-build-main-dev
Have the github workflow sanity check also run against main and dev
2026-03-13 19:27:46 +13:00
Scott Powell bb8dc5b55b Merge branch 'main' into dev 2026-03-12 18:14:56 +11:00
ripplebizandGitHub 792f299986 Merge pull request #1873 from Specter242/codex/sensecap-solar-led-poweroff-parity
sensecap solar: add poweroff/shutdown support and nrf52 PM parity
2026-03-12 18:13:14 +11:00
Ryan GreggandClaude Sonnet 4.6 61ba79966b Address PR review feedback from liamcottle (second round)
- Rename eth command to eth.status for consistency with other commands
- Rename generateDeviceMac to generateEthernetMac for clarity
- Refactor ethernet_handle_command to return false by default
- Allow new TCP clients to replace existing connections (repeater, room server, SerialEthernetInterface)
- Boot companion radio without Ethernet on init failure (LoRa-only recovery mode)
- Remove > prompt from ethernet CLI for consistency with serial interface
- Fix variable redeclaration compile error in SerialEthernetInterface when ETHERNET_STATIC_IP is defined
- Fix TCP socket leak when duplicate client detection fires
- Remove dead recv_queue and adv_restart_time members from SerialEthernetInterface
- Fix port numbers in docs (port 23 for repeater/room server CLI, port 5000 for companion radio)
- Clarify eth.status command is only available in repeater and room server firmware

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-11 12:43:08 -07:00
Wessel Nieboer bcfe001370 Have our github PR sanity check also run against main and dev for every merge
This will pick up any easy to spot build failures on dev/main
2026-03-11 16:51:09 +01:00
Liam CottleandGitHub 8ac8c4d59d Merge pull request #1991 from weebl2000/prevent-auto-restart-ble-nrf52
Prevent auto-restarting BLE when disabling it on nRF52
2026-03-11 22:05:25 +13:00
Liam CottleandGitHub 8a3262cd70 Merge pull request #1483 from ssp97/dev
fix: avoid redundant redefinition of SX126X_DIO3_TCXO_VOLTAGE
2026-03-11 21:49:31 +13:00
Ryan Gregg 3e9ceba24a Updates based on PR review feedback from liamcottle 2026-03-10 22:35:31 -07:00
Liam CottleandGitHub 82d1a3daca Merge pull request #1977 from robekl/docs/implementation-sync-release
Update docs to align with implementation
2026-03-11 18:09:16 +13:00
Ryan GreggandClaude Opus 4.6 ffe0853d7f Add Ethernet documentation for RAK4631 ETH support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:58:34 -07:00
Ryan GreggandClaude Opus 4.6 aea64e1f19 Address PR review feedback for Ethernet support
- Add #pragma once to SerialEthernetInterface.h
- Rename TCP_PORT to ETH_TCP_PORT with #ifndef guard
- Fix typos: "initalizing" → "initializing"
- Fix #elif without condition → #else for STM32 block
- Replace infinite loop on ETH init failure with halt()
- Remove heartbeat Serial.print(".") output
- Remove dead beginETH() call (ETH_ENABLED, not RAK_ETH_ENABLE)
- Comment out MESH_DEBUG and ETH_DEBUG_LOGGING build flags

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:43:59 -07:00
Ryan GreggandClaude Opus 4.6 70b51bd096 Add native Ethernet support for RAK4631 repeater, room server, and companion
Add W5100S Ethernet adapter support for RAK4631-based firmware, enabling
TCP CLI access on port 23 as an alternative to BLE/Serial connections.

- New SerialEthernetInterface for nRF52 with DHCP, reconnection handling,
  and shared WB_IO2 power pin management with GPS module
- Ethernet build targets for repeater, room server, and companion firmware
- Prevent GPS from toggling WB_IO2 when Ethernet module is active
- CI build check for all three ETH firmware targets

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:43:59 -07:00
Robert Ekl 095f97b355 set prv.key doc update 2026-03-10 22:12:55 -05:00
Liam CottleandGitHub a10476efd7 Merge pull request #1845 from lincomatic/repeaterbaud
don't limit bridge_baud to 115200
2026-03-11 11:51:00 +13:00
Wessel Nieboer e3afbf975e Prevent auto-restarting BLE when disabling it on nRF52
If client is still connected, client would automatically reconnect
immediately thus keeping BLE on

fixes #1933
2026-03-10 14:31:58 +01:00
ripplebizandGitHub c80bd9cc95 Merge pull request #1952 from AI7NC/patch-1
Update cli_commands.md to include path.hash.mode and loop.detect
2026-03-10 13:19:39 +11:00
Liam CottleandGitHub b47b85773d Merge pull request #1980 from MGJ520/dev
Add support for the GAT562 Mesh Tracker Pro device
2026-03-09 19:40:29 +13:00
MGJ 011c5ba102 Add support for the GAT562 Mesh Tracker Pro device 2026-03-09 14:25:24 +08:00
MGJ dc48126baf Add support for the GAT562 Mesh Tracker Pro device 2026-03-09 13:13:41 +08:00
Robert Ekl 6677b40954 docs: sync companion and kiss protocol docs 2026-03-08 21:31:08 -06:00
Robert Ekl 0d0b31eb52 docs: sync CLI and payload docs with implementation 2026-03-08 21:31:08 -06:00
Scott Powell 2715d3a113 * Dispatcher::next_tx_time init fix 2026-03-08 23:58:28 +11:00
ripplebizandGitHub cf0cc851d4 Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket
Implement token bucket duty cycle enforcement
2026-03-08 23:54:32 +11:00
AI7NCandGitHub 36db50a0d2 Update cli_commands.md R400 grammer
Small grammar fix
2026-03-07 11:14:03 -08:00
AI7NCandGitHub bb454861c7 Update cli_commands.md R402 2026-03-07 11:01:20 -08:00
AI7NCandGitHub fe32f16aa4 Update cli_commands.md R399 updates 2026-03-07 10:55:40 -08:00
4aaa557daf Apply suggestion from @weebl2000
Co-authored-by: Wessel <wessel@weebl.me>
2026-03-07 10:43:23 -08:00
0228d596e8 Apply suggestion from @weebl2000
Co-authored-by: Wessel <wessel@weebl.me>
2026-03-07 10:42:13 -08:00
721c21f1e5 Apply suggestion from @weebl2000
Co-authored-by: Wessel <wessel@weebl.me>
2026-03-07 10:40:41 -08:00
Liam CottleandGitHub c8e003f88d Merge pull request #1960 from jbrazio/2026/devcontainer
Update devcontainer config
2026-03-08 01:54:26 +13:00
João Brázio 88f2e35faa devcontainer: add bun feature and update postCreateCommand 2026-03-07 12:49:25 +00:00
Liam CottleandGitHub 5ac8ab2a62 Merge pull request #1689 from aXistem-dev/feature/sensecap-led-fix
sensecap_solar: Fixing LED definitions
2026-03-07 23:55:09 +13:00
Confi 5188221584 sensecap_solar: fix LED definitions (white=11, blue=12) 2026-03-07 09:59:30 +01:00
Liam CottleandGitHub 76524c703f Merge pull request #1589 from marnick-hartgers/gps_sencecap_solar_p1
Added gps support for Sensecap p1 solar
2026-03-07 21:31:38 +13:00
ripplebizandGitHub 29be7e293c Merge pull request #1877 from DanielNovak/fix-countbefore-sentinel-regression
Fix countBefore regression: replace sentinel with getOutboundTotal()
2026-03-07 18:48:02 +11:00
Liam CottleandGitHub aad56bb334 Merge pull request #1936 from Quency-D/dev-heltec-tracker-v2
Update Heltec Tracker v2 to version KCT8103L.
2026-03-07 17:59:19 +13:00
Liam CottleandGitHub 5dddb8a3a1 Merge pull request #1350 from weebl2000/sync-gps-time-30min
Sync gps time every 30min
2026-03-07 17:11:07 +13:00
Liam CottleandGitHub 2a6325d8f8 Merge pull request #1915 from weebl2000/fix-incorrect-ram-flash-maximums
Fix incorrect ram flash maximums (supersedes #765)
2026-03-07 16:52:39 +13:00
Liam CottleandGitHub bd47d8d86b Merge pull request #1391 from R6DJO/fix_t1000-e_temp
T1000-E: Negative temperature values incorrectly displayed due to char signedness
2026-03-07 16:49:54 +13:00
Liam CottleandGitHub ca476488bb Merge pull request #1364 from weebl2000/pass-rtc_clock-to-locationprovider
Pass rtc_clock to MicroNMEALocationProvider in all variants
2026-03-07 16:41:29 +13:00
AI7NCandGitHub d2a6fda8d5 Update cli_commands.md 2026-03-06 16:30:45 -08:00
AI7NCandGitHub 992cc083e6 Update cli_commands.md to include path.hash.mode and loop.detect
Adding the new repeater cli commands introduced in 1.14

Ref: https://buymeacoffee.com/ripplebiz/path-diagnostics-improvements
2026-03-06 15:22:00 -08:00
Quency-DandGitHub 7a8370fa69 Fixed a bug in the LORA_TX_POWER comment. 2026-03-06 16:04:47 +08:00
Quency-D cdca79540f Update Heltec Tracker v2 to version KCT8103L. 2026-03-06 14:19:07 +08:00
Quency-DandGitHub 14db7d43cc Merge pull request #7 from meshcore-dev/dev
merge Dev
2026-03-06 11:27:47 +08:00
Scott Powell 9f1a3eafcc Merge branch 'dev'
# Conflicts:
#	docs/cli_commands.md
room-server-v1.14.0 companion-v1.14.0 repeater-v1.14.0
2026-03-06 12:21:52 +11:00