João Brázio
537449e6af
Refactor ESPNowBridge packet handling to use 2-byte magic header and improve packet size validation
9 months ago
João Brázio
04e70829a4
Rename RS232 bridge environments
9 months ago
João Brázio
5b9d11ac8f
Support ESPNow and improve documentation
9 months ago
João Brázio
cb99eb4ae8
Remove retransmit check for RS232 bridge in logTx
Since the flag is preserved and respected by the mesh processing on the receiving end, there's no risk of these packets being retransmitted endlessly.
9 months ago
João Brázio
5843a12c71
Rename `SerialBridge` to `RS232Bridge`
9 months ago
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.
9 months ago
João Brázio
77ab19153e
Add serial logging for TX/RX packets
9 months ago
João Brázio
2b920dfed3
Rework packet serialization and parsing
9 months ago
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.
9 months ago
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.
9 months ago
João Brázio
9fd7e9427a
Add bridge support for WSL3 board
9 months ago
João Brázio
cf4720bd34
Merge remote-tracking branch 'upstream/dev' into jbrazio/2025_3f11ad35
9 months ago
Scott Powell
637891b814
* ver bump
9 months ago
Liam Cottle
a4c2da9d50
Merge pull request #704 from liamcottle/fix/wismesh-pocket-user-button
Fix: WisMesh Pocket user button
9 months ago
liamcottle
3ad43431d9
fixed wismesh pocket user button
9 months ago
Scott Powell
74722c24b8
* MomentaryButton: added support for analog button (with threshold)
* RAK: support for PIN_USER_BTN_ANA
9 months ago
Scott Powell
b8223e9d07
* reverting HeltecV3 _CURRENT_LIMIT change
9 months ago
Scott Powell
81afd83099
* Meshadventurer companion USB build fix
9 months ago
Scott Powell
ee194a7b19
* added CommonCLI::saveIdentity()
9 months ago
Scott Powell
c28001d1e2
* ESP platform ver > 6.11.0 seems to break Github Actions
9 months ago
ripplebiz
7bc02296ff
Merge pull request #698 from recrof/esp32_companion_max_contacts
raised companion max contacts for esp32 "classic" targets; changed WSL3 to 300.
9 months ago
fdlamotte
3aa57780f1
Update library.json version
9 months ago
recrof
489bcaffc9
raised max contacts for esp32 classic companions to 160 and 170; set to 300 for WSL3
9 months ago
Scott Powell
8b3c16c497
* ver bump
9 months ago
Scott Powell
7c7faaab05
* agc.reset.interval rounding warning
9 months ago
ripplebiz
009ca6d6aa
Merge pull request #696 from recrof/esp32c6_pioarduino_downgrade
downgrading pioarduino because build issues
9 months ago
ripplebiz
e1ac794a81
Merge pull request #695 from recrof/esp32_c3_c6_s3_max_contacts_300
set companion radios with esp32c3 esp32c6 and esp32s3 to 300 contacts max
9 months ago
Liam Cottle
f5c7d3dd80
Merge branch 'dev' into esp32_c3_c6_s3_max_contacts_300
9 months ago
recrof
7a00f3060e
downgrading pioarduino because build issues
9 months ago
recrof
50cab44473
set companion radios with esp32c3 esp32c6 and esp32s3 boards to max 300 contacts
9 months ago
ripplebiz
8a39e80359
Merge pull request #694 from recrof/dev_xiao_s3_wio_serial_fix
fix: add xiao s3 wio serial companion to new ui
9 months ago
ripplebiz
615316f443
Merge pull request #693 from recrof/dev_meshadventurer_fix
fix: migrate meshadventurer to new ui
9 months ago
ripplebiz
e8d4ab5977
Merge pull request #692 from liamcottle/feature/thinknode-m1-poweroff
ThinkNode M1: low battery auto shutdown
9 months ago
recrof
7854244026
fix: add xiao s3 wio serial companion to new ui
9 months ago
recrof
0f23c0120a
fix: migrate meshadventurer to new ui
9 months ago
liamcottle
18ef1ba804
add low battery shutdown alert for thinknode m1
9 months ago
liamcottle
6172537459
auto shutdown thinknode m1 at 3.3v
9 months ago
liamcottle
5a34bd5460
turn off tx led when powering off
9 months ago
ripplebiz
d4856a5275
Merge pull request #617 from Quency-D/dev-heltec_t190_board
Add heltec_vision_master_t190 board.
9 months ago
ripplebiz
e1c169b20a
Merge pull request #687 from Quency-D/new-ui-heltec-paper
New UI for heltec paper
9 months ago
Quency-D
fee7975668
Remove duplicate rows.
9 months ago
ripplebiz
31006857fe
Merge pull request #686 from Quency-D/new-ui-e213
New UI heltec e213.
9 months ago
ripplebiz
bc8c95fcb3
Merge pull request #685 from liamcottle/fix/wifi-companion-clients
WiFi Companion: always accept new connections
9 months ago
Quency-D
c5b28da41d
Merge pull request #5 from Quency-D/dev
Merge Dev
9 months ago
Quency-D
4eaaeebfca
Remove duplicate rows.
9 months ago
Quency-D
3e3e364dae
Merge pull request #4 from Quency-D/dev
Merge Dev
9 months ago
ripplebiz
4785240608
Merge pull request #683 from taedryn/t114-power-consumption
Improving T114 power consumption
9 months ago
liamcottle
796b4c705c
disconnect existing wifi client when new connection established
9 months ago
ripplebiz
4d6e33b365
Merge pull request #684 from liamcottle/new-ui/heltec-v3-wifi
Add new UI to Heltec v3 WiFi Companion
9 months ago
ripplebiz
980c3445d0
Merge pull request #679 from Quency-D/new-ui-e290
New UI heltec e290.
9 months ago