Felix Moessbauer
0ded46a975
fix: use max estimated airtime for duty cycle enforcement
...
Previously the max required airtime to enter the next transmit slot was
computed to be half the estimated time. However, the transmit logic uses
1.5 times the estimated time as maximum TX duration. By that, the duty
cycle could still be violated as the actual transmit logic might send
for longer than what we ensured to stay within the cycle.
We fix this by aligning both computations and always use 1.5 times the
estimated airtime.
Xref: #817
2026-04-01 11:07:01 +02:00
Felix Moessbauer
e797d55c7a
refactor: move max airtime computation to macro
...
By that we make it reusable and also ensure the integer division is
executed correctly (it was correct before, but just because the mult and
div operator are left associating).
2026-04-01 11:07:01 +02:00
Felix Moessbauer
7c1dfd9a95
refactor: move tx duty cycle check to function
...
As a preparation to make the tx duty cycle check more precise, we move
it into a function.
2026-04-01 11:07:01 +02:00
Liam Cottle
856df241ee
Merge pull request #2138 from MGJ520/dev_GAT562_Mesh_Watch13
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (Heltec_v3_repeater) (push) Has been cancelled
PR Build Check / build (Heltec_v3_room_server) (push) Has been cancelled
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Has been cancelled
PR Build Check / build (PicoW_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (RAK_4631_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_room_server) (push) Has been cancelled
PR Build Check / build (wio-e5-mini_repeater) (push) Has been cancelled
Support for GAT562 Mesh Watch13 device
2026-03-31 21:54:38 +13:00
Liam Cottle
7fc32639a6
Merge pull request #2202 from terminalvelocity23/fix/discover-neighbors-public
...
Move sendNodeDiscoverReq() from private to public to enable post-boot neighbor discovery
2026-03-31 21:27:27 +13:00
ripplebiz
f8fcc1717a
Merge pull request #2190 from brianwiddas/espnow-missing-methods
...
Add missing methods in ESPNOWRadio()
2026-03-31 15:24:27 +11:00
terminalvelocity23
08de3fb01f
Make sendNodeDiscoverReq() public for post-boot discovery
2026-03-30 22:35:05 +03:00
Brian Widdas
811ac1cd02
Add missing methods in ESPNOWRadio()
...
ESP-NOW radios (ie, Generic_ESPNOW_* variants) do not compile due to
missing methods
Changes in January 2026 (019bbf74 ) to add additional stats (receive errors)
to CMD_GET_STATS was not implemented in the ESPNOWRadio() class
Changes in March 2026 (9a95e25e ) to add setRxBoostedGainMode to all devices
rather than just SX1262/SX1268 were not applied to the ESPNowRadio() driver
Specifically, this change adds the following to ESPNOWRadio()
* getPacketsRecvErrors() - always returns 0
* getRxBoostedGainMode() - always returns false
* setRxBoostedGainMode() - does nothing
2026-03-30 04:25:08 +01:00
ripplebiz
bdeb7d8053
Merge pull request #1982 from weebl2000/radiolib7.6.0
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
Bump RadioLib to 7.6.0
2026-03-30 14:02:08 +11:00
Scott Powell
efc875b1b6
* more notes about number_allocations
2026-03-30 13:53:16 +11:00
Scott Powell
6fb8e60b5f
* number_allocations.md data-type range changes
2026-03-30 11:53:27 +11:00
Scott Powell
515af35b13
* docs changes for PAYLOAD_TYPE_GRP_DATA
2026-03-29 06:33:35 +11:00
MGJ
76be69dcde
Reduce unnecessary compilation time
2026-03-26 16:32:00 +08:00
ripplebiz
517f2f1efd
Merge pull request #1961 from weebl2000/dutycycle-command
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (Heltec_v3_repeater) (push) Has been cancelled
PR Build Check / build (Heltec_v3_room_server) (push) Has been cancelled
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Has been cancelled
PR Build Check / build (PicoW_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (RAK_4631_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_room_server) (push) Has been cancelled
PR Build Check / build (wio-e5-mini_repeater) (push) Has been cancelled
Add get/set dutycycle command
2026-03-26 11:54:41 +11:00
fdlamotte
15b246924e
Merge pull request #2121 from archef2000/patch-1
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
Fix typo for ThinkNode M5 room server environment
2026-03-25 16:03:09 -04:00
Scott Powell
2325973fec
* Companion: applyGPSPrefs() now just in one place (moved out of UITask)
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
2026-03-25 16:26:51 +11:00
Liam Cottle
8637a749f7
Merge pull request #2018 from got-root/fix/companion-radio-gps-persistence
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
fix(companion_radio): apply persisted GPS enabled setting on boot for ui-orig devices
2026-03-25 09:38:03 +13:00
Alejandro Ramirez
f8dbdce6bb
fix: apply persisted GPS enabled setting on boot for companion radio
...
The companion_radio example was not restoring the GPS enabled/disabled
preference from flash after reboot. The preference was being saved
correctly when toggled via the mobile app, but on boot,
sensors.begin() -> initBasicGPS() unconditionally sets gps_active=false
and nothing subsequently restored the persisted state.
Added applyGpsPrefs() (matching the pattern in simple_repeater,
simple_sensor, and simple_room_server) and call it from main.cpp
after sensors.begin() to ensure the GPS hardware is initialized
before the saved preference is applied.
2026-03-24 09:10:09 -05:00
MGJ
cd6c09a0d9
Support for GAT562 Mesh Watch13 device
2026-03-24 14:16:48 +08:00
Wessel Nieboer
37d1a75e7c
Merge branch 'dutycycle-command' of github.com:weebl2000/MeshCore into dutycycle-command
2026-03-24 03:08:54 +01:00
Wessel Nieboer
fb08fc0b1e
restore docs
2026-03-24 03:08:18 +01:00
Liam Cottle
bdf10506f2
Merge pull request #2134 from jeroenvermeulen/station-g2-default-radio-rxgain
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
Fix default radio.rxgain for Station G2
2026-03-24 14:11:08 +13:00
Jeroen Vermeulen
da689c8e91
Fix default radio.rxgain for Station G2
...
As @LitBomb pointed out in his [comment](https://github.com/meshcore-dev/MeshCore/issues/2118#issuecomment-4108168109 ) on #2118 RX Boosted Gain should not be enabled for the Station G2.
This change is a fix for #2124 to make the default of `radio.rxgain` to be OFF on the Station G2.
This restores the pre-1.14.1 behaviour with the only change being the user is now able to change the setting in the CLI.
2026-03-23 23:06:42 +01:00
Wessel Nieboer
728b586c3a
Address comments
2026-03-23 14:31:08 +01:00
Wessel Nieboer
741392889d
Fix memcp compare length off by one
...
Co-authored-by: ViezeVingertjes <michael.overhorst@gmail.com>
2026-03-23 14:31:08 +01:00
Wessel Nieboer
0aa0ec1f16
Add get/set dutycycle command
...
We translate to af internally, it's easier to store and doesn't break
stored prefs. Made get/set af command show deprecated, but it still
works fine.
2026-03-23 14:31:07 +01:00
Wessel Nieboer
7829c51898
Bump to RadioLib 7.6.0
2026-03-23 14:26:56 +01:00
ripplebiz
df01fd3efb
Merge pull request #2130 from liamcottle/refactor/channel-data
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
Adjustments to PR #1928 - Custom Group Data
2026-03-23 22:13:34 +11:00
liamcottle
1d61df72c3
add define for reserved group data type
2026-03-23 23:09:35 +13:00
liamcottle
c78f7133c9
reorder command args
2026-03-23 23:02:24 +13:00
liamcottle
ed326255d5
add support for direct paths when sending group data
2026-03-23 21:46:21 +13:00
Liam Cottle
91aed048e9
Merge pull request #1928 from dz0ny/feat/grp-data-upstream
...
feat: Add support for PAYLOAD_TYPE_GRP_DATA
2026-03-23 21:41:51 +13:00
Liam Cottle
7d49faa6f7
Merge pull request #2106 from jeroenvermeulen/document-radio.rxgain
...
Documented get/set radio.rxgain + discover.neighbors
2026-03-23 12:21:40 +13:00
Jeroen Vermeulen
54f6ac4929
Add discover.neighbors command documentation
2026-03-22 21:35:02 +01:00
Jeroen Vermeulen
46de7f46dd
Merge pull request #1 from meshcore-dev/dev
...
Update from Main repo's dev
2026-03-22 21:26:47 +01:00
Jeroen Vermeulen
f543ba22de
Update temporary note with a hyperlink to issue #2118
2026-03-22 21:19:06 +01:00
Jeroen Vermeulen
31a08e1de6
Update note for upgrade to version 1.14.1
...
Clarify note regarding upgrade from older version.
2026-03-22 21:18:14 +01:00
Liam Cottle
8009cf0d14
Merge pull request #2126 from recrof/allow-lower-freq
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
Allow to set lower LoRa frequency
2026-03-23 02:04:19 +13:00
Rastislav Vysoky
285fc685c5
allow to set lower LoRa frequency
2026-03-22 13:54:42 +01:00
Liam Cottle
1ccb054aeb
Merge pull request #2109 from jbrazio/2026/from-bun-to-node
...
Update devcontainer features to use Node instead of Bun
2026-03-23 01:13:16 +13:00
ripplebiz
d4ba66cc14
Merge pull request #2124 from weebl2000/fix-radio-rxgain-true-by-def
...
Make radio.rxgain true by default after upgrades
2026-03-22 19:46:11 +11:00
Wessel Nieboer
ff5aad71a6
Make radio.rxgain true by default after upgrades
2026-03-22 08:35:32 +01:00
Liam Cottle
127057e7bc
Merge pull request #2042 from whywilson/dev
...
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Waiting to run
PR Build Check / build (Heltec_v3_repeater) (push) Waiting to run
PR Build Check / build (Heltec_v3_room_server) (push) Waiting to run
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Waiting to run
PR Build Check / build (PicoW_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Waiting to run
PR Build Check / build (RAK_4631_repeater) (push) Waiting to run
PR Build Check / build (RAK_4631_room_server) (push) Waiting to run
PR Build Check / build (wio-e5-mini_repeater) (push) Waiting to run
Add GAT562 Mesh EVB Pro Repeater and Room Server
2026-03-22 13:57:30 +13:00
Konstantin
c7b8db55e6
Fix typo for ThinkNode M5 room server environment
2026-03-21 23:09:28 +01:00
whywilson
b07ab2bc55
Remove useless define in GAT562_Mesh_EVB_Pro.
2026-03-21 20:45:29 +08:00
João Brázio
0ac33479d3
fix: update devcontainer features to use node instead of bun
2026-03-21 11:47:22 +00:00
Jeroen Vermeulen
7e6d8dde13
Update note about setting when upgrading
...
Clarified note regarding default setting for upgrades from older versions.
See https://github.com/meshcore-dev/MeshCore/pull/1653#issuecomment-4101341378
2026-03-20 23:54:48 +01:00
Jeroen Vermeulen
dbfc29b06a
Documented get/set radio.rxgain CLI command
...
Added documentation for RX Boosted Gain Mode commands.
2026-03-20 22:46:53 +01:00
ripplebiz
7fa7ac24db
Merge pull request #1867 from Quency-D/dev-heltec-v4.3
...
add heltec v4.3 board
2026-03-20 20:54:51 +11:00
Liam Cottle
0b0fdb83d4
Merge pull request #2097 from Quency-D/heltec-t096
...
add heltec_mesh_node_t096 board.
2026-03-20 22:25:12 +13:00