Commit Graph

1837 Commits

Author SHA1 Message Date
ViezeVingertjes 963556f9ba Updated BLE functionality for low power mode in SerialBLEInterface. Updated platformio.ini to enable low power mode and added DC/DC converter support in T1000eBoard for improved power efficiency. 2025-09-05 10:46:51 +02:00
João Brázio 375093f78d Add nRF52 support and refactor packet handling
This commit introduces several improvements to the SerialBridge helper:

- Adds support for the nRF52 platform by implementing the `setPins` configuration.
- Corrects the type cast for the RP2040 platform from `HardwareSerial` to `SerialUART`.
- Refactors packet deserialization to use a new `Packet::readFrom()` method instead of a direct `memcpy`, improving encapsulation.
- Updates the packet length validation to use the more appropriate `MAX_TRANS_UNIT` constant.
2025-09-05 09:22:06 +01:00
ripplebiz 0e3933f18a Merge pull request #731 from oltaco/tracker-l1-platformio-tidy
Wio Tracker L1: correct platformio.ini defines
2025-09-05 13:44:58 +10:00
ripplebiz c396ed9a05 Merge pull request #706 from recrof/patch-5
fixed max_contacts to 300 for heltec v3 companion_ble
2025-09-05 13:22:52 +10:00
João Brázio 77ab19153e Add serial logging for TX/RX packets 2025-09-05 02:07:26 +01:00
João Brázio 2b920dfed3 Rework packet serialization and parsing 2025-09-05 01:50:50 +01:00
João Brázio ee3c4baea5 Prevent packet loops and duplicates
Implement a "seen packets" table to track packets that have already been processed by the serial bridge.

This prevents packets from being re-transmitted over the serial link if they have already been seen, and it stops inbound packets from serial from being re-injected into the mesh if they are duplicates.

Duplicate inbound packets are now freed to prevent memory leaks.
2025-09-04 23:50:13 +01:00
João Brázio 1948d284a0 Extract serial bridge into dedicated classes
This commit refactors the serial bridge functionality out of the `simple_repeater` example and into a more reusable, object-oriented structure.

An `AbstractBridge` interface has been introduced, along with a concrete `SerialBridge` implementation. This encapsulates all the logic for packet framing, checksum calculation, and serial communication, cleaning up the main example file significantly.

