Wykres commitów

218 Commity (320bf5768753e5423dd607e0792a6e99a3d31c46)

Autor SHA1 Wiadomość Data
Manuel b1937e03ac
fix: store NodeDB persistently (#2405)
* fix for 2404

* fix for 2404

* removed superfluous saveToDisk in reloadOwner()
2023-04-03 16:01:05 -05:00
sbias 26d18244f0
Add nodedb channel handling (#2384)
* send ourNodeInfo to channel we got a message we heared someone new

* store node-channel into nodeDB

* use channel from nodeDb to send local messages

* update protobufs

* fmt and fix braces

* respect requested channel for local send, only store channel while getting a nodeinfo packet

---------

Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-29 06:51:22 -05:00
Ben Meadors 23272daffe
Threshold based smart position broadcasts (#2388)
* Overhaul smart broadcast with new thresholds

* Fixed badly spelt protos

* That's not the right thing

* Format specifiers

* Fmt

* Units

* Default distance threshold of 100
2023-03-27 14:09:22 -05:00
GUVWAF 8f736c8ecc Remove sending network ping to displayed node on interval 2023-03-26 16:16:01 +02:00
A. Rager e6d69e2b67
Refactor i2cScan.h To Handle 2 Bus (#2337)
* Break i2cScan out into a set of classes for scanning i2c

* refactor i2cscan addresses to be structs that allow addressing by port + address

* build whoopsies

* trunk fmt

* trunk fmt

* lost some build fixes from the merge

* more cleaning for build safety, RTC behavior
2023-03-08 21:13:46 -06:00
Ben Meadors fbfd0f12b5
Change to 5 minutes for Garth's sanity 2023-02-24 12:49:10 -06:00
Ben Meadors 9650adb616
Set reasonable defaults for sensor role and adjust packet priority (#2305) 2023-02-24 11:25:50 -06:00
Ben Meadors 46fa08dc33
Air quality specific prefs (#2303) 2023-02-23 13:05:24 -06:00
Ben Meadors 7264621149 Don't auto set to default primary channel 2023-02-18 18:32:46 -06:00
GUVWAF 5ca3d9169a Only set node_info_broadcast_secs when not a Router 2023-02-11 17:17:11 +01:00
GUVWAF 16852da8d4 Set node_info_broadcast_secs to 3 hours instead of default_broadcast_interval 2023-02-11 15:58:26 +01:00
Thomas Göttgens 7a50934185 change time display to relative for rx messages 2023-02-03 17:45:12 +01:00
Ben Meadors cd35e92471 Added modes for rebroadcast 2023-01-29 14:22:51 -06:00
Ben Meadors 75ea6fd704 Update interval 2023-01-28 14:44:47 -06:00
Ben Meadors 171c1df3fa Role based defaults 2023-01-28 14:32:57 -06:00
Ben Meadors 2df81810ec
Merge branch 'master' into sx126x-rx-boosted-gain 2023-01-23 06:06:22 -06: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
Thomas Göttgens 51b2c431d9 trunk roundhouse kick 2023-01-21 21:23:24 +01:00
Andrew Moroz 0a2539650e sx126x-rx-boosted-gain: add support for setting Rx gain mode on SX126x chipsets 2023-01-17 00:56:15 -05:00
Thomas Göttgens aca1241a7f Having a first stab at flawfinder errors 2023-01-16 10:55:40 +01:00
Thomas Göttgens 03c5dfc7a8 initial cleanup work 2023-01-07 13:16:58 +01:00
Ben Meadors f1cdfd163d Replaced all of the logging with proper log levels 2022-12-30 10:27:07 -06:00
Ben Meadors 8193215294 Trace 2022-12-30 08:14:37 -06:00
Ben Meadors 0b5cae5393 Log levels refactoring 2022-12-29 20:41:37 -06:00
Thomas Göttgens 3c5710e65b - add storage for ringtone
- Refactor file load and save
- fix a size error in Canned Messages
2022-12-29 16:53:36 +01:00
Thomas Göttgens 2ac2b6d1b6 replace PB03 compat macros with the real deal. 2022-12-23 10:00:34 +01:00
Thomas Göttgens b8657158be Remove unused parameter on save 2022-12-23 09:45:56 +01:00
Thomas Göttgens 1c8181dc75 fix compiler warnings 2022-12-16 20:26:22 +01:00
GUVWAF 3b1e34efa1 Refrain from transmitting if duty cycle exceeded 2022-11-26 21:05:37 +01:00
lewis cdd499f147 Add missing restart parameters 2022-11-26 12:10:10 +08:00
lewis 0dff4538f3 Add t-echo to the operation after the flash operation fails 2022-11-26 00:17:54 +08:00
Ben Meadors abf8fdb661
Merge branch 'master' into develop 2022-11-21 09:39:22 -06:00
Ben Meadors 1c5292ac86 Init default mqtt configurations 2022-11-20 12:29:10 -06:00
Thomas Göttgens b54044fd00 if we have a filename, 'address' is the line number. Don't print that in hex ;-)
If it's really a hex address, prefix it with 0x
2022-11-20 12:00:57 +01:00
Ben Meadors 97968213ff
Factory reset should include modules and channels (#1828) 2022-10-20 07:51:52 -05:00
Thomas Göttgens 7c8c479b96 wire in OEM.proto keystore 2022-10-19 15:39:06 +02:00
Thomas Göttgens 6e40102f26 - use bigger screen fonts on Wiphone
- erase oldest entry from NodeDB if it is full.
2022-10-08 17:07:16 +02:00
Thomas Göttgens f3042ddf37
Update NodeDB.cpp 2022-10-05 08:56:00 +02:00
Thomas Göttgens 54816231e9 Calculate CRC32 of Protobuf and compare before save. 2022-10-05 08:52:27 +02:00
Thomas Göttgens 063c4904ff only save files when they changed - also clamp app version 2022-10-04 17:25:03 +02:00
Thomas Göttgens 3597685b23 Only save the changed parts of config to disk. 2022-10-04 14:32:07 +02:00
Ben Meadors ac235bcabb
Reset nodedb wiring (#1724) 2022-09-28 16:47:26 -05:00
Thomas Göttgens b5a8efa16b Filesystem fixes for LittleFS 2022-09-21 16:47:10 +02:00
Ben Meadors accd23eddc
Factory reset on device state expired (#1695) 2022-09-15 12:15:16 -05:00
Ben Meadors 397030b5a6
GPS intervals (#1693)
* GPS intervals

* Backwards logic

* Oops
2022-09-12 18:07:21 -05:00
Ben Meadors 18f37981bb Spelling and fixing defaults 2022-09-12 07:55:17 -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
Ben Meadors 7f18c0fb77
Init default intervals (#1688)
* Init default intervals

* Spacing

* move isrouter check

* Line break

* Oops
2022-09-10 12:35:36 -05:00
Sacha Weatherstone 7aaca3d486
Merge branch 'master' into pref_defaults 2022-09-10 18:11:16 +10:00