Commit Graph
147 Commits
Author SHA1 Message Date
Jaroslav Škarvada 75235de0fd Added MCU temp sensor to the companion
Fixes #2896
2026-07-14 17:43:33 +02:00
Wessel Nieboer e77b6b101f Have CAD be a separate toggle (set cad on/off) 2026-06-14 15:20:58 +02:00
Wessel Nieboer 720cd75167 Use hardware channel activity detection for checking interference 2026-06-14 15:19:18 +02:00
Scott Powell e2a00e664e * fix for anon lastmod 2026-06-14 18:54:51 +10:00
Scott Powell 03dce189f1 * fix for anon contacts when full 2026-06-14 17:50:41 +10:00
liamcottle 145d50bda9 use releasePacket instead of _mgr->free 2026-06-09 00:42:58 +12:00
liamcottle 309ed80fa6 free packet on parse failure 2026-06-09 00:31:48 +12:00
Liam Cottle cfe27b3a6f Merge pull request #2672 from meshcore-dev/non-contact-requests
Non contact requests
2026-06-04 16:05:47 +12:00
Sefinek 4ace26210c docs: fix typos, grammar, and formatting in FAQ and code comments 2026-06-02 22:12:18 +02:00
Scott Powell c09f9c7a1f * direct/zero hop by default 2026-06-02 15:32:28 +10:00
Liam Cottle c63390650d Merge pull request #2636 from sefinek/fix/cmd-device-query-typo
fix: rename CMD_DEVICE_QEURY to CMD_DEVICE_QUERY
2026-06-02 12:41:57 +12:00
Scott Powell e0b87d5ed3 * contacts sync fix
* fix for reusing transient/anon contacts only
2026-06-01 19:04:42 +10:00
Scott Powell 26ce9cf733 * first draft 2026-06-01 16:49:31 +10:00
Scott Powell 4c64c374c9 * power saving: hasPendingWork() now also checks if there's a pending contacts write 2026-05-31 18:52:42 +10:00
ripplebiz 580032b6a8 Merge pull request #2286 from IoTThinks/MCdev-PowerSaving-for-nrf52-companion-202604
Added Power Saving for NRF52 companions to have extra 30% battery life
2026-05-31 18:49:46 +10:00
Sefinek d087ae4b55 fix: rename CMD_DEVICE_QEURY to CMD_DEVICE_QUERY 2026-05-28 14:39:12 +02:00
Rastislav Vysoky 34688b0696 Companion repeat: update to more usable default EU frequency
869.495 is in 869.4 to 869.65 range which does have 10% duty cycle and 500mW ERP.
2026-05-22 17:04:19 +02:00
Kevin Le 111a1e04fc Fixed hasPendingWork for BLE companions 2026-05-22 10:58:21 +07:00
Kevin Le 68bdd61983 Added Power Saving for NRF52 companions 2026-05-22 10:58:17 +07:00
Scott Powell efa0f86fa7 * new CMD_SEND_RAW_PACKET 2026-05-13 13:28:56 +10:00
liamcottle f35f5b9b5e add build flag to configure allowed repeat freq range 2026-05-08 20:16:45 +12:00
Scott Powell f63fdc0ad4 * CMD_SET_FLOOD_SCOPE_KEY, now with second variant for explicitly sending un-scoped
* FIRMWARE_VER_CODE bumped to 12
2026-05-07 16:51:03 +10: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
Scott Powell 6139b1985d * companion: simplified the CMD_GET / CMD_SET _DEFAULT_FLOOD_SCOPE 2026-04-13 23:11:21 +10:00
Scott Powell 17fbce5f73 * companion: RegionMap now used in Datastore
* companion: new CMD_SET_DEFAULT_FLOOD_SCOPE
* support for regional builds with DEFAULT_REGION_SCOPE
2026-04-13 21:06:53 +10:00
Scott Powell 750ec23916 * Companion: default scope 2026-04-10 17:01:41 +10:00
liamcottle f7cd7cf6bd add define for reserved group data type 2026-03-23 23:09:35 +13:00
liamcottle c0d3c306b9 reorder command args 2026-03-23 23:02:24 +13:00
liamcottle afae6cf7ec add support for direct paths when sending group data 2026-03-23 21:46:21 +13:00
Liam Cottle 929ae65390 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
Rastislav Vysoky 2ae9ef59a6 allow to set lower LoRa frequency 2026-03-22 13:54:42 +01:00
Janez T 692f95e955 fix: Widen grp data type
ref: #1928
2026-03-19 09:25:42 +01:00
Janez T 9008c729a7 fix: Drop grp data timestamp
ref: #1928
2026-03-19 09:22:12 +01:00
Janez T 05e5b40dd7 fix: Align channel data framing
ref: #1928
2026-03-18 20:14:22 +01:00
Janez T bb5d8715b0 fix: address comments
ref:
2026-03-18 20:09:11 +01:00
Janez T f0fff51987 feat: Add support for PAYLOAD_TYPE_GRP_DATA
Docs changes are to reflect how it is currently in fw

