Commit Graph
414 Commits
Author SHA1 Message Date
liquidraver 8f933fd2c7 remove T1000 ifdef 2026-07-01 22:27:33 +02:00
liquidraver b2121fd0e8 Merge branch 'master' into dev 2026-07-01 22:26:10 +02:00
liquidraver b7aebcb9ab Merge pull request #41 from bpetrikovics/master
T1000E: blink LED on shutdown when buzzer is muted
2026-07-01 22:24:59 +02:00
liquidraver 0e5cd5f6de Fix joystick UI path editor to encode/decode paths at the mesh's actual hash size, not always 1-byte 2026-07-01 22:19:37 +02:00
liquidraver f1124e6783 Fix path-discovery response wrongly rejected at non-default path_hash_mode (2/3-byte hashes) 2026-07-01 21:03:35 +02:00
Balazs Petrikovics ff4503d001 T1000E: blink LED on shutdown when buzzer is muted
On long-press shutdown with buzzer muted, flash the heartbeat LED 3
times as a visual power-off indicator. Auto-shutdown paths are unaffected.
2026-06-24 18:52:00 +02:00
liquidraver bd363781ac companion hybrid refactor v1 2026-06-23 22:45:25 +02:00
liquidraver ce05ea2ea2 Route the RNG's functional clock to MSI 2026-06-22 08:49:49 +02:00
liquidraver 2f86310500 port lora e5 mini 2026-06-21 20:38:57 +02:00
liquidraver c6b4816cc4 fix wio tracker's sensor (grove) port 2026-06-19 18:43:50 +02:00
liquidraver 0f98ecec93 eink full refresh patch v20260619.094253 2026-06-19 11:24:47 +02:00
liquidraver 9f8f13e648 fix automount/autoformat loop v20260618.103531 2026-06-18 12:18:06 +02:00
liquidraver 550b77fd63 set default tx to around 22dBm for all PA boards v20260618.075149 2026-06-18 09:32:49 +02:00
liquidraver 104cf8d905 fix smearing on eink after full update 2026-06-18 07:33:41 +02:00
liquidraver 28f1c3af05 fix build and update readmes v20260617.211506 2026-06-17 22:31:47 +02:00
liquidraver 906ef08b05 3 way FS self-heal 2026-06-17 22:05:21 +02:00
liquidraver 2771872886 bump to 1.16.3 2026-06-17 15:52:57 +02:00
liquidraver c4a1777956 refactor gps manager 2026-06-17 15:42:50 +02:00
liquidraver 533a2a7e4e first fix 5 min timeout for GPS to prevent battery drain 2026-06-17 14:52:00 +02:00
liquidraver 7b3716bd6a fix M1 GPS power control 2026-06-17 14:15:45 +02:00
liquidraver 8e6ceff8e3 Merge pull request #40 from seagull9000/fix/esp32-ble-enc-funcs-reset
fix(esp32): init controller encryption so LE Secure Connections pairing works
2026-06-17 13:53:05 +02:00
John MillingtonandClaude Opus 4.8 ece01b4f7c fix(esp32): init controller encryption so LE Secure Connections pairing works
The ESP32 BLE controller glue guards ble_enc_funcs_reset() on
CONFIG_BT_CTRL_BLE_SECURITY_ENABLE, an ESP-IDF sdkconfig symbol that is never
defined in a Zephyr build. The call is therefore compiled out and the
controller's LE Secure Connections encryption table is left uninitialised, so
SC pairing derives a wrong session key and the link is terminated with HCI
reason 0x3D (MIC failure).

This breaks pairing for SC-capable centrals (e.g. Pixel 7 / recent Android);
legacy-pairing centrals use a different path and are unaffected. The existing
CONFIG_ESP32_BT_CTLR_LE_SECURITY_ENABLE=y only sets .enc_en and does not reach
this guard.

Correct the guard to BLE_SECURITY_ENABLE, which esp_bt.h already derives from
CONFIG_ESP32_BT_CTLR_LE_SECURITY_ENABLE (the Zephyr knob) and already uses for
.enc_en. Carried as a managed hal_espressif patch via the existing
zephcore_apply_patches() mechanism (mirrors the loramac-node patch).

