GUVWAF
be73b099a7
Fix cppcheck error
2024-11-08 22:14:25 +01:00
GUVWAF
f37abe8f0f
Also when want_ack is set, we should try to retransmit
2024-11-08 21:42:54 +01:00
GUVWAF
78bf1e192b
Use relayID
2024-11-08 21:28:36 +01:00
GUVWAF
24ff7c0bfb
Better checking for fallback to flooding
2024-11-05 21:27:10 +01:00
GUVWAF
bb64b1480b
Remove relayer if we cancel a transmission
2024-11-05 19:40:00 +01:00
GUVWAF
28944adf20
Merge remote-tracking branch 'origin/master' into NextHopRouter
2024-11-05 18:54:32 +01:00
Ben Meadors
50dac38a1b
Pass#2: Lots more savings in logs and string reduction surgery ( #5251 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Pass#2: Lots more savings in logs and string reduction surgery
* Don't need Thread suffix either
* Warn
2024-11-04 12:16:25 -06:00
GUVWAF
da7424a604
Improve ACK logic for responses and repeated packets ( #5232 )
...
* Don't send ACKs to responses over multiple hops
* Move repeated sending logic to `wasSeenRecently()`
* Add exception for simulator for duplicate packets from PhoneAPI
* Add short debug message
2024-11-03 06:21:45 -06:00
GUVWAF
ba4220fe50
Update protos, store multiple relayers
2024-11-01 17:02:04 +01:00
GUVWAF
aae4443e25
Merge remote-tracking branch 'origin/master' into NextHopRouter
2024-11-01 09:41:43 +01:00
GUVWAF
6fe42ed4c5
Add next_hop and relayed_by in PacketHistory for setting next-hop and handle flooding fallback
2024-11-01 09:16:51 +01:00
Thomas Göttgens
05e4a639a1
remove newline from logging statements. ( #5022 )
...
remove newline from logging statements in code. The LOG_* functions will now magically add it at the end.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-14 15:11:43 +11:00
Ben Meadors
e8829b8f52
Refactor and consolidate time window logic ( #4826 )
...
* Refactor and consolidate windowing logic
* Trunk
* Fixes
* More
* Fix braces and remove unused now variables.
There was a brace in src/mesh/RadioLibInterface.cpp that was breaking
compile on some architectures.
Additionally, there were some brace errors in
src/modules/Telemetry/AirQualityTelemetry.cpp
src/modules/Telemetry/EnvironmentTelemetry.cpp
src/mesh/wifi/WiFiAPClient.cpp
Move throttle include in WifiAPClient.cpp to top.
Add Default.h to sleep.cpp
rest of files just remove unused now variables.
* Remove a couple more meows
---------
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-23 08:58:14 -05:00
Jonathan Bennett
dfcd0d14f6
Add MaxNodes to Native config ( #3427 )
...
* Add MaxNodes to Native
* It compiles...
* Convert nodedb to use new
* Closer but still broken.
* Finally working
* Remove unintended lines
* Don't include a pointer
* Capitalization matters.
* avoid rename in protocol regen
* When trimming the nodeDB, start with a cleanup
* Remove extra cleanupMeshDB() call for now
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-21 09:06:37 -05:00
Thomas Göttgens
6fdb93cd16
re-add namespacing in protobufs. Let's see what i missed. Portduino likely ...
...
Checking in generated on purpose.
2023-01-21 21:23:24 +01:00
Thomas Göttgens
51b2c431d9
trunk roundhouse kick
2023-01-21 21:23:24 +01:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Audun Foyen
986d44873a
Issue-108. Track recent packets in unordered_set
...
Check individual packets seen recently for expiry - and purge.
Otherwise - only scan all of recentPackets for expired once
fill > 75% (of MAX_NUM_NODES).
2021-07-20 21:19:35 +02:00
Kevin Hester
17a1262382
pull in new epaper lib (which required importing configuration.h everywhere
...
for dumb reasons)
2021-06-27 10:56:28 -07:00
Kevin Hester
c15204fed1
better debug output
2021-05-03 10:53:06 +08:00
Kevin Hester
950b32232f
don't send messages the phone sent us back towards the phone
2021-03-05 10:19:27 +08:00
geeksville
fefd3d78f3
Portduino WIP now compiles but does not link
2020-09-05 12:34:48 -07:00
grcasanova
92b30ebec6
fixes now compiles
2020-07-06 10:45:55 +02:00
geeksville
aadba1f694
add printPacket for debug printing packets
2020-06-14 15:30:42 -07:00
geeksville
a34cfb0ee0
Populate metainfo for apps to allow 32 bit node and packet ids
2020-06-03 13:15:45 -07:00
geeksville
dd0209b192
Merge remote-tracking branch 'root/master' into nrf52
...
# Conflicts:
# docs/software/nrf52-TODO.md
# src/mesh/RadioLibInterface.cpp
# src/mesh/mesh.pb.h
2020-05-22 11:12:22 -07:00
geeksville
2dadb4d7a2
make nrf52dk build again
2020-05-21 20:31:22 -07:00
geeksville
e75561016b
retransmissions work again
2020-05-21 15:55:57 -07:00
geeksville
71041e8674
reliable unicast 1 hop works!
2020-05-19 15:51:07 -07:00
geeksville
86ae69d360
refactor so I can track and ignore recent packets of any type
2020-05-11 16:14:53 -07:00