tekk
d5b4315672
fix(companion): gate CMD_SEND_CHANNEL_DATA payload on MAX_GROUP_DATA_LENGTH
...
Payloads of 166 or 167 bytes previously passed the frame-sized bound
(MAX_CHANNEL_DATA_LENGTH = 167) but were rejected by sendGroupData
against MAX_GROUP_DATA_LENGTH (165), causing ERR_CODE_TABLE_FULL (retry
later) to be returned instead of ERR_CODE_ILLEGAL_ARG.
Fixes #3345
2026-09-09 22:10:41 +02:00
Liam Cottle
9350f1dced
Merge pull request #3357 from skandragon/feat/picow-wifi-ble
...
Add WiFi to RPI PicoW (and perhaps others)
2026-09-09 21:55:22 +12:00
liamcottle
bc333d89fa
add new ENABLE_WIFI_INTERFACE build flag for companions without providing ssid and pwd
2026-09-08 22:54:50 +12:00
liamcottle
5be7b3c4ba
simplify and remove 2 as a wifi enabled state
2026-09-08 21:30:17 +12:00
liamcottle
24b2e5e03d
allow remote management of wifi as user has cli permission
2026-09-08 18:33:37 +12:00
liamcottle
7eb95d62b1
simplify response message
2026-09-08 18:30:00 +12:00
liamcottle
170491b34c
allow toggling wifi enabled regardless of stored ssid
2026-09-08 18:25:34 +12:00
Michael Graff
1a664ab6c6
WiFi on/off tri-state: on when SSID set unless explicitly disabled; PicoW ships no default SSID
2026-09-06 22:18:00 -05:00
Michael Graff
0bb10d3902
Add wifi.enabled pref and CLI; skip WiFi when disabled or SSID blank
2026-09-06 21:56:25 -05:00
Michael Graff
fe8d6147d4
Add get wifi.status and get wifi.ip CLI commands
2026-09-06 21:44:47 -05:00
Michael Graff
233a46efeb
Address review: per-variant wifi src, real SSID reply, rename PicoW env
2026-09-06 21:28:04 -05:00
Michael Graff
b0e7bc385a
Fix review findings on Pico W WiFi/BLE
2026-09-06 20:43:37 -05:00
ripplebiz
dd3a8c1d22
Merge pull request #3366 from recrof/companion-cli-fix-2
...
Companion CLI: fixed txdelay, direct.txdelay, agc.reset.interval, int.thresh
2026-09-07 10:42:48 +10:00
Rastislav Vysoky
552351457c
Companion CLI: fixed txdelay, direct.txdelay, agc.reset.interval, int.thresh
2026-09-06 15:14:35 +02:00
Michael Graff
02cc250fc2
Address review findings on WiFi companion support
...
- scope the serial config CLI to RP2040; it was exposing the rescue CLI
(cat/rm/erase) on every ESP32 WiFi build, which gates it behind a
physical long-press
- bound and space out RP2040 rejoins: the core's join busy-waits, so cap
it at 5s and retry every 30s instead of every 10s
- stamp the reconnect timer in setup(), so the first loop() doesn't tear
down an association that is still finishing DHCP
- treat stored credentials as a pair, and pass NULL (not "") for an open
network
- teach build_as_lib.py where SerialWifiInterface moved
2026-09-05 23:15:13 -05:00
Michael Graff
48cc30777d
Allow WiFi credentials to be set at runtime
...
Store ssid/pwd in NodePrefs and set them with 'set wifi.ssid' /
'set wifi.pwd' over USB serial; build-time WIFI_SSID/WIFI_PWD stay as
the fallback. Headless WiFi builds get the config CLI on Serial, which
is otherwise unused there.
2026-09-05 23:15:13 -05:00
Aleksei Mamlin
c9e5cc15ba
companion: get/set timezone offset for clock
...
* Add tz_offset companion prefs and get/set commands for companion cli
* Use tz_offset for clock on display
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com >
2026-08-31 09:08:22 +03:00
fdlamotte
dcd931fa2e
Merge branch 'dev' into node_discover_ui
2026-08-29 11:02:58 -04:00
Scott Powell
6239b462f2
* companion: fix for setSpreadFactor(). "set cad ..." and "board" now implemented.
2026-08-24 20:44:17 +10:00
Scott Powell
5a7bc507d1
* new DynamicConfigSerializer
...
* board/variant KeyValueStore now can write to 'custom' object in Json prefs
2026-08-24 17:12:56 +10:00
Scott Powell
8c73c948b4
* T096, and Station G3: refactoring the 'FEM' prefs to variant-specific code
...
* CommonCLI: 'FEM' commands removed
* introduced static no-op attachDynamicPrefs() for all boards
2026-08-24 01:50:22 +10:00
Florent
a9c977db51
ui: opt-out for discover screen
2026-08-23 10:42:00 -04:00
Scott Powell
ae61e1a61c
support for CMD_SEND_TXT_MSG and new TXT_TYPE_CLI_COMMAND
2026-08-23 22:49:45 +10:00
Scott Powell
644e68d0ff
* new TXT_TYPE_CLI_COMMAND (3)
2026-08-23 22:04:05 +10:00
Scott Powell
2c43bf1ba1
legacy queueMessage() case, eg. repeater replies
2026-08-23 20:07:28 +10:00
Scott Powell
a29ccab178
onCommandDataRecv() use '>' prefix for CLI replies.
2026-08-23 20:03:49 +10:00
Scott Powell
df507deac9
"Unknown command" replies
2026-08-23 19:35:43 +10:00
Scott Powell
414e91fd5d
* adding new CommonRadioPrefs
...
* refactor: moving various radio CLI handling to CommonRadioPrefs
2026-08-23 14:45:15 +10:00
Florent
2678be75bd
ui: repeater discover screen
2026-08-21 18:24:46 -04:00
Scott Powell
5eaf5a86fb
* initial wiring/routing of CLI commands to companion (either via app/serial interface, or remotely via txt message)
2026-08-21 20:55:57 +10:00
liamcottle
b123971e21
fix for 3-byte paths passed to CMD_SEND_RAW_DATA
2026-08-19 18:59:24 +12:00
Scott Powell
44bbf74fbf
Fix for CMD_SEND_RAW_DATA and multi-byte paths
2026-08-18 13:11:15 +10:00
agessaman
f82950f311
feat(companion_radio): add external FEM gain preferences for RX and TX for companions
...
Introduced consistent preferences for external LoRa FEM RX and TX gain settings in NodePrefs. Updated companion MyMesh to apply these settings during initialization and transmission. Added unit tests to verify the round-trip serialization of these new preferences.
2026-08-10 11:59:26 -07:00
liamcottle
3da5f1d4c5
disable cad on companion until it's configurable
2026-08-07 00:19:18 +12:00
Scott Powell
10434a1cfd
* added prefs initialisers to match original zeroed state
2026-07-18 19:22:53 +10:00
Scott Powell
f665188266
* new NodePrefs for companion
2026-07-17 16:05:10 +10:00
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