Thomas Göttgens
7aa4e94e45
Do not send when region unset
2023-01-30 17:25:21 +01:00
Thomas Göttgens
cdf379616c
whatever makes trunk happy.
2023-01-21 21:23:24 +01: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
GUVWAF
bcf24b8187
Make Trunk happy
2023-01-21 13:01:19 +01:00
a_filonichev
a584cac827
fix rxGood counter
2023-01-20 23:41:05 +02:00
a_filonichev
3eaa054c68
Fix vulnerability with "h.from == 0"
...
// altered packed with "from == 0" can do Remote Node Administration without permission
2023-01-20 01:38:13 +02:00
Thomas Göttgens
8465467aa8
2nd batch
2023-01-07 14:57:00 +01:00
pavelb-techspark
30ae4c2a38
Add QueueStatus sending to the firmware ( #1820 )
...
* Yank mqtt service envelope queue
* trybuildfix mqtt system
* removed too much
* no excessive heap debugging on release builds
* send QueueStatus messages
The QueueStatus message is sent as a response to the attempt to queue
an outgoing MeshPacket and contains statuses of the last queue
attempt, TX Queue space and capacity and MeshPacket.id that was
queued.
When TX Queue changes status from completely full to at least
a single slot free a QueueStatus message is also sent to notify
that user can queue more messages.
Signed-off-by: Pavel Boldin <pavel.b@techspark.engineering>
* WIP: update protobufs
Signed-off-by: Pavel Boldin <pavel.b@techspark.engineering>
* update protobufs
* regen protos
Signed-off-by: Pavel Boldin <pavel.b@techspark.engineering>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2023-01-04 23:56:52 +11:00
Ben Meadors
f1cdfd163d
Replaced all of the logging with proper log levels
2022-12-30 10:27:07 -06:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Thomas Göttgens
edb674759f
fixes critical error 8 does not reboot on nrf52
2022-12-09 11:15:49 +01:00
Thomas Göttgens
a00187b97f
manual master merge
2022-12-06 16:56:38 +01:00
Thomas Göttgens
79eff42c3c
Fix and Break radiolib
2022-11-14 10:53:16 +01:00
Thomas Göttgens
6934e0bce7
Fix assert
2022-11-06 18:36:17 +01:00
Ben Meadors
128d20b290
tx_enabled fix ( #1699 )
...
* Defaults
* Print
2022-09-17 12:18:32 -05:00
Sacha Weatherstone
60b4dbfdcd
More default inits. ( #1689 )
...
* More default inits.
* update protobufs
* Try checking has_device first
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-09-11 08:36:47 -05:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
majbthrd
aadaf332cf
add stm32wl5e platform and wio-e5 variant ( #1631 )
...
Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-08-15 07:54:45 -05:00
majbthrd
ade32b1827
lay groundwork for a possible future architecture ( #1571 )
...
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* fix USE_RTC in variant.h for rak4631_epaper and t-echo
* ensure Screen.h is not included without configuration.h
Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-07-31 07:11:47 -05:00
Thomas Göttgens
b40abbf3ad
Tryfix Portduino Radiolib
2022-06-16 12:22:01 +02:00
Thomas Göttgens
6b8afdadc2
New variant of Radiolib patch
2022-06-13 16:10:16 +02:00
GUVWAF
a1b07ed6aa
Introduce contention window (CW) ( #1500 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-06-13 08:21:18 -05:00
Ben Meadors
0767c0b0e8
Converted to jgromes/RadioLib upstream and pegged to latest ref ( #1472 )
...
* Converted to jgromes/RadioLib upstream and pegged to latest ref
2022-05-29 19:30:20 -05:00
Jm Casler
c5f3cad0f9
Fixed missing brackets
2022-05-24 18:06:53 -07:00
Jm Casler
2631a9324e
Update from radioConfig.preferences to config.lora
2022-05-23 22:06:38 -07:00
Jm Casler
94f7e7037d
Merge branch 'compression' into new-compression
2022-05-23 21:18:45 -07:00
Thomas Göttgens
53e9f4df46
Segemented config works for me (TM)
...
Small GPS Fix that cropped up while testing included.
2022-05-21 22:38:33 +02:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Jm Casler
4785367915
Temp work on compression
2022-04-25 08:02:51 -07:00
GUVWAF
a13157ebde
Rename setRandomDelay() function
2022-04-23 18:57:45 +02:00
GUVWAF
c60d4c1ecc
Implement listen-before-talk mechanism
...
- Function setRandomDelay() calls either startTransmitTimer() or startTransmitTimerSNR()
- After coming back from Rx/Tx-ing, call setRandomDelay()
- If channel is currently busy, call setRandomDelay()
2022-04-20 20:09:12 +02:00
Jm Casler
69ed477040
Disable TX if region is unset
2022-04-09 22:42:43 -07:00
Jm Casler
3816a2fbe0
Add weighted tx delay for flooding router
2022-03-14 17:47:01 -07:00
ernax78
1c63d2d334
Feature: add disable_tx setting #1065 ( #1066 )
...
* Feature: add disable_tx setting #1065
2022-01-06 12:01:45 -06:00
Jm Casler
9a87ec7353
Count tx airtime only after it's sent by the radio
2022-01-02 11:05:32 -08: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
4c1b7d4840
pinelora WIP
2021-05-01 11:27:37 +08:00
Kevin Hester
babc1b3613
include file/lineno in critical error logs
2021-04-29 09:52:15 +08:00
Kevin Hester
ef612d0b58
Merge remote-tracking branch 'root/master' into dev1.2
...
# Conflicts:
# src/plugins/Plugins.cpp
# version.properties
2021-03-01 10:26:16 +08:00
Kevin Hester
aa8b86c6b2
multichannel send/rx kinda works
2021-02-23 11:43:30 +08:00
Kevin Hester
94cd96cfde
begin multichannel hash impl
2021-02-22 12:57:26 +08:00
Jm
7ffe601743
Changes to how airtime noise is gathered.
2021-02-20 23:53:17 -08:00
Kevin Hester
8c225a3c65
disable lora while updating, show "Updating" on oled screen
2021-02-12 13:48:12 +08:00
Kevin Hester
2ff5046dcd
for #681 , add MeshPacketQueue (a priority queue) to ensure acks get sent quickly
2021-02-12 09:08:49 +08:00
Kevin Hester
917090856f
partial for #681 : Never let stale nodeinfos/positions stay in xmit queue
2021-02-11 18:19:43 +08:00
Kevin Hester
fdfe62edf0
updates to work with new protobuf names
2021-02-10 16:18:41 +08:00
Andrew Mark
dd511588a2
Oops, let's only try to reboot ESP32 when there's an ESP32
2021-01-19 20:13:19 -08:00
Andrew Mark
79dad8ec8c
Set critical error and reboot when radio fails to generate tx IRQ
2021-01-19 18:21:54 -08:00
Jm
cfcb00b943
that's enough for tonight. web server is in its own thread, needs to be further optimized but it works enough. next is to refactor.
2021-01-08 20:43:51 -08:00
Jm
925829dc58
Partial work to migrate to OSThread model
2021-01-01 12:31:46 -08:00