Commit Graph
1071 Commits
Author SHA1 Message Date
tthandClaude Opus 4.8 a0d1dd4055 feat(repeater): passive mesh analyzer -- nodes + rxlog over the console
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 00:19:32 +02:00
tthandClaude Opus 4.8 0250816a40 config: git-ignored BLE PIN secret + SenseCap SHT41/INA226 + nRF52 framework symlink
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 19:21:11 +02:00
Scott Powell f7f8a331cd Merge branch 'dev'
# Conflicts:
#	docs/faq.md
2026-06-06 21:12:43 +10:00
ripplebiz e19984f26a Merge pull request #2684 from oltaco/rp2040-build-fixes
Build fixes for some RP2040 targets
2026-06-05 12:30:08 +10:00
taco 40111d3dcb build fixes for nibble_screen_connect and thinknode_m2 2026-06-05 00:55:02 +10:00
taco 653a52f31b build fix for rp2040 companion usb 2026-06-04 23:36:51 +10:00
taco a0d7f2b9e2 add missing radio_init() for rak11310 2026-06-04 23:30:50 +10:00
taco 2488de7dbd pin platform-raspberrypi to 4e22a0d
pins framework-arduinopico @ 1.50600.0+sha.6a1d13e9
2026-06-04 23:21:41 +10:00
taco 337e35b2ff build fixes for LilyGo T-Echo Card 2026-06-04 19:05:58 +10:00
ripplebiz cb497c50c2 Merge pull request #1687 from IoTThinks/MCdev-PowerSaving-for-all-esp32-repeaters-202602
Added PowerSaving for all ESP32-based repeaters
2026-06-04 13:31:51 +10:00
entr0p1 13228f60b8 Rak WisMesh Tag fixes
- Remove debug flag
- Correct lib_deps from rak4631 to rak_wismesh_tag
- Correct extends from rak4631 to rak_wismesh_tag
2026-06-02 16:17:08 +10:00
Florent a979cdb7a0 stm32: make subghz dep fix global and update framework 2026-06-01 08:39:09 +02:00
ripplebiz f485684499 Merge pull request #2650 from LeoCatsune/fix/wioe5mini
fix: update wio-e5-mini pio config to address SubGhz dependency issue
2026-06-01 15:59:47 +10:00
ripplebiz 633046c106 Merge pull request #2634 from NickDunklee/bme680-fixes-consolidation
feat: Integrate BME680 Bosch BSEC support for RAK4631
2026-06-01 13:35:32 +10:00
Leo f6d57b6453 fix: update wio-e5-mini pio config to address SubGhz dependency issue 2026-05-31 18:47:24 +10:00
Kevin Le 55a025f159 Moved LoRa GPIOs to platformio.ini for TBeam boards 2026-05-28 15:13:14 +07:00
Kevin Le 722cfb2254 Added getIRQGpio to return DIO0 for Lilygo TLoRa SX1276 2026-05-28 15:13:14 +07:00
Kevin Le 1eb38948cf Added getIRQGpio to return DIO0 for Lilygo T3S3 SX1276 2026-05-28 15:13:14 +07:00
Kevin Le 33f604dafe Fixed DIO0, DIO1 and RESET for Heltec v2 2026-05-28 15:13:14 +07:00
Nick Dunklee a54b11dd50 feat: Integrate BME680 Bosch BSEC support for RAK4631
This is a consolidation of my changes for BME680 on RAK4631 nodes.
I will close my other PRs related to this and link back to this one.

*Background on change:*

This change replaces the Adafruit BME680 driver on RAK4631 with the
Bosch BSEC library. Other boards continue to use the existing
Adafruit path via ENV_INCLUDE_BME680.

This makes the IAQ portion of the sensor functional, and more accurate.
It also contains the math and/or CayenneLPP fixes from my other PRs.
The Bosch code also appears to handle calibrating sensor aging as well,
whereas the Adafruit code is just looking at blind values that can drift
with time. Pretty cool to see this shooting out useful data!

RAK4631 platform.io is set to override to ENV_INCLUDE_BME680_BSEC while
leaving the Adafruit code for other node types. (If this becomes applicable
for other node types in future, awesome! I just don't have hardware
to test against.)

