Commit Graph
3867 Commits
Author SHA1 Message Date
fdlamotte 7dafdf239a Merge pull request #3972 from MarkRose/fix/gps-date-range-checks
GpsGuard: range-check the GPS date and time for both NMEA and RAK12500 🤖🤖
2026-12-01 11:17:12 -04:00
fdlamotte c36ac45865 Merge pull request #3966 from cryptomaxsun/feat/ui-compact-clock-date
Companion UI: add compact 128x64 clock/date layout, RTC guard, and e-ink minute refresh
2026-12-01 11:11:24 -04:00
Liam Cottle 976038717f Merge pull request #3925 from venamartin/meshtrax-allocation
Add MeshTrax allocation for GroupData
2026-12-01 21:27:16 +13:00
venamartin 36ffbe86f2 MeshTrax: a single data type, 0170 2026-11-30 20:22:27 -08:00
Liam Cottle 4891a799bb Merge pull request #4005 from Blake-Latchford/docs/room-post
Document the room server room.post command
2026-12-01 16:02:40 +13:00
Blake LatchfordandClaude Opus 5.5 7b2135412a Document the room server room.post command
room.post was added to the room server CLI in #2688 but not to
docs/cli_commands.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 08:40:24 -05:00
Liam Cottle eb8fdb5e06 Merge pull request #3914 from razzeee/feature/m1-empty-lists
Show when the companion has no adverts or sensor readings
2026-11-30 14:07:51 +13:00
Liam Cottle f88242f2a6 Merge pull request #3987 from jadonfloyd/wio-l1-overridable-joystick-pins
Make Wio Tracker L1 joystick pins overridable
2026-11-30 12:02:25 +13:00
cryptomaxsun 39fa6597c6 ui: drop redundant e-ink refresh special case (handled by display CRC) 2026-11-29 19:57:34 +02:00
Scott Powell c2036b9502 * sec patch 2026-11-29 16:06:00 +11:00
ripplebiz 8603065de7 Merge pull request #3936 from meshcore-dev/sensor-gps-movement
Sensor GPS telemetry push
2026-11-29 10:51:44 +11:00
Mark RoseandClaude Opus 5.5 16a68f218a RAK12500 GPS: range-check the module's date, wait for the first NAV-PVT
getTimestamp() called the SparkFun library's getUnixEpoch(), which
indexes its day tables with the module's year and month unchecked. Use
GpsGuard::epochFromFields() instead, which returns 0 (already treated as
"no time" by RakLocationProvider) for an implausible date.

hasFix() returned the library's fix flag before any NAV-PVT had
arrived. The library doesn't clear that record, so until the first
reply the flag, position and date were whatever was on the heap. Wait
for the first NAV-PVT.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:12:35 -06:00
Mark RoseandClaude Opus 5.5 96db79dbc0 GpsGuard: convert the receiver's date and time with range checks
MicroNMEA turns any two characters of a checksum-valid GGA/RMC time or
date field into a number, so month, day, hour, minute and second can
each be 0..255. getTimestamp() passed them to RTClib's DateTime, whose
date2days() walks its 11-entry days-per-month table up to the given
month: a read of up to 243 bytes past it. The result was then written
to the RTC. GpsGuard only sees the epoch afterwards, and only when
GPS_GUARD is enabled.