The `simple_repeater` example now instantiates and uses the `SerialBridge` class, resulting in better separation of concerns and improved code organization.
2025-09-04 23:43:05 +01:00
recrof 9b9c7289e6 moved pindefs from board to platformio.ini 2025-09-04 23:31:05 +02:00
recrof 816bbf925f t1000 cleanup + move NullDisplayDriver.h to helpers/ui for other variants to use 2025-09-04 23:12:57 +02:00
recrof 5b2c1715f4 lilygo t-echo cleanup, add AUTO_SHUTDOWN_MILLIVOLTS 2025-09-04 21:45:42 +02:00
João Brázio d8f80f259a Refactor display driver inclusion for Heltec T114 to support configurations without a display 2025-09-04 13:26:48 +01:00
taco 1f20722f51 fix: wio tracker L1: tidy platformio.ini 2025-09-04 19:59:33 +10:00
ripplebiz f9079985b6 Merge pull request #724 from recrof/thinknode_m1_refactor
tidy up thinknode_m1 variant
2025-09-04 19:33:49 +10:00
ripplebiz 46b3910d81 Merge pull request #713 from Quency-D/dev-meshpocket
add heltec meshpocket board.
2025-09-04 19:31:40 +10:00
Liam Cottle a3aa66ac16 Merge pull request #729 from liamcottle/fix/thinknodem1
ThinkNode M1: add missing crc lib dep
2025-09-04 20:42:15 +12:00
liamcottle d56b725256 add missing crc32 libdep after gxepd display driver changes 2025-09-04 20:07:37 +12:00
Quency-D 8fa31e00aa -D DISABLE_DIAGNOSTIC_OUTPUT this one will make GxEPD less verbose ;) 2025-09-04 15:39:08 +08:00
Quency-D f4df94a20e Delete the sensor part and adapt to the latest crc display. 2025-09-04 14:04:00 +08:00
Quency-D 6e6c59d2ce Merge pull request #9 from meshcore-dev/dev
Dev
2025-09-04 13:50:09 +08:00
ripplebiz a9fef1aefa Merge pull request #723 from recrof/heltec_t114_refactor
tidy up heltec_t114 variant
2025-09-04 13:52:23 +10:00
Quency-D 13d046892a Merge branch 'dev' into dev-meshpocket 2025-09-04 11:47:55 +08:00
ripplebiz 5782c2e799 Merge pull request #720 from oltaco/newui-multiclick-toggles
new-ui: add double/triple clicks, buzzer and gps toggle functions
2025-09-04 13:41:54 +10:00
ripplebiz 3e7459ae2e Merge pull request #719 from recrof/vision_master_refactor
renamend and refactored vision master, added usb roles
2025-09-04 13:33:48 +10:00
ripplebiz 6334971e2b Merge pull request #722 from fdlamotte/techo_epd_damage
Techo epd damage
2025-09-04 13:25:09 +10:00
recrof c2fc70047a waveshare rp2040 lora cleanup 2025-09-03 21:37:07 +02:00
recrof 72b267092f xiao rp2040 cleanup 2025-09-03 21:28:46 +02:00
recrof cbf3a03d2e rpi picow cleanup 2025-09-03 20:52:58 +02:00
recrof d610b7be86 thinknode m1 refactor 2025-09-03 20:17:55 +02:00
recrof 1c91298b3a tidy up heltec_t114 variant 2025-09-03 19:38:38 +02:00
Florent 9f97edcb21 gxepd: use a crc to track damage ! 2025-09-03 18:17:37 +02:00
Florent cb3049e706 cleanups (remove statics and typos) 2025-09-03 17:41:05 +02:00
taco 96a71bb21b alter keycode keycode handling 2025-09-03 16:28:58 +10:00
taco afbfc6c6ed add new keycodes 2025-09-03 15:48:50 +10:00
taco a9ab1f072a increase gps/buzzer alert times
600 is a bit short for eink
2025-09-03 14:02:35 +10:00
taco 9f185303b4 long press cancels multi click 2025-09-03 12:29:20 +10:00
taco 5de0dc1fd6 sliding multiclick window 2025-09-03 12:03:31 +10:00
taco 43c3105bf1 wake screen on double and triple clicks 2025-09-03 08:31:38 +10:00
taco ce31fd7c57 multi click support including buzzer toggle 2025-09-03 08:25:59 +10:00
recrof ddc900c8c8 renamend and refactored vision master to play better with build system 2025-09-02 22:23:32 +02:00
ripplebiz a93a0fecba Merge pull request #717 from oltaco/promicro-hibernate
fix: promicro: add powerOff
2025-09-02 21:38:37 +10:00
taco 03358b33c2 fix: promicro: add powerOff 2025-09-02 21:30:51 +10:00
Scott Powell 90cb1e73f9 * HeltecV3: powerOff() fix 2025-09-02 21:18:05 +10:00
Florent de Lamotte 3cdf2f9b4d techo: display backlight behavior 2025-09-02 11:43:48 +02:00
Quency-D c9671d7d8d add heltec meshpocket board. 2025-09-02 13:56:24 +08:00
Quency-D 88fbb41016 Merge pull request #7 from Quency-D/dev
merge Dev
2025-09-02 13:43:15 +08:00
ripplebiz 1a41da6bf2 Merge pull request #700 from fdlamotte/techo_env_sensors
techo: use EnvironmentSensor to get BME280 data
2025-09-02 14:58:57 +10:00
ripplebiz 2546a5da07 Merge pull request #711 from oltaco/heltec-vision-master-rename-companion-target
fix: Heltec Vision Master E290: rename companion target
2025-09-02 14:57:38 +10:00
Quency-D b863a1a673 Merge pull request #6 from Quency-D/dev
merge Dev
2025-09-02 11:25:36 +08:00
taco b64e78b7eb fix: Heltec Vision Master E290: rename companion target 2025-09-02 08:06:43 +10:00