Using the BSEC library introduces IAQ sensor calibration, and saves
the calibration state periodically so it does not have to calibrate
again later.

At startup the IAQ sensor takes 30 minutes to heat and to hit a baseline,
then starts calibrating. Once calibrated, it will save those settings
and will only write settings again if calibration falls back and restores
back to state 3.

This fix also has the gas resistance math fix that was in
[pull 2146](https://github.com/meshcore-dev/MeshCore/pull/2146) so
the adafruit path also can at least show accurate values instead
of looping negative.

Also includes the fix from [pull 2149](https://github.com/meshcore-dev/MeshCore/pull/2149) so the pressure output isn't truncated to 1hPa steps.

*Fixes/Changes:*
- Add bsec_config_iaq[] with the 3.3V/3s-LP/28d calibration profile
- BSEC init applies setConfig() for voltage-correct heater targeting
- IAQ, heat-compensated temperature/humidity, pressure, and altitude
  reported over CayenneLPP
- IAQ accuracy reported as analog input over CayenneLPP (0,1,2,3)
- Calibration state persisted to /bsec_state.bin on nRF52 internal
  flash; written only when iaqAccuracy improves to >= 2, should
  keep write frequency well within flash endurance over device lifetime
- Fix non-BSEC query_bme680: float pressure division, addGenericSensor
  for gas resistance (was addAnalogInput, overflows at > 327 Ohm)
- loop() correctly gated for both GPS and BSEC-only builds
- Add fix_bsec_lib.py extra_script to resolve nRF52840 hard-float ABI
  mismatch in Bosch's PlatformIO packaging, silly Bosch

One general note outside of this code change: I noticed while BME680
_functions_ in companion nodes, since companion nodes run Bluetooth,
BLE preempts the CPU, and can do so mid-I2C-transaction.

This can cause the BME680 to see an anomaly and drop calibration and
start a recalibrate. This is behavior that will exist (and has existed)
regardless of using the Adafruit or Bosch paths.

This particular companion behavior does not seem to occur in sensor
or repeater nodes since their BLE is off. Probably affects other
I2C devices as well.

*Tests:*

- RAK19003
- RAK19007
- RAK19001
- repeater, sensor, companion
2026-05-27 15:33:48 -06:00
ripplebiz b655eb9b20 Merge pull request #2620 from jirogit/feat/kiss-modem-xiao-s3-v2
feat(xiao_s3): add kiss modem env
2026-05-25 12:00:46 +10:00
me e8fc488332 feat(xiao_s3): add kiss modem env 2026-05-24 14:03:28 -07:00
fdlamotte 3eebda66d0 Merge pull request #2235 from jirogit/fix/lr1110-rxgain-cli-guard
fix: enable radio.rxgain CLI command for LR1110 (T1000-E)
2026-05-24 11:56:23 +02:00
Liam Cottle 52ecab8f66 Merge pull request #2590 from jocasmark/fix/typos
Fix typos in comments and docs
2026-05-22 19:38:19 +12:00
taco 152c0c5069 fix debug params for t-echo card 2026-05-21 19:58:10 +10:00
taco d41d1da290 remove deprecated functions, fix typo and style 2026-05-21 19:58:10 +10:00
taco 19e4e662c4 add torch 2026-05-21 19:58:10 +10:00
taco 0abeb73f84 add tinyui for lilygo t-echo card 2026-05-21 19:58:10 +10:00
taco 2420925101 initial t-echo card support 2026-05-21 19:58:10 +10:00
Mark Jocas cacb5d8c2b Corrects typos and grammatical errors
Improves readability across documentation and inline comments by fixing common spelling mistakes and duplicate words.
2026-05-20 08:33:48 +02:00
csrutil 0e2a9a0848 Add Heltec T096 sensor environment 2026-05-17 16:17:05 +08:00
Willem Oldemans 89ccec6a03 Remove static BLE_PIN_CODE definition from Heltec E290_usb configuration 2026-05-15 13:09:59 +02:00
Willem Oldemans bd7b2e62ee Disable BLE_PIN_CODE for E290 companion USB environment
Remove the hardcoded BLE_PIN_CODE build flag from the Heltec_E290_companion_ble
environment. The presence of BLE_PIN_CODE prevents the unit from operating as a
USB companion. Commenting it out allows dynamic PIN generation and enables USB
companion functionality.
2026-05-15 12:57:36 +02:00
ripplebiz e674280570 Merge pull request #2497 from oltaco/reduce-esp32-dram
Reduce dram0_0 usage on older ESP32 boards
2026-05-15 14:04:42 +10:00
ripplebiz 98c2981987 Merge pull request #2515 from Cisien/station-g3-esp32
Add support for Station G3 and its software configurable LNA/PA1
2026-05-15 13:58:42 +10:00
Rastislav Vysoky 266eb349d4 revert: "feat: Enable GPS on RAK 1W kit" (#2401)
reverted changes to RAK_BOARD and PIN_GPS_EN. setting `RAK_BOARD` would cause radio to stop working and end with RadioLib error -707
2026-05-12 15:56:28 +02:00
liamcottle af230c7be5 fix gps pins for lilygo t impulse plus 2026-05-12 10:36:19 +12:00
Liam Cottle e3426309e7 Merge pull request #2522 from liamcottle/board/lilygo-t-impulse-plus
Add support for LilyGo T-Impulse-Plus
2026-05-12 01:39:44 +12:00
liamcottle f4b31d3e51 turn off 3.3v rail when powering off 2026-05-12 01:06:22 +12:00
liamcottle 29c5f33079 fix battery voltage reading 2026-05-11 22:17:53 +12:00
liamcottle 57dad2393a initial support for lilygo t impulse plus 2026-05-11 22:05:06 +12:00
Quency-D e9b8926155 add heltec-mesh-node-t1 2026-05-11 15:11:07 +08:00
Huw Duddy a73dcdfd87 Merge pull request #2503 from jirogit/fix/techo-lite-non-shell-usb
feat(techo-lite): add USB companion radio target for non-shell variant
2026-05-10 22:40:12 +10:00
Chris 9078a822f7 Add support for Station G3 and its software configurable LNA and PA1 2026-05-09 13:53:20 -07:00
entr0p1 5f59a5b7fc T-Echo Lite LoRa radio fixes
- Set TCXO voltage to 1.8 (not defined previously, falls back to default)
- Set correct variable name for SX1262 RX/TX pins
- Fix SX1262 RX pin number
2026-05-09 14:26:55 +10:00
jirogit 81936fa398 feat(techo-lite): add USB companion radio target for non-shell variant 2026-05-08 00:38:04 -07:00
taco 0a330ffee2 reduce dram0_0 usage by lowering OFFLINE_QUEUE_SIZE
some older ESP32 boards were pushing the limits of the dram segment causing the linker to fail, especially for ble and wifi firmwares.

lowering OFFLINE_QUEUE_SIZE reduces dram usage
2026-05-08 00:40:33 +10:00
jirogit 9de04fe0da fix: enable radio.rxgain CLI command for LR1110 (T1000-E)
USE_LR1110 was missing from the preprocessor guard in CommonCLI.cpp,
causing both get and set to fail silently on T1000-E:

- get radio.rxgain returned the full radio config string (fell through
  to the memcmp("radio", 5) branch)
- set radio.rxgain returned "unknown config" (no branch matched)

Fix: add -D USE_LR1110 to variants/t1000-e/platformio.ini and include
USE_LR1110 in the #if guard on both get and set branches.

CustomLR1110Wrapper already implements setRxBoostedGainMode() and
getRxBoostedGainMode() via the RadioLibWrapper virtual interface,
so no radio-layer changes are required.

Tested on T1000-E: get/set/persist all confirmed working.
2026-05-01 00:31:31 -07:00
Scott Powell 8903b907d1 * Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power() 2026-05-01 14:47:07 +10:00
Rastislav Vysoky 8e1ac0bc3a Merge branch 'dev' into minewsemi-refactor 2026-04-30 14:48:49 +02:00