This adds ability to send datagram data to everyone in channel
2026-03-18 20:08:52 +01:00
João Brázio 569bdeb083 Merge branch 'dev' into 2026/remote-lna 2026-03-16 09:40:10 +00:00
João Brázio 4bd027c79b Merge remote-tracking branch 'upstream/dev' into 2026/remote-lna 2026-03-16 09:37:55 +00:00
ripplebiz 71e1e63dfd Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket
Implement token bucket duty cycle enforcement
2026-03-08 23:54:32 +11:00
ripplebiz 1391fda85b Merge pull request #1877 from DanielNovak/fix-countbefore-sentinel-regression
Fix countBefore regression: replace sentinel with getOutboundTotal()
2026-03-07 18:48:02 +11:00
João Brázio 2e52efb209 Remove unused RX boosted gain mode functions and related preprocessor directives across multiple variants 2026-03-05 18:38:57 +00:00
João Brázio e8b758532c Rename sx126x_rx_boosted_gain to rx_boosted_gain 2026-03-05 18:14:47 +00:00
João Brázio a5dc732fb0 Merge remote-tracking branch 'upstream/dev' into 2026/remote-lna 2026-03-05 17:21:38 +00:00
Wouter Bijen 59d1548b86 Clamp max_hops to 64 to cover full protocol hop range (0-63) 2026-03-03 09:05:53 +01:00
Wouter BijenandClaude Opus 4.6 79d0623e3c Address PR review: subtract-1 encoding and clamp max_hops
- Change > to >= so stored value 1 means direct/0-hop only (liamcottle)
- Clamp max_hops to 63 on write since getPathHashCount() caps at 63 (robekl)
- Update comments to reflect encoding: 0=no limit, 1=direct only, N=up to N-1 hops

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:37:22 +01:00
Wouter BijenandClaude Opus 4.6 e20b41631b Add configurable max hops filter for auto-add contacts
Filter auto-add of new contacts by hop count (issues #1533, #1546).
Setting is configurable from the companion app via extended
CMD_SET/GET_AUTOADD_CONFIG protocol (0 = no limit, 1-63 = max hops).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 20:41:41 +01:00
Daniel Novak 3c4d10f55c Replace 0xFFFFFFFF sentinel with explicit getOutboundTotal()
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-28 17:19:04 +01:00
João Brázio 75508ac10b Merge branch 'dev' into 2026/remote-lna 2026-02-27 10:32:14 +00:00
Wessel Nieboer 50bddbee61 Fix remote LNA toggle bugs: correct register comparison, add missing implementations, wire up companion radio
getRxBoostedGain was returned true because both 0x94 (power saving) and
0x96 (boosted gain = 1) return true
2026-02-24 23:49:06 +01:00
Scott Powell 06d1e462dd * CMD_GET_ADVERT_PATH bug fix 2026-02-24 14:23:59 +11:00