cc66f7c79b
Crowpanel 4.3, 5.0, 7.0 support ( #6611 )
...
* SD software SPI control
* fix notification crash;
* allow wake on touch
* don't build non-MUI variants
* use pwm buzzer
* Finalize support for Crowpanel TFT 2.4, 2.8 and 3.5
* add hardware ID for TFT panels
* Add stubs for the bigger panels. WIP!
* fix braces
* elecrow 4.3, 5.0, 7.0 support
* completed implementation 4.3, 5.0, 7.0 variants
* NodeDB default config & simplified light sleep macros
* trunk fmt
* remove flags
* removed leftovers (note: rtc gpios are only needed for deep sleep; the remove section caused issues with the elecrows)
---------
Co-authored-by: mverch67 <manuel.verch@gmx.de >
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com >
Co-authored-by: Austin <vidplace7@gmail.com >
2025-05-13 14:15:52 +02:00
e1417cff2e
[create-pull-request] automated change ( #6804 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-05-13 06:59:26 -05:00
b9fcd9da23
Add some no-nonsense coercion for self-reporting node values ( #6793 )
...
* Add some no-nonsense coercion for self-reporting node values
* Update src/mesh/PhoneAPI.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-11 18:08:29 -05:00
Ben Meadors and GitHub
2a06b058fd
Only send nodes on want_config of 69421 ( #6792 )
2025-05-11 15:18:53 -05:00
Austin and GitHub
62421a83fd
Fix EVENT_MODE on mqttless targets ( #6750 )
2025-05-06 13:12:25 -04:00
d75c91a760
[create-pull-request] automated change ( #6732 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-05-04 08:39:59 -05:00
Austin and GitHub
152b8b1b02
Revert "router: on linux add a mutex around the queue ( #6709 )" ( #6726 )
...
This reverts commit 987623567a .
2025-05-02 13:53:25 -04:00
Jorropo and GitHub
987623567a
router: on linux add a mutex around the queue ( #6709 )
...
UDP reception happens on an other thread, avoid data races and potential data corruption issues.
2025-05-01 06:32:20 -05:00
e0b1fdb5e8
Rate limit waypoints and alerts and increase to allow every 10 seconds instead of 5 ( #6699 )
...
* Rate limit waypoints and alerts and increase to allow every 10 seconds instead of 5.
* Update src/mesh/PhoneAPI.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Doot
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-04-30 06:08:10 -05:00
a7ef9e9c08
udp-multicast: remove the thread from the multicast thread API ( #6685 )
...
* udp-multicast: remove the thread from the multicast thread API
The whole API is parallel & asynchronous we don't need to start a thread ourself,
the implementation probably does when we call start listening already.
* Take copilot advice and call it a handler
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-04-30 05:52:42 -05:00
GUVWAF and GitHub
b1e35cd8b3
Fix preamble detected IRQ flag ( #6653 )
2025-04-22 14:21:29 -05:00
Nivek-domo and GitHub
2b57ffafd7
Rak13800 Ethernet works on rak11310 too
...
we can use rak13800 on rak11310 too
2025-04-20 18:51:01 +10:00
74b3dc34e4
Fix crash when clearing NRF52 BLE bonds ( #6609 )
...
* Fix crash before clearing BLE bonds
* Prevent clients re-pairing BLE during factory reset
Clients seem able to re-pair BLE after clearing bonds during factory reset, even after advertising disabled. This seems to primarily occur on Android devices, which seem to more actively maintain the BLE connection.
As a workaround, `NRF52Bluetooth::shutdown` swaps the BLE pairing callback to one which actively rejects new connections.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-04-17 17:11:42 -05:00
ef14967fbf
Crowpanel 2.4,2.8 and 3.5 support ( #6355 )
...
Co-authored-by: mverch67 <manuel.verch@gmx.de >
2025-04-17 16:03:37 +02:00
c177c6d655
[create-pull-request] automated change ( #6610 )
...
Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com >
2025-04-17 05:33:42 -05:00
github-actions[bot] and GitHub
4477031971
[create-pull-request] automated change ( #6599 )
2025-04-16 09:46:06 +02:00
cf5c8de92e
Fix spurious button presses on some T-Echos ( #6590 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-04-15 20:33:44 -05:00
4e30023a4b
[create-pull-request] automated change ( #6589 )
...
Co-authored-by: fifieldt <1287116+fifieldt@users.noreply.github.com >
2025-04-15 06:41:33 -05:00
69f938ea98
Send UDP packet even if it's encrypted ( #6524 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-04-09 06:13:49 -05:00
606abfc116
Fix several features of M1 and M2 (i know what the 7 is now ...) ( #6507 )
...
* Fix several features of M1 and M2 (i know what the 7 is now ...)
* 'THe' should be 'The'.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove floating definition
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-04-07 05:46:22 -05:00
860e8eca5a
[create-pull-request] automated change ( #6511 )
...
Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com >
2025-04-07 11:51:05 +02:00
Ben Meadors and GitHub
0110275494
Revert "Try-fix ESP32 wifi disconnects ( #6363 )" ( #6493 )
...
This reverts commit a902776e57 .
2025-04-04 04:59:31 -05:00
4dfba50304
[create-pull-request] automated change ( #6490 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-04-03 20:23:44 -05:00
rcarteraz and GitHub
1017f6af35
remove very long slow ( #6486 )
2025-04-03 09:07:43 -05:00
Manuel and GitHub
ea4ce8d827
MUI unPhone-tft: fix defaults ( #6477 )
2025-04-01 08:53:15 -05:00
850d21dcb9
Add a static_assert to verify assumption about NodeInfoLite size ( #6428 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-03-30 20:39:01 -05:00
e79d4492e8
[create-pull-request] automated change ( #6468 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-03-30 20:33:22 -05:00
32d91ed859
[create-pull-request] automated change ( #6464 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-03-30 14:35:51 -05:00
3148e7277d
Fix a couple of warnings ( #6445 )
...
* Fix a couple of warnings
* fix build error
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-03-29 08:14:24 -05:00
a902776e57
Try-fix ESP32 wifi disconnects ( #6363 )
...
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2025-03-29 07:18:03 -05:00
Austin and GitHub
4e1030ef9c
Fix USERPREFS_EVENT_MODE compile error ( #6408 )
2025-03-28 06:31:24 -05:00
Jorropo and GitHub
6429eca5e4
udp-multicast: do not listen for incoming udp multicast packets if disabled ( #6397 )
...
Currently the config flag only control if packets are sent, not received.
As we discussed in VC this is not what was intended.
2025-03-26 18:10:56 +11:00
Austin and GitHub
33f2b7144f
Default to UDP enabled if it's available ( #6394 )
2025-03-25 11:39:19 -05:00
Austin and GitHub
0ddb507055
userPrefs: Add WiFi SSID/PW, and UDP multicast configs ( #6387 )
2025-03-24 19:38:47 -05:00
3afe84c4f4
linux-native: allow multiple processes to all bind to the same multicast 2tuple ( #6391 )
...
* cleanup UdpMulticastThread.h preprocessor rules a tiny bit
* bump platform-native to allow for multiple multicast listeners on the same machine
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-03-24 19:30:47 -05:00
Chloe Bethel and GitHub
e722a97987
Don't use assert() in MeshService to guard queueing packets ( #6388 )
2025-03-24 23:26:59 +01:00
cf7f0f9d08
Fix NodeInfo exploit overwriting publicKey in NodeDB ( #6372 )
...
Co-authored-by: dfsx1 <dfsx1@users.noreply.github.com >
2025-03-23 05:49:06 -05:00
Tom Fifield and GitHub
1e4a0134e6
Remove unnecessary null pointer check ( #6370 )
...
Further pointed out by @elfring, this patch removes one more unnecessary null pointer check.
https://github.com/meshtastic/firmware/issues/6170#issuecomment-2744002798
2025-03-21 19:55:11 -05:00
848a3ed6a1
implement littlefs for stm32 ( #5987 )
...
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Daniel Peter Chokola <dan.chokola@gmail.com >
Co-authored-by: Mark Trevor Birss <markbirss@gmail.com >
Co-authored-by: Austin <vidplace7@gmail.com >
2025-03-21 16:12:27 +01:00
github-actions[bot] and GitHub
fd7a1f2ccb
[create-pull-request] automated change ( #6365 )
2025-03-21 14:28:23 +01:00
Tom Fifield and GitHub
ae27aaaf43
Remove unnecessary null pointer checks ( #6358 )
...
As reported by @elfring, we had several points in our code where
it was unnecessary to check pointers were non-null before deleting them.
Fixes https://github.com/meshtastic/firmware/issues/6170
2025-03-21 05:54:42 -05:00
31c0e8fa2c
Support WiFi OTA ( #6352 )
...
* Support WiFi OTA
* Fix trunk warnings
* Make getVersion() check for project name too
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-03-20 13:39:33 -05:00
Austin and GitHub
46235f6f8b
RP2xx0: Add UDP Multicast support ( #6327 )
2025-03-20 08:49:28 -05:00
d1068fd1e4
Add UDP multicast support on linux. ( #6342 )
...
* Add UDP multicast support on linux.
Closes #6326
We tested it an it works.
This is really hacky to say the least.
* Add libuv to Linux packaging
* Trunkadunk
* Correct ref
* Add libuv1-dev to setup-native
---------
Co-authored-by: vidplace7 <vidplace7@gmail.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-03-20 08:47:39 -05:00
f41afb14b1
raise the multicast UDP TTL limit ( #6343 )
...
Since 96ba94843b we don't spray packets to all machines on the network.
So we can allow ourself to raise the TTL limit, this allows users who run L3 IGMP Routing infrastructure to pass meshtastic frames over UDP.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-03-20 05:41:29 -05:00
Austin and GitHub
6673cb9292
Increase MAX_NUM_NODES on high-flash ESP32_S3 ( #6311 )
2025-03-18 20:19:51 -05:00
Ben Meadors
9cc13e628a
Stubbed out backup / restore methods for now and fixed bug
2025-03-17 19:24:47 -05:00
af8b64e84e
pass pointer to UDP multicast packet to protobuf decoder ( #6333 )
...
The packet.readBytes API is not available on all targets:
- RP2040 & RP2340
- yet to be written portduino API
Instead pass the data buffer as-is.
It also removes a memcpy which do not need to exists.
I've tested it successfully on a tbeam.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-03-16 19:36:33 -05:00
Jorropo and GitHub
96ba94843b
Send UDP packets to multicast address rather than broadcast address ( #6331 )
...
A smart router or switch is able to snoop the multicast address to
only send the packets to nodes listening on the multicast address.
Before all machines reachable on the L2 layer would receive the packet.
2025-03-16 19:36:02 -05:00
Ben Meadors
dc100e4d3e
Cleanup
2025-03-16 08:19:46 -05:00