Skip to content

Releases: mathisono/MC_rak4631_eth_gw

v0.4.1 rak4631 eth manufacturer

Choose a tag to compare

Adds a generated MeshCore RAK4631 manufacturer string override for Ethernet companion builds while keeping normal RAK4631 builds unchanged. Includes the static diagnostic companion radio build.

Full Changelog: v0.2.8-companion-eth-upstream...v0.4.1-rak4631-eth-manufacturer

RAK4631 / RAK13800 MeshCore Ethernet Companion Bay Area Prune Build

Choose a tag to compare

Artifacts built from dist/RAK_4631_companion_radio_eth_static_diag/.

RAK4631 / RAK13800 MeshCore Ethernet Companion DHCP Fallback

Choose a tag to compare

v0.3.0 DHCP Fallback Ethernet Companion Build

Release title

RAK4631 / RAK13800 MeshCore Ethernet Companion DHCP Fallback

Target

RAK_4631_companion_radio_eth_clean

Summary

This release candidate switches the clean RAK4631 Ethernet Companion target to the upstream MeshCore PR #2679 style implementation:

  • WITH_ETHERNET_COMPANION=1
  • SerialEthernetInterface multi-client TCP transport
  • server->accept() socket ownership
  • RAK13800 / W5100S Ethernet over TCP port 4403
  • DHCP first, with static fallback
  • static fallback IP: 192.168.3.55
  • gateway fallback: 192.168.3.3
  • subnet fallback: 255.255.255.0
  • designed for Crow's MeshCore TCP API backend

DHCP behavior

At boot, the firmware defers Ethernet bring-up, then attempts DHCP.

Expected DHCP success log:

Ethernet: trying DHCP (deferred)...
Ethernet up (deferred): 192.168.3.xxx:4403
ETH: TCP companion server listening on 4403

Expected DHCP failure fallback log:

Ethernet: trying DHCP (deferred)...
Ethernet: DHCP failed -> static IP fallback
Ethernet up (deferred): 192.168.3.55:4403
ETH: TCP companion server listening on 4403

Crow compatibility target

Crow should be configured for the actual DHCP-assigned IP or fallback IP:

"meshcore": {
  "enabled": false
},
"meshcore_tcp_api": {
  "enabled": true,
  "host": "192.168.3.55",
  "port": 4403
}

If DHCP assigns another address, replace 192.168.3.55 with the DHCP address printed in the serial log.

Build command

git pull
git rev-parse HEAD
rm -rf build dist
TARGET_ENV=RAK_4631_companion_radio_eth_clean bash scripts/build_firmware.sh
cat dist/RAK_4631_companion_radio_eth_clean/BUILD_INFO.txt

Expected artifacts

Attach these files to the GitHub release if produced:

dist/RAK_4631_companion_radio_eth_clean/firmware.zip
dist/RAK_4631_companion_radio_eth_clean/RAK_4631_companion_radio_eth_clean-dfu.zip
dist/RAK_4631_companion_radio_eth_clean/BUILD_INFO.txt

Release tag suggestion

v0.3.0-dhcp-fallback

OpenClaw release prompt

Repo: https://github.com/mathisono/MC_rak4631_eth_gw

Goal:
Build and publish a GitHub release for the RAK4631 / RAK13800 MeshCore Ethernet Companion DHCP fallback build.

Use the latest main branch commit. The important repo state includes:
- DHCP fallback target commit: 81651b5b2c850e266d31eef2327f7cff1972a617
- Target: RAK_4631_companion_radio_eth_clean
- Transport: WITH_ETHERNET_COMPANION=1
- TCP port: 4403
- DHCP first
- Static fallback IP: 192.168.3.55
- Static fallback gateway: 192.168.3.3
- Static fallback subnet: 255.255.255.0
- Uses SerialEthernetInterface multi-client TCP transport
- Uses RAKWireless/RAK13800-W5100S library
- Intended backend: Crow meshcore_tcp_api

Build command:
rm -rf build dist
TARGET_ENV=RAK_4631_companion_radio_eth_clean bash scripts/build_firmware.sh

If the build fails:
1. Fix only compile errors.
2. Preserve WITH_ETHERNET_COMPANION=1.
3. Preserve SerialEthernetInterface.
4. Preserve server->accept(), not server->available().
5. Preserve MAX_ETH_CLIENTS=3.
6. Preserve DHCP-first with fallback IP 192.168.3.55.
7. Preserve TCP port 4403.
8. Do not revert to the old single-client EthernetSerialInterface path.
9. Commit minimal fixes.

After a successful build, create a GitHub release:
- Tag: v0.3.0-dhcp-fallback
- Title: RAK4631/Rak13800 MeshCore Ethernet Companion DHCP Fallback
- Body: use docs/releases/v0.3.0-dhcp-fallback.md
- Attach:
  - dist/RAK_4631_companion_radio_eth_clean/firmware.zip
  - dist/RAK_4631_companion_radio_eth_clean/RAK_4631_companion_radio_eth_clean-dfu.zip, if produced
  - dist/RAK_4631_companion_radio_eth_clean/BUILD_INFO.txt

Expected serial logs:
Ethernet: trying DHCP (deferred)...
Ethernet up (deferred): <dhcp-ip>:4403
ETH: TCP companion server listening on 4403

Fallback serial logs:
Ethernet: trying DHCP (deferred)...
Ethernet: DHCP failed -> static IP fallback
Ethernet up (deferred): 192.168.3.55:4403
ETH: TCP companion server listening on 4403

Crow validation:
Configure Crow meshcore_tcp_api host to the printed IP and port 4403. Confirm Crow connects, sends CMD_APP_START, handles message-waiting push 0x83, sends CMD_SYNC_NEXT_MESSAGE 0x0A, and decodes 0x07/0x08/0x10/0x11 receive responses.

Final report:
- Commit SHA built
- Build PASS/FAIL
- Artifacts attached
- Release URL
- Any compile fixes committed

v0.2.8-companion-eth-upstream

Choose a tag to compare

RAK4631 Companion Ethernet Wiznet handoff fix

Choose a tag to compare

RAK4631 Companion Ethernet injected-frame handoff fix

Choose a tag to compare

v0.2.3-companion-eth-client-handoff

Choose a tag to compare

v0.2.2-companion-eth-single-client

Choose a tag to compare

v0.2.0-companion-radio-eth

Choose a tag to compare

v0.1.11-static-tcp-stable

Choose a tag to compare