MeshCore/src/helpers
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
..
esp32 disconnect existing wifi client when new connection established 2025-08-29 19:50:05 +12:00
nrf52 turn off tx led when powering off 2025-08-30 21:54:46 +12:00
radiolib start rx again immediately after receive 2025-07-20 23:27:54 +12:00
rp2040 Add XIAO RP2040 support 2025-07-03 11:42:53 +10:00
sensors Fixed shunt value for ina226 2025-08-21 13:23:05 -07:00
stm32 stm32: implement halt and reset 2025-06-25 11:00:24 +02:00
ui * MomentaryButton: added support for analog button (with threshold) 2025-09-01 17:11:55 +10:00
AbstractBridge.h Extract serial bridge into dedicated classes 2025-09-04 23:43:05 +01:00
AdvertDataHelpers.cpp * companion: new 'advert_loc_policy' pref. Defaults to ADVERT_LOC_NONE (ie. do Not share location in adverts) 2025-06-22 16:21:04 +10:00
AdvertDataHelpers.h * first cut of new simple_sensor sketch 2025-07-08 23:19:34 +10:00
ArduinoHelpers.h Initial commit 2025-01-13 14:07:48 +11:00
ArduinoSerialInterface.cpp * companion_radio_usb: encoding in ArduinoSerialInterface changed to 16-bit frame lengths 2025-01-29 10:12:22 +11:00
ArduinoSerialInterface.h use Stream abstract interface for serial port in ArduinoSerialInterface 2025-04-28 16:17:29 +02:00
AutoDiscoverRTCClock.cpp * fix for AutoDiscoverRTCClock 2025-04-21 16:35:55 +10:00
AutoDiscoverRTCClock.h * new helper: AutoDiscoverRTCClock, which detects: DS3231 (on i2c addr 0x68), or RV3028 (on i2c addr 0x52) 2025-02-25 19:00:07 +11:00
BaseChatMesh.cpp * Companion: experimental CMD_SEND_DISCOVERY_REQ -> PUSH_CODE_DISCOVERY_RESPONSE 2025-07-31 13:04:16 +10:00
BaseChatMesh.h * Companion: experimental CMD_SEND_DISCOVERY_REQ -> PUSH_CODE_DISCOVERY_RESPONSE 2025-07-31 13:04:16 +10:00
BaseSerialInterface.h * companion_radio_usb: encoding in ArduinoSerialInterface changed to 16-bit frame lengths 2025-01-29 10:12:22 +11:00
ChannelDetails.h * companion: refactor of all filesystem access to new DataStore module 2025-06-06 15:30:35 +10:00
CommonCLI.cpp * added CommonCLI::saveIdentity() 2025-09-01 15:22:11 +10:00
CommonCLI.h * added CommonCLI::saveIdentity() 2025-09-01 15:22:11 +10:00
ContactInfo.h * companion: refactor of all filesystem access to new DataStore module 2025-06-06 15:30:35 +10:00
ESP32Board.cpp added basic support for LilyGo Tlora C6 2025-05-30 14:31:44 +02:00
ESP32Board.h * ESP32Board: added support for Neopixel TX led 2025-06-25 14:54:13 +10:00
HeltecV2Board.h fix Heltec v2 getBattMilliVolts 2025-06-20 15:00:46 -07:00
HeltecV3Board.h wireless paper board support 2025-06-27 22:57:49 -07:00
IdentityStore.cpp * workaround for nRF + LittleFS glitch with seek/truncate 2025-05-20 16:29:09 +10:00
IdentityStore.h wio-e5 : initial port 2025-05-11 09:28:15 +02:00
LilyGoTLoraBoard.h Refactor naming 2025-03-04 22:00:48 -08:00
MeshadventurerBoard.h Support MeshAdventurer 2025-06-30 03:46:18 +02:00
RefCountedDigitalPin.h Add heltec_vision_master_e213 board. 2025-08-13 18:12:48 +08:00
SensorManager.h * refactored SensorManager::toggleGps() 2025-06-20 13:44:58 +10:00
SerialBridge.cpp Prevent packet loops and duplicates 2025-09-04 23:50:13 +01:00
SerialBridge.h Prevent packet loops and duplicates 2025-09-04 23:50:13 +01:00
SimpleMeshTables.h * companion: fix for importContact(). Now removes the packet-hash from table, before 'replaying' 2025-05-16 19:57:09 +10:00
StaticPoolPacketManager.cpp * Dispatcher::checkSend() bug: getOutboundCount() should only count non-future packets 2025-05-14 16:50:11 +10:00
StaticPoolPacketManager.h * Dispatcher::checkSend() bug: getOutboundCount() should only count non-future packets 2025-05-14 16:50:11 +10:00
StationG2Board.h Added basic support for Station G2 2025-03-07 15:34:00 +01:00
TxtDataHelpers.cpp * CommonCLI: "get " commands 2025-02-27 18:02:47 +11:00
TxtDataHelpers.h * CommonCLI: "get " commands 2025-02-27 18:02:47 +11:00
XiaoC3Board.h * new target env: Xiao S3 WIO repeater 2025-01-19 16:44:25 +11:00