99 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 107b37b5f4 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:35:35 +02:00
João Brázio dbb2aeee00 Ensure command buffers stay NUL-terminated to prevent overflow
The serial command buffers must stay NUL-terminated within their
bounds: if they ever aren't, strlen() can return >= sizeof(command)
and the read loop would index past the buffer. Additionally, a full
buffer now becomes a completed line (end-of-line marker placed
inside the buffer, NUL terminator kept) instead of overwriting the
terminator and silently corrupting the buffer for the next pass.

Applies to the serial CLI readers of the repeater, room server,
sensor and secure chat examples, and to the CLI rescue reader of
the companion example.
2026-09-04 20:01:39 +01:00
tthandClaude Opus 5 bd60aa4322 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 02:19:04 +02:00
Scott Powell 644e68d0ff * new TXT_TYPE_CLI_COMMAND (3) 2026-08-23 22:04:05 +10: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
tthandClaude Opus 5 a5de8624d7 fix(contacts): zero ContactInfo before a partial fill
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 12:27:43 +02:00
Scott Powell 49319023e5 Merge branch 'dev'
# Conflicts:
#	docs/payloads.md
2026-08-09 14:36:53 -04:00
Quency-D 1a1239844c Merge branch 'dev' into solar-watchdog 2026-07-04 16:47:37 +08:00
Scott Powell 03dce189f1 * fix for anon contacts when full 2026-06-14 17:50:41 +10:00
Quency-D 1b2faf07fc Merge branch 'dev' into solar-watchdog 2026-05-09 18:08:32 +08: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
Quency-D ef83591306 Merge pull request #10 from meshcore-dev/dev
merge Dev
2026-04-27 14:48:26 +08: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
Wessel Nieboer d7b406eb9a Address review comments 2026-03-04 03:13:53 +01:00
Scott Powell 62320b64c5 * refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits)
Squashed commits:
[f326e25] * misc
[fa5152e] * new 'path mode' parsing in Dispatcher
2026-02-21 19:35:51 +11:00
Quency-D 03fa3b767e Merge branch 'dev' into solar-watchdog 2026-02-09 10:15:50 +08:00
Wessel Nieboer 20e71ebc53 Allow negative tx power
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
2026-02-06 02:24:51 +01:00
liamcottle c8992ae5b6 added build flag to enable/disable boot advert 2026-01-26 22:39:39 +13:00
Quency-D e902293246 Add an external watchdog module 2026-01-22 15:03:40 +08:00
ViezeVingertjes 40a09e9450 Implement token bucket duty cycle enforcement 2026-01-04 21:33:46 +01:00
Scott Powell 7ff483ab74 * Fix for VolatileRTCClock wrapping around to initial synced time every 49 days 2025-10-30 16:45:50 +11:00
Scott Powell a5b7fe3fdb * proposed change for re-trying reciprocal path transmit 2025-09-08 19:22:59 +10:00
Scott Powell 28c0be48eb * companion: new CMD_GET_ADVERT_PATH -> RESP_CODE_ADVERT_PATH 2025-06-18 16:02:09 +10:00
Scott Powell 9ea6f91c09 * workaround for nRF + LittleFS glitch with seek/truncate 2025-05-20 16:29:09 +10:00
Scott Powell 2745f73f50 * new: SensorManager
* BasChatMesh: new onContactRequest(), for PAYLOAD_TYPE_REQ handling.
* companion, repeater and room_server: now with basic 'plumbing' to handle REQ_TYPE_GET_TELEMETRY_DATA (0x03).
* dependency: added CayenneLPP to libdeps
* all target.* modules now with a stub 'sensors' object.
2025-05-03 13:14:03 +10:00
Scott Powell 264f51d510 * RP2040 IdentityStore begin(), to ensure mkdir() 2025-04-22 15:26:04 +10:00
AeroXuk eba02b1915 Correct opens to use "w" filemode instead of "w+" filemode. 2025-04-21 21:49:41 +01:00
AeroXuk 6b34a94fb3 Added Pi PIcoW support in the following modes:
- Companion Radio over USB Serial
- Repeater
- Room Server
- Terminal Chat
2025-04-21 21:17:03 +01:00
Scott Powell 7d731e82f5 * ID hash 0x00 and 0xFF now reserved for future. 2025-04-06 12:34:09 +10:00
Scott Powell 06684438b3 * refactor: rtc_clock now defined by variants/*/target modules 2025-03-27 21:28:06 +11:00
Scott Powell c8fa816dfc * new ESPNOWRadio driver
* refactored the examples/*/main.cpp modules, moving radio specifics to variants/*/target modules
* new Generic_ESPNOW_* target envs
2025-03-27 19:34:16 +11:00
Scott Powell 696dbded26 * experiment: enabling forwarding in terminal chat 2025-03-26 03:57:36 +11:00
Scott Powell 83138bd39a * fix for double radio.begin(). RNG seed from pressing ENTER 2025-03-25 17:40:36 +11:00
Scott Powell e12d7bf699 * wifi power max 2025-03-25 15:13:07 +11:00
Scott Powell c97c27561a * more experiments 2025-03-25 01:26:46 +11:00
Scott Powell 7fff6dfe5c * ESP-NOW experiment with terminal-chat 2025-03-24 21:16:00 +11:00
Scott Powell 41918efd6d * BIG refactor: 'board' and 'radio' objects now defined in 'target.h/.cpp'
* mesh::RTCClock class moved to MeshCore.h
2025-03-21 18:57:12 +11:00
ripplebiz b2c393ff58 Merge pull request #114 from lincomatic/pr-llcc68
Add ProMicroLLCC68 builds
2025-03-18 13:45:03 +11:00
Scott Powell 3aa7cf5652 * redesigned TRACE packet structure 2025-03-17 17:56:12 +11:00
lincomatic 28fb5875b2 add ProMicroLLCC68 for Faketec w/ LLCC68 2025-03-16 17:48:52 -07:00
Scott Powell a63a6ec6d4 Merge branch 'dev' into trace
# Conflicts:
#	examples/companion_radio/main.cpp
#	src/Dispatcher.cpp
2025-03-15 15:12:50 +11:00
oltaco 84dbc284ad Merge branch 'ripplebiz:main' into faketec-support 2025-03-13 16:22:02 +11:00
Scott Powell 60982b3821 * companion: channel names 2025-03-11 17:58:12 +11:00
taco aada976237 Faketec board support, including build targets 2025-03-11 09:34:52 +11:00
Scott Powell 2df1820424 * trying setCRC(1) 2025-03-09 22:15:58 +11:00
Scott Powell c1f51e8996 * companion: FIRMWARE_VER_CODE now bumped to 3.
* companion: new RESP_CODE_CONTACT_MSG_RECV_V3, and _CHANNEL_MSG_RECV_V3. (now with packet SNR included)
2025-03-07 14:17:37 +11:00
Scott Powell 8379a785cc Merge branch 'dev' into trace
# Conflicts:
#	src/Dispatcher.cpp
#	src/Mesh.cpp
#	src/helpers/BaseChatMesh.cpp
2025-03-07 12:14:26 +11:00
Alex Wolden 8d09e0f5c0 Merge remote-tracking branch 'origin/dev' into awolden/t3lora 2025-03-04 23:23:03 -08:00
Alex Wolden 22b3d7c435 Refactor naming 2025-03-04 22:00:48 -08:00
Alex Wolden 30e0047809 Add support for LilyGo T3 with SX1276 module
- Add custom partition table for fitting larger firmware
- Create LilyGoT3S3Board.h for board-specific functionality
- Update all example files to support the T3 board with SX1276
- Configure build environment for optimizing firmware size
- Set up the right pin configuration for SX1276 on LilyGo T3
2025-03-04 00:07:36 -08:00