Add GpsGuard::epochFromFields(), which returns 0 for a date or time out
of range (year 2020..2099, the day checked against the month). It is
static and available with or without GPS_GUARD. The NMEA provider uses
it for its timestamp, and doesn't sync the clock, report a clock offset
or apply GPS time when the fields are out of range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:12:35 -06:00
Jadon FloydandClaude Opus 5.5 716e76c731 Make Wio Tracker L1 joystick pins overridable
Wrap the JOYSTICK_* pin defines in variants/wio-tracker-l1/variant.h
in #ifndef guards so builds can remap them with -D flags, e.g. for
enclosures that mount the display rotated 90 degrees relative to the
joystick. No change to default behavior.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XZSU585Bf7KxVsYxYZyfun
2026-11-27 22:50:37 -07:00
Liam Cottle bda1c586f1 Merge pull request #3945 from MarkRose/fix/contact-name-nul
Terminate contact names received from the companion app 🤖🤖
2026-11-28 10:29:02 +13:00
ripplebiz e730d2ecb2 Merge pull request #3950 from praguevara/fix-acl-admin-overwrite
Fix admin being overwritten when the client ACL is full of admins
2026-11-27 22:18:14 +11:00
Mark RoseandClaude Opus 5.5 3accaf358d Bound the contact name copy into the UI recent list
addToRecents() in the new and tiny companion UIs strcpy()s the contact
name into a 32-byte field. Names are terminated on receipt now, but use
a bounded copy here as well, like the other name copies in the UIs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:23:50 -06:00
cryptomaxsun 39da9ce46e ui: add compact 128x64 clock/date layout, RTC sync guard, and e-ink minute refresh 2026-11-26 21:45:47 +02:00
Pablo Ramón Guevara 6ae61bbb40 fix bug where a login from a new identity silently removes an admin 2026-11-26 18:33:12 +01:00
venamartin 5a86072ec6 Add MeshTrax allocation for GroupData 2026-11-26 07:59:40 -08:00
Mark RoseandClaude Opus 5.5 e86ed1373b Terminate contact names received from the app
updateContactFromFrame() copies 32 name bytes from the companion frame
without terminating them, so an app (or a corrupt frame) can store a name
with no NUL. The UI then passes it to sprintf() into fixed-size origin
buffers. Terminate the name on receipt and use snprintf() in both UIs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:02:20 -06:00
ripplebiz 505ae195dd Merge pull request #3918 from zaventh/docs/knit-allocation
Add Knit allocation for GroupData
2026-11-26 11:01:54 +11:00
fdlamotte 04efa6d119 Merge pull request #3912 from razzeee/fix/companion-gps-no-fix
Hide coordinates until GPS has a fix
2026-11-25 09:01:48 -04:00
fdlamotte 19fb356e85 Merge pull request #3926 from obook/m6-i2c-bus-recovery
fix(thinknode_m6): Free the I2C bus before probing the RTC
2026-11-25 08:59:11 -04:00
fdlamotte 8322949af8 Merge pull request #3929 from obook/m1-usb-gps
feat(thinknode_m1): Enable the GPS on the USB companion
2026-11-25 08:52:38 -04:00
fdlamotte b9054f61a4 Merge pull request #3835 from marcelverdult/claude/t096-register-patch-upstream
fix(heltec_t096): enable the 0x8B5 register patch like the Heltec V4
2026-11-25 08:50:30 -04:00
ripplebiz 5df6dfcf2a Merge pull request #3931 from quyenlt298/feature/ui-button-lock
ui: lock joystick with a Menu double-click
2026-11-25 15:59:14 +11:00
quyenlt298 8f6140b7d3 ui: keep the button lock in UITask only, not in prefs 2026-11-25 11:29:01 +07:00
ripplebiz 516f62908b Merge pull request #3910 from Blake-Latchford/docs/ui-auto-off-keep-msgs
Document the companion ui.auto_off_keep_msgs setting
2026-11-25 15:01:49 +11:00
Scott Powell 4c204e15ce * Companion-new UI: MsgPreviewScreen was showing incorrect hop count 2026-11-25 14:24:30 +11:00
Scott Powell b0fd8e6801 * special case when min_deltas has LPP_GPS value 2026-11-25 12:10:35 +11:00
quyenlt298 915b6acc27 ui: Menu triple-click still toggles the buzzer while locked 2026-11-24 22:41:34 +07:00
quyenlt298 03c92712b1 ui: lock joystick with a Menu double-click 2026-11-24 22:18:12 +07:00
Olivier Booklage 9883dca417 feat(thinknode_m1): Enable the GPS on the USB companion
The BLE build got it in cfa985d2. The USB build runs on the same
hardware.
2026-11-23 22:22:56 +01:00
Olivier Booklage ebde355a60 fix(thinknode_m6): Free the I2C bus before probing the RTC
A reset during an RTC read left SDA held low, and the RTC probe then
hung every boot. Up to nine clock pulses release the bus.
2026-11-23 21:20:43 +01:00
Jeff MixonandClaude Opus 5.5 00520b8bb0 docs: add Knit allocation for GroupData
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:03:01 -08:00
razze 82bf0782f6 Show when the companion has no adverts or sensor readings
Skip empty slots when drawing recent adverts so the list starts at the top.
2026-11-23 03:35:31 +01:00
razze f69fab7759 Hide coordinates until GPS has a fix 2026-11-23 03:31:10 +01:00
Blake LatchfordandClaude Opus 5.5 0e6826d15c Document the companion ui.auto_off_keep_msgs setting
get/set ui.auto_off_keep_msgs was added to the companion CLI in #3687
but not to docs/companion_cli.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:30:27 -05:00
ripplebiz f6cbc11c85 Merge pull request #3903 from hamsolodev/fix/ack-flood-path-retry
Test a flood ACK's route before marking it, so the reciprocal path retry runs 🤖🤖
2026-11-22 22:20:12 +11:00
Liam Cottle 274dd72c10 Merge pull request #3348 from KPrivitt/dev
Documentation change to clarify radio settings and individual country requirements.
2026-11-23 00:01:57 +13:00
ripplebiz 621b001760 Merge pull request #3895 from Blake-Latchford/docs/companion-buzzer-cli
Document the companion buzzer CLI command
2026-11-22 16:12:08 +11:00
mch 713802a714 BaseChatMesh: test an ACK's route before marking it do-not-retransmit
onAckRecv called markDoNotRetransmit(), which sets the header to 0xFF,
before testing isRouteFlood(). 0xFF's route bits read as
ROUTE_TYPE_TRANSPORT_DIRECT, so the test was always false and
handleReturnPathRetry never ran for a flood ACK: the reciprocal path
was never re-sent to a node that was still flooding. Mark the packet
after the test instead.
2026-11-22 15:47:06 +11:00
ripplebiz 0d72bcd44c Merge pull request #3892 from meshcore-dev/repeater-telem-push
Repeater telemetry push
2026-11-22 10:23:36 +11:00
Blake Latchford a5d6db4f62 Document the companion buzzer CLI command
get/set buzzer was added to the companion CLI in #3603 but not to
docs/companion_cli.md.
2026-11-21 12:38:41 -05:00
Scott Powell e3c54039fe * copied sensor telemetry push 2026-11-21 20:59:42 +11:00
fdlamotte cbb830b2b3 Merge pull request #3882 from meshcore-dev/common-prefs-fix
* removed various copied 'dirty' members
2026-11-19 20:25:58 -04:00
ripplebiz 66a01a227f Merge pull request #3881 from meshcore-dev/ui-task-refactor
UI task refactor
2026-11-20 11:17:26 +11:00
Scott Powell 19728e43a5 * removed various copied 'dirty' members 2026-11-20 11:07:37 +11:00
Scott Powell 6ec03df241 * unit test fix 2026-11-20 11:02:45 +11:00