aboutsummaryrefslogtreecommitdiff
path: root/examples/simple_repeater/MyMesh.cpp
AgeCommit message (Collapse)Author
2026-03-16Merge branch 'dev' into 2026/remote-lnaJoão Brázio
2026-03-16Merge remote-tracking branch 'upstream/dev' into 2026/remote-lnaJoão Brázio
2026-03-16* Repeater and Room Server: flood advert timer now uses the path_hash_mode prefScott Powell
2026-03-08Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucketripplebiz
Implement token bucket duty cycle enforcement
2026-03-07Merge pull request #1877 from DanielNovak/fix-countbefore-sentinel-regressionripplebiz
Fix countBefore regression: replace sentinel with getOutboundTotal()
2026-03-05Add setRxBoostedGain method declaration and implementation for SX1262/SX1268João Brázio
2026-03-05Remove unused RX boosted gain mode functions and related preprocessor ↵João Brázio
directives across multiple variants
2026-03-05Rename sx126x_rx_boosted_gain to rx_boosted_gainJoão Brázio
2026-03-05Merge remote-tracking branch 'upstream/dev' into 2026/remote-lnaJoão Brázio
2026-03-05* LOOP_DETECT_MODERATE bug fixScott Powell
2026-03-05* repeater: new "get/set loop.detect {off | minimal | moderate | strict }"Scott Powell
2026-02-28Replace 0xFFFFFFFF sentinel with explicit getOutboundTotal()Daniel Novak
Instead of overloading getOutboundCount() with a magic sentinel value, add a dedicated getOutboundTotal() method to the PacketManager interface that returns the total queue size without time filtering. This eliminates the fragile convention that caused the regression and makes the two operations — time-filtered count vs total count — explicitly separate in the API.
2026-02-27Merge branch 'dev' into 2026/remote-lnaJoão Brázio
2026-02-23* CommonCLI: added "get/set path.hash.mode "Scott Powell
2026-02-21* refactor of Contact/Client out_path_len (stored in files), from signed to ↵Scott Powell
unsigned byte (+2 squashed commits) Squashed commits: [f326e25] * misc [fa5152e] * new 'path mode' parsing in Dispatcher
2026-02-17Merge pull request #1718 from realtag-github/repeater-v1.13-implement-discoverLiam Cottle
discover sends a single repeater discovery request and populates the neighbor list; self is excluded
2026-02-17* repeater: slight increase to default direct.txdelayScott Powell
2026-02-16Fix LilyGo_TLora_V2_1_1_6_terminal_chat build3DPGG
This change addresses two issues. The first is that the LilyGo_TLora_V2_1_1_6_terminal_chat build would try to compile simple_repeater/MyMesh.cpp. All other examples of terminal chat targets are instead building simple_secure_chat/main.cpp . This change would align this build to the rest of the builds. The second issue, found during the course of investigating the first, stems from simple_repeater/MyMesh.cpp using the MAX_NEIGHBOURS #define to control whether the neighbor list is kept. Repeaters that keep this list must define this value, and if the value is not defined, then all neighbor-related functionality is compiled out. However, the code that replies to REQ_TYPE_GET_NEIGHBOURS did not properly check for this #define, and thus any target that compiles simple_repeater/MyMesh.cpp without defining MAX_NEIGHBOURS would get an undefined variable compilation error. As a practical matter though, there are no targets that compile simple_repeater/MyMesh.cpp AND do not define MAX_NEIGHBOURS, except this build due to the first issue. As a result, the second issue is addressed only as a matter of completeness. The expected behavior with this change is that such a repeater would send a valid reply indicating zero known neighbors.
2026-02-17Allow repeater discovery even if repeater mode is disabled on the requesting ↵realtag
repeater.
2026-02-17Increased the timeout timer to 60 seconds, up from 30 seconds.realtag
2026-02-17discover.neighbors sends a tagged repeater discovery request and only ↵realtag
accepts matching repeater responses
2026-02-17discover sends a single repeater discovery request and populates the ↵realtag
neighbor list; self is excluded
2026-02-10Implement remote lna toggle cli cmdJoão Brázio
2026-02-08Merge pull request #1609 from weebl2000/bridge-always-has-workripplebiz
Bridge always has work (prevents sleep)
2026-02-07Bridge always has work (prevents sleep)Wessel Nieboer
2026-02-06Allow negative tx powerWessel Nieboer
Like SX1262 allows -9 dBm lowest, some allow lower but that probably isn't useful
2026-01-27Merge pull request #1476 from mattzzw/region_via_LoRaripplebiz
Add cli command `region list {allowed|denied}`, enable output of region cmd via remote cli
2026-01-26Add output of region cmd via lora cliMatthias Wientapper
Add cli commands "region list {allowed|denied}"
2026-01-26boot adverts are now zero hop instead of floodliamcottle
2026-01-26Merge pull request #1477 from Cisien/devripplebiz
Expose a counter to track RadioLib receive errors
2026-01-24Expose a counter to track RadioLib receive errorsChris
This change counts when readData returns an err code other than RADIOLIB_ERR_NONE. In most cases this is going to be a CRC error. This counter is exposed in the `stats-packets` command, and in the repeater stats payload (4 additional bytes to the payload, which is now 56 bytes with this change. My incompetent robot claims the total payload size is 96 bytes (unverified but probably close).
2026-01-25allow set prv.key from remote, validate new prv.keytaco
2026-01-25recalc ClientACL shared_secrets at startuptaco
2026-01-25refactor ClientACL and CommonCLI, add ClientACL::clear()taco
2026-01-12* repeater login response, FIRMWARE_VER_LEVEL now bumped to 2Scott Powell
2026-01-12* new req/resp (after login): REQ_TYPE_GET_OWNER_INFO (includes firmware-ver)Scott Powell
* ANON_REQ_TYPE_OWNER, firmware-ver removed (security exploit) * ANON_REQ_TYPE_BASIC, formware-ver removed, just remote clock + some 'feature' bits * CTL_TYPE_NODE_DISCOVER_REQ now ingored if 'repeat off' has been set
2026-01-09* ANON_REQ_TYPE_VER_OWNER now delimited by newline charsScott Powell
2026-01-09* CommonCLI: added "set name ..." validationScott Powell
* ANON_REQ_TYPE_VER_OWNER, now removes commas from node_name
2026-01-09* new ANON_REQ_TYPE_VER (for just simple clock + ver info)Scott Powell
2026-01-09* ANON_REQ_TYPE_VER_OWNER, now includes node_nameScott Powell
2026-01-09* new ANON_REQ_TYPE_VER_OWNERScott Powell
* CommonCLI: new "get/set owner.info ..."
2026-01-08* ANON_REQ_TYPE_REGIONS now direct only, with reply_path encoded in requestScott Powell
2026-01-04Implement token bucket duty cycle enforcementViezeVingertjes
2026-01-03* Repeater: new anon request sub-type: ANON_REQ_TYPE_REGIONS (rate limited ↵Scott Powell
to max 4 every 3 mins) * Companion: new CMD_SEND_ANON_REQ command (reply with existing RESP_CODE_SENT frame)
2025-12-31Merge pull request #1266 from IoTThinks/MCdev-Powersaving-for-esp32-202512ripplebiz
Added powersaving to all ESP32 boards with RTC-supported DIO1
2025-12-27To fix the default temperature to be overridden by external sensors (if any)Kevin Le
2025-12-24Modified hasPendingWork to return boolKevin Le
2025-12-23Added powersaving to all ESP32 boards with RTC-supported DIO1Kevin Le
Added CLI to enable/disable powersaving
2025-12-13Fixed to call getMCUTemperature once.Kevin Le
2025-12-12Added default temperature from ESP32 MCU and NRF52 MCUKevin Le
Added NRF52Board.h and NRF52Board.cpp Modified NRF52 variants to extend from NRF52Board to share common feature