Verified on Heltec Wireless Tracker (ESP32-S3): device reaches security
level 4, pairing complete bonded=1; Pixel 7 bonds over SC and the companion app
communicates; older Samsung still pairs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 14:28:29 +12:00
liquidraver ad5c777f2b Update README.md 2026-06-16 22:34:47 +02:00
liquidraver f59da1e0e5 fix esp build v20260616.202853 2026-06-16 21:53:42 +02:00
liquidraver e6016064f4 activate NVS on ESP 2026-06-16 21:20:27 +02:00
liquidraver f6c7ca8ec4 fixup wireless tracker 2026-06-16 13:40:31 +02:00
liquidraver 3dba7d460e Merge pull request #37 from seagull9000/feat/heltec-wireless-tracker
boards: add Heltec Wireless Tracker (V1.1) — ESP32-S3 + SX1262
2026-06-16 13:29:55 +02:00
liquidraver 4ec6f27202 password compare bug fix 2026-06-16 12:36:54 +02:00
liquidraver a0222fe12b fix android could not connect from app for ESP 2026-06-15 22:39:50 +02:00
John MillingtonandClaude Opus 4.8 f514d84a5c boards: add Heltec Wireless Tracker (V1.1) — ESP32-S3 + SX1262
New companion variant for the Heltec Wireless Tracker V1.1 (ESP32-S3-FN8 +
SX1262 + ST7735R 160x80 TFT + UC6580 GPS).  Overlay + conf only; no driver,
CMake, or patch changes.

Board-specific fixes worth calling out:

- Battery ADC on &adc0 (ADC unit 1 -> GPIO1), NOT &adc1.  In the upstream
  esp32s3 DTS the node *labelled* adc1 is unit 2, whose channel 0 is GPIO11 =
  the SX1262 MISO.  adc_esp32_channel_setup() drives the channel pad to
  GPIO_DISCONNECTED, clearing GPIO11's input buffer — which silently broke ALL
  LoRa SPI reads (reads returned 0x00 -> every LBT CAD timed out) and also
  sampled the wrong pin (battery read 0%).  Removed the upstream 'vbatt'
  voltage-divider (also on &adc1) and disabled adc1 so nothing claims GPIO11.

- Battery divider enable on GPIO2 active-HIGH (v1.1 ADC_CTRL), not the V3's
  GPIO37/active-LOW (which never powered this board's divider).

- SX1262 on SPI2 with driver GPIO CS; DIO1 pull-down + rx-boosted.

- GPS run line (GPIO35) exposed via the gps-enable alias; GPS is powered from
  the always-on Vext rail.  GPIO36 (GPS PPS, an output) left unconfigured.

- Status LED on GPIO18 exposed as led0 (ZephCore heartbeat).  UART1 — which the
  upstream DTS parks on GPIO17/18 — disabled so the LED isn't stuck on.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 08:18:20 +12:00
liquidraver 1970231553 fix esp s3 ble pairing error 2026-06-15 21:14:41 +02:00
liquidraver b4a7a4b6c1 fix mismatched guards 2026-06-15 15:29:32 +02:00
liquidraver dc7a2827a3 sync with vanilla dev 2026-06-15 15:25:04 +02:00
liquidraver b97d079e56 wire button to t-beam 2026-06-15 14:14:03 +02:00
liquidraver 572490e909 migrate to NVS, update formatters 2026-06-15 14:08:09 +02:00
liquidraver f2d2876637 no OTA on t-beam repeaters 2026-06-15 11:59:49 +02:00
liquidraver 68147dba86 lilygo debug trims and BT back to 8dBm 2026-06-15 11:35:41 +02:00
liquidraver 979f60163d bump to 1.16.2 2026-06-15 11:15:44 +02:00
liquidraver 9c166ebefc revert BT back to 4dBm (no change in range) 2026-06-15 11:14:16 +02:00
liquidraver 109ad4ef1e eink full redraw after 8 partial to avoid ghosting 2026-06-15 10:52:25 +02:00
liquidraver 5fc8fd1ead shared canonical path for UI adverts 2026-06-14 22:25:32 +02:00
liquidraver fb6cd24e9e linux native transport fixes 2026-06-14 21:20:02 +02:00
liquidraver 18b63bd6f5 Add Lilygo T-beam 1.2 (SX1262) 2026-06-14 14:00:51 +02:00
liquidraver 16238a129e bump zephyr to 4.4.1 2026-06-14 12:58:42 +02:00
liquidraver 9d4fed9119 wismesh tag adc fix v20260613.205222 2026-06-13 08:37:25 +02:00
liquidraver bf71542751 Make Rxdutycycling Great Again 2026-06-13 08:23:01 +02:00
liquidraver 061a65a7f0 cli commands fix 2026-06-12 21:07:37 +02:00
liquidraver d4a48ae5f3 joystick UI: proper accents, emojis stripped, new unlock mechanism 2026-06-11 20:55:56 +02:00
liquidraver cc8ade8298 bound AdvertDataParser name copy to _name size (helpers audit) 2026-06-11 14:18:15 +02:00
liquidraver b7c72fe5ee route CAD_DONE/CAD_DETECTED to DIO1 so LR1110 LBT CAD completes (radio2 audit) 2026-06-11 13:58:08 +02:00