640 Commits
Author SHA1 Message Date
liquidraver 6de710acce cleanup supported boards 2026-04-14 11:16:34 +02:00
liquidraver 3903ebf649 mention wismesh pocket in supported boards 2026-04-14 11:10:43 +02:00
liquidraver 085b1a7ce5 Wismesh pocket update to RAK overlay 2026-04-14 10:41:26 +02:00
liquidraver d03ab90be6 LED refactor + RAK reversed polarity fix 2026-04-14 09:11:58 +02:00
liquidraver 076becb70f RAK4631 - enable display support 2026-04-14 08:55:11 +02:00
liquidraver 5c3df69621 atomic write (temp + sync + rename) for identity, prefs, and channels 2026-04-13 21:52:40 +02:00
liquidraver b03f604960 Merge pull request #7 from mattzzw/promicro_sx1262_voltage
promicro_sx1262: Set battery adc voltage devider to 2:1, 3.6V ref
2026-04-13 20:55:09 +02:00
liquidraver a716d2478f port seeed solar p1 + gps command fixes 2026-04-13 11:48:34 +02:00
Matthias Wientapper 4c76e8e6c0 promicro_sx1262: Set battery adc voltage devider to 2:1, 3.6V ref 2026-04-12 21:14:07 +02:00
liquidraver ee0892831f update supported boards 2026-04-09 14:08:30 +02:00
liquidraver 03fd4e0fc7 heltec v3 console fix 2026-04-09 13:52:15 +02:00
liquidraver 4f6b0cca27 fix repeater-observer hybrid freezing 2026-04-09 12:23:27 +02:00
liquidraver 0898699c33 patch file CLRF fixup and repeater-observer hybrid first implementation 2026-04-09 11:02:58 +02:00
liquidraver 530565d02f update readme 2026-04-08 13:12:19 +02:00
liquidraver 3b3eff7aab initial port of heltec v4 and v4.3 boards 2026-04-08 11:21:44 +02:00
liquidraver 5f9c8b0d99 sx1276: fix loramac-node direction fast-path, resetAGC, add BW 62.5kHz
Three correctness fixes for the SX127x radio adapter on top of
Rastislav's initial sx1276 + patch commits:

1. _loramac_node flag (LoRaRadioBase + SX127xRadio):
   Guard the direction-only fast path in configureTx()/configureRx()
   so loramac-node always calls both Radio.SetTxConfig() and
   Radio.SetRxConfig().  Skipping either leaves TxTimeout=0 in the
   library, causing an immediate TX timeout callback, which prevents
   the _tx_signal from ever being raised and blocks the TX wait thread
   for TX_TIMEOUT_MS (5 s) — a 5-second RX blackout per transmission.
   This was the root cause of "boots but no RX".

2. SX127xRadio::resetAGC() override:
   The base-class resetAGC() calls startReceive() after hwResetAGC().
   During async RX the loramac-node modem mutex is STATE_BUSY, so
   lora_recv_async() returns -EBUSY, which sets _in_recv_mode = 0 and
   corrupts the receive state machine.  Override skips the call
   entirely — the loramac-node driver self-manages AGC.

3. BW 62.5 kHz support in loramac-node/sx1276.c + patch:
   Rastislav's 0004-lora-sx127x-62k5-bandwidth.patch adds BW_62_KHZ
   support to sx12xx_common.c (Zephyr side) but not to the loramac-
   node library itself.  Without this fix bandwidth index 3 hits the
   "while(1)" fatal guard in SX1276SetRxConfig/SX1276SetTxConfig.
   This commit patches sx1276.c directly and adds
   patches/modules/loramac-node/0001-sx1276-bw62k5.patch so the fix
   survives west update.  CMakeLists.txt is extended to apply module
   patches via the existing zephcore_apply_patches() mechanism.
