Ben Meadors
44a54278b3
Skadoosh ( #2549 )
2023-06-07 12:59:01 -05:00
Ben Meadors
113026c372
Allow overriding the default Serial console output settings ( #2528 )
...
* Implement override_console_serial_port
* It's opposite day in Logictown
* Try to use native serial types for platforms
* Fix for s3
* Trunk
* Screw it... just declare as Print and handle init
* Alright, chatty kathy
* Missed a spot
* I'll take "Kill that FIXME" for 800, Alex
* Badunkadunk
* Refactor out a lot of duplicated code
* Boogers
* Okay I probably should stop changing everything
2023-05-30 05:26:34 -05:00
Ben Meadors
1b68408f2f
Remote hardware overhaul ( #2495 )
...
* Update protos
* WIP
* Param
* Has remote hardware
* Protos
* Initializer
* Added new admin message for node remote hardware pins
* Badunkatrunk
* Init and memcpy
2023-05-22 07:00:20 -05:00
IhorNehrutsa
9c683f4c87
Fix LOG_DEBUG messages when no DEBUG_PORT. ( #2485 )
...
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
2023-05-13 05:33:14 -05:00
Thomas Göttgens
a30c07e6b4
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-04-14 19:56:01 +02:00
Thomas Göttgens
309d4fc7f2
add flush to filesystem before closing write file.
2023-04-14 13:25:06 +02:00
Thomas Göttgens
5d41e9fe9d
don't grow nodedb if memory is tight.
...
also remove unconditional reboot on low heap. This is counter productive with this change
2023-04-13 23:09:02 +02:00
Manuel Verch
f0c4c18a79
Fix for nodeInfo change to inform phone
2023-04-11 14:01:01 +02:00
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