2026-04-08 08:30:17 +02:00
liquidraver f718fae057 update readme 2026-04-07 21:01:31 +02:00
Rastislav Vysoky a72dc3e4d9 fixes for esp32 and sx1276 2026-04-07 20:58:55 +02:00
Rastislav Vysoky da22b127c3 sx1276 2026-04-07 19:05:32 +02:00
liquidraver 2af08b251b west update 2026-04-06 17:05:50 +02:00
liquidraver 7acd08cbd9 add espc6 fix heltec v3 2026-04-05 21:38:33 +02:00
liquidraver 1a20cdb4ea add xiao esp32-s3 2026-04-05 20:08:40 +02:00
liquidraver 7998b5eae3 observer self-advert on mqtt when lat/lon and custom name is set 2026-04-05 17:21:37 +02:00
liquidraver f22af597db disable power domain in mcuboot (fix for heltec build) 2026-04-05 16:35:04 +02:00
liquidraver 875e6554d4 Implement MQTT Observer role 2026-04-05 14:34:06 +02:00
liquidraver 37adeefd22 remove leftover log level code 2026-04-03 13:55:40 +02:00
liquidraver e115f24b31 buzzer and led queued offline message indicator
- buzzer was bugged when message received
- green led: hearthbeat, blue led: message received indicator (when not connected to app)
- if only one led blinks: hearthbeat 20msec, message received 200msec
2026-04-02 21:06:28 +02:00
liquidraver 97e13700ec west update 2026-04-01 12:27:42 +02:00
liquidraver 6aaf78f50d sync cli with arduino 2026-04-01 12:05:00 +02:00
liquidraver a1dddbea75 Repeater GPS: separate advert vs telemetry position, persist last fix
GPS fixes no longer overwrite prefs lat/lon — adverts use only
manually-set coordinates (via gps setloc or companion app)

Precise GPS position served via telemetry requests only
getNodeLat()/getNodeLon() returns live GPS fix

Last good fix persisted to /lfs/gps_pos — survives reboots

| Command | Description |
|---------|-------------|
| `gps` | Show GPS status (`on` or `off`) |
| `gps on` | Enable GPS module |
| `gps off` | Disable GPS module |
| `gps setloc` | Update stored latitude/longitude from current GPS fix |
| `gps advert` | Show current location advertising policy |
| `gps advert none` | Do not include location in advertisements |
| `gps advert share` | Include live GPS location in advertisements |
| `gps advert prefs` | Include stored lat/lon from prefs in advertisements |
2026-04-01 11:06:09 +02:00
liquidraver 2051e1b51a telemetry bugfix and "healthcheck" conf for debug logging 2026-03-31 20:35:39 +02:00
liquidraver fc28b32d52 west update 2026-03-29 18:20:20 +02:00
liquidraver 0e5e71563c logging cleanup 2026-03-29 09:51:53 +02:00
liquidraver 33fa19a7f5 comment overhaul 2026-03-28 20:53:59 +01:00
liquidraver 64c19b7eaa Repeater CLI reference 2026-03-26 22:36:43 +01:00
liquidraver 31f0901606 port RAK3401 1W 2026-03-26 22:02:11 +01:00
liquidraver 00101d60f3 thinknode M1 (and e-ink) display fixes (partial refresh, msg count, etc) 2026-03-25 14:07:22 +01:00
liquidraver 8dd6f149f8 sync with arduino/dev 2026-03-24 20:36:36 +01:00
liquidraver e2f13e2292 MSG ui display fix 2026-03-24 14:32:03 +01:00
liquidraver adb19e9705 west update - one manual patch is not obsolete 2026-03-24 08:56:41 +01:00
liquidraver 57d392b124 close the 5ms race window before TX 2026-03-23 13:33:08 +01:00
liquidraver 68e2d1f598 update dutycycling and LBT to match newest zephyr API-s 2026-03-23 10:50:02 +01:00
liquidraver c9013d85d4 update zephyr 2026-03-23 08:56:21 +01:00
liquidraver 249a446877 highly experimental. rx duty cycle + mini AGC reset 2026-03-21 08:48:50 +01:00
liquidraver ccaba52f3c tune contentiontracker 2026-03-20 22:12:15 +01:00
liquidraver 9abe5b142d port heltec v3 2026-03-20 09:00:09 +01:00
liquidraver 653fba4cf1 lr2021 fix v4 2026-03-19 13:27:37 +01:00
liquidraver 6f0fa3db85 fix RSSI reading 2026-03-19 11:38:45 +01:00
liquidraver 57369b5f9e lr2021 fix v3 2026-03-19 11:15:38 +01:00
liquidraver ab928477ea sysbuild fix 2026-03-19 11:04:15 +01:00