Manuel Verch
f0c4c18a79
Fix for nodeInfo change to inform phone
2023-04-11 14:01:01 +02:00
Thomas Göttgens
39d8ae64e7
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-30 11:10:18 +02:00
Ben Meadors
5679a82195
Support double tap as button press for supported accelerometers ( #2393 )
...
* For Garth
* Push it real good
* Wut
* Double tap
* Move disable logic
* Actually return
* Reinitialize setClick in thread body
* Initialize later so that we actually have nodedb on init
* Fixes
2023-03-29 13:04:02 -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
Thomas Göttgens
6e685b0a54
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-27 15:31:32 +02:00
GUVWAF
8f736c8ecc
Remove sending network ping to displayed node on interval
2023-03-26 16:16:01 +02:00
Thomas Göttgens
4573db4665
Merge branch 'master' into ESP32C3-RISC
2023-03-12 20:19:43 +01:00
Ben Meadors
2e3b86608a
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-10 19:50:41 -06:00
Ben Meadors
dc2ca9c32b
Report special battery_level of > 100 instead of zero to indicate USB ( #2341 )
...
* Report special battery_level of > 100 instead of zero to indicate USB
* Protos
* Helps if you click save
* Wrong method
* Fmt
2023-03-10 19:50:08 -06:00
Thomas Göttgens
033e988e6f
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-10 19:38:14 +01:00
Ben Meadors
fddc49273e
Reboot seconds bump
2023-03-09 16:08:18 -06: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
Thomas Göttgens
9150c2e568
fix stuff i somehow inadvertently broke.
2023-03-08 17:12:25 +01:00
Thomas Göttgens
267db05d69
- G1 Explorer use correct display controller
...
- adhere UA font in modules
2023-03-08 17:12:25 +01:00
Thomas Göttgens
4355f51a90
fmt
2023-03-04 17:25:55 +01:00
Thomas Göttgens
0940c6462b
Leaving this here in case someone ever needs int :-)
2023-03-04 17:25:55 +01:00
Thomas Göttgens
a47364f07b
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-04 17:24:16 +01:00
Ben Meadors
9650adb616
Set reasonable defaults for sensor role and adjust packet priority ( #2305 )
2023-02-24 11:25:50 -06:00
Thomas Göttgens
fab5e4c5cc
potential fix for Range Test Leak. Poking around in the dark.
2023-02-23 22:19:23 +01:00
Ben Meadors
46fa08dc33
Air quality specific prefs ( #2303 )
2023-02-23 13:05:24 -06:00
Thomas Göttgens
181832aedd
Merge pull request #2282 from meshtastic/master
...
Catch up
2023-02-17 12:32:33 +01:00
Thomas Göttgens
4967a16abe
- Abstract the memory stats into its own class.
...
- Fix a bug with debug mqtt
- nrf52 needs more love, there's a strange error while linking. Help appreciated
2023-02-17 12:31:51 +01:00
Ben Meadors
b78e0dce46
Merge branch 'master' into metadata-phone-api
2023-02-16 10:21:31 -06:00
Ben Meadors
3ae1fdf661
Add metadata to phone api want config messages
2023-02-16 10:21:03 -06:00
GUVWAF
b7895f7038
Sanity check for sending NodeInfo
...
Don't send it if we've done so less than 1 min. ago
2023-02-15 19:31:09 +01:00
GUVWAF
5cadcd355f
Send DeviceTelemetry only after NodeInfo is sent
2023-02-11 15:58:26 +01:00
GUVWAF
4061870841
Don't need a Portduino guard clause here as it will not be compiled
2023-02-11 12:04:53 +01:00
GUVWAF
abf3a5840b
trunk fmt
2023-02-11 11:46:54 +01:00
GUVWAF
680550b76c
Add HAS_SENSOR flag
...
To separate DeviceTelemetry and EnvironmentTelemetry
2023-02-11 10:08:25 +01:00
Ben Meadors
7100416142
Add short_name
2023-02-09 19:32:32 -06:00
Ben Meadors
f0d27f896a
Add changed back
2023-02-10 01:40:47 +01:00
Ben Meadors
e74b180655
Remove setOwner's business logic for licensed operation
2023-02-10 01:40:47 +01:00
Ben Meadors
88a44eede0
Rebroadcast mode to local_only for hams
2023-02-10 01:40:47 +01:00
Ben Meadors
aaba99f792
Add changed back
2023-02-09 10:48:17 -06:00
Ben Meadors
4375a0101e
Remove setOwner's business logic for licensed operation
2023-02-09 08:58:28 -06:00
Ben Meadors
b1677e0312
Rebroadcast mode to local_only for hams
2023-02-09 07:51:41 -06:00
Ben Meadors
b24376b1fc
Well it helps if I commit the thing
2023-02-08 20:21:33 -06:00
Ben Meadors
bcaf834853
Interval or default
2023-02-08 18:04:21 -06:00
Ben Meadors
1c3970efab
Default node info broadcast secs for ham operation
2023-02-08 15:36:23 -06:00
Ben Meadors
79850c6d03
Set open psk for ham mode
2023-02-08 15:29:33 -06:00
Ben Meadors
405430fd96
Whoops
2023-02-04 15:15:32 -06:00
Ben Meadors
b70af5cc78
Set ham mode admin message
2023-02-04 15:11:36 -06:00
Ben Meadors
1748db3160
Init struct
2023-02-04 13:35:02 -06:00
Ben Meadors
d83a0b1818
Initial air quality telemetry feature
2023-02-04 13:07:14 -06:00
Ben Meadors
6a2583e872
Trunk you mothertrunker
2023-02-03 14:10:19 -06:00
Ben Meadors
3a3451129a
Init gooder?
2023-02-03 13:59:54 -06:00
Ben Meadors
81d2486cf4
Init defaults
2023-02-03 13:17:39 -06:00
Ben Meadors
9d420f403a
Try this
2023-02-03 13:05:25 -06:00
Ben Meadors
c82d1de9ce
Check
2023-02-03 12:43:16 -06:00
Ben Meadors
9a950afd2a
Trunk fmt
2023-02-03 11:30:36 -06:00
Ben Meadors
ab77772e0c
Bugger
2023-02-03 11:11:09 -06:00
Ben Meadors
ac90c27ae8
Macros
2023-02-03 11:03:12 -06:00
Ben Meadors
d6de042783
Assume portduino is always connected
2023-02-03 11:00:05 -06:00
Ben Meadors
2b15d951cf
Trunk
2023-02-03 10:50:03 -06:00
Ben Meadors
0414ca2dc0
Fixed it
2023-02-03 10:49:44 -06:00
Ben Meadors
1fa2ca6a14
Trunk it
2023-02-03 09:50:49 -06:00
Ben Meadors
51521462c4
Eh
2023-02-03 09:18:53 -06:00
Ben Meadors
4aaf162700
Getting tired of looking at code
2023-02-03 09:17:28 -06:00
Ben Meadors
5794a9ae06
Bad copy pasta
2023-02-03 09:04:22 -06:00
Ben Meadors
835e6ab85e
Missed RSSI
2023-02-03 08:52:32 -06:00
Ben Meadors
d9031610ab
Connection status admin message
2023-02-03 08:50:10 -06:00
Ben Meadors
a8dd497575
Contain it
2023-02-02 14:40:18 -06:00
Ben Meadors
971ecd117c
Whoooosh before my battery dies
2023-02-02 14:11:48 -06:00
Ben Meadors
e8e04d23d7
WIP
2023-02-02 14:05:58 -06:00
Thomas Göttgens
3c6bbff4f9
Adjust braces to match DeviceTelemetry
...
this is to force correct order of evaluation.
2023-02-02 19:37:28 +01:00
Thomas Göttgens
f6c6c2912f
update enviro module to not create copies
2023-02-02 18:17:52 +01:00
Thomas Göttgens
a13adfb598
fixes #2239
2023-02-02 18:17:52 +01:00
Ben Meadors
1407952410
Fmt
2023-01-30 14:50:57 -06:00
Ben Meadors
860aca9335
Set encryptedOk to false for local_only rebroadcast
2023-01-30 14:50:03 -06:00
GUVWAF
14831e597c
Add TraceRouteModule to Repeater
2023-01-29 16:37:02 +01:00
Ben Meadors
171c1df3fa
Role based defaults
2023-01-28 14:32:57 -06:00
Ben Meadors
f45a25b358
Fmt
2023-01-28 09:18:06 -06:00
Ben Meadors
92a43685a8
Modules
2023-01-28 09:13:01 -06:00
Ben Meadors
103f1992dd
Yank repeater module and just guard clause the alloc
2023-01-28 09:11:12 -06:00
Ben Meadors
a7153a7aa9
Be a friend
2023-01-28 08:40:50 -06:00
Ben Meadors
14372c7e35
Fmt
2023-01-28 08:18:56 -06:00
Ben Meadors
a5f80167e0
Remove comments
2023-01-28 08:18:47 -06:00
Ben Meadors
654d38ed3f
Router
2023-01-28 08:17:29 -06:00
Ben Meadors
e01e830c0e
Print
2023-01-28 08:09:10 -06:00
Ben Meadors
db192481bd
Swap out reliable router with flood router and dump modules
2023-01-28 08:03:32 -06:00
Ben Meadors
e8908784f9
Format
2023-01-28 06:39:14 -06:00
Ben Meadors
de82119415
Start of repeater role with in firmware
2023-01-28 06:38:13 -06:00
Thomas Göttgens
083dcef9d6
don't define default pins for these.
2023-01-23 17:18:19 +01:00
Thomas Göttgens
6f30a84afc
dayum!
2023-01-21 21:23:24 +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
Thomas Göttgens
51b2c431d9
trunk roundhouse kick
2023-01-21 21:23:24 +01:00
Ben Meadors
9cda2e9058
Add role and position flags to metadata
2023-01-18 15:15:02 -06:00
Ben Meadors
9046dacec8
I don't like this formatting but I need trunk to STFU
2023-01-18 14:51:48 -06:00
Ben Meadors
4d4af7de59
generated paths experiment
2023-01-18 08:56:47 -06:00
Thomas Göttgens
0f4306158c
fix S&F Problem
2023-01-16 17:56:48 +01:00
Thomas Göttgens
59ee0fb012
put legacy S&F call back in, till Apps support it.
2023-01-16 14:53:27 +01:00
Thomas Göttgens
5831124f1d
Store and Forward: don't try to store a message if PSRAM is not initialized!
2023-01-16 14:53:27 +01:00
Thomas Göttgens
2b9f01f0e4
fix cppcheck
2023-01-16 11:08:48 +01:00
Thomas Göttgens
aca1241a7f
Having a first stab at flawfinder errors
2023-01-16 10:55:40 +01:00
Thomas Göttgens
8db3f317ab
re-merge fixes by @lesykm
2023-01-12 19:08:41 +01:00
GUVWAF
c0166773e8
Portduino can handle this
2023-01-11 21:53:23 +01:00
GUVWAF
fc775012ea
Don't send NodeInfo and DeviceTelemetry at high Tx air util
...
Also move airtime checking to airtime class
2023-01-11 21:52:19 +01:00
Thomas Göttgens
d8b85f9a09
fingers crossed
2023-01-07 15:24:46 +01:00
Thomas Göttgens
03c5dfc7a8
initial cleanup work
2023-01-07 13:16:58 +01:00
Thomas Göttgens
9740f0a505
External Notification Hotfix
2023-01-04 14:45:28 +01:00
Thomas Göttgens
2d62cbe345
I am dumb.
2023-01-01 21:08:07 +01:00
Thomas Göttgens
8a9af37d82
Merge branch 'develop' into nice-threads
2022-12-30 20:18:19 +01:00
Ben Meadors
f1cdfd163d
Replaced all of the logging with proper log levels
2022-12-30 10:27:07 -06:00
Thomas Göttgens
115cb05d3b
less verbose logging and heap free printing
2022-12-30 14:22:08 +01:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Ben Meadors
be91b08b3e
Missed one
2022-12-29 18:49:40 -06:00
Ben Meadors
c7c5671cca
More disables
2022-12-29 18:48:33 -06:00
Ben Meadors
110c80d045
Make disable return an int32_t for runOnce usage
2022-12-29 16:54:39 -06:00
Ben Meadors
38a1315599
Refactor OSThread consumers to use disable()
2022-12-29 16:26:25 -06:00
Ben Meadors
8ebe0edc5a
Merge pull request #2075 from meshtastic/load-save-proto
...
add storage for ringtone
2022-12-29 15:50:16 -06:00
Thomas Göttgens
45e6e86ff9
- add RemoteHardware (and the missing S&F config) in
...
- make the config boundaries automatic
2022-12-29 21:35:32 +01: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
4e4a74379e
fix copy/paste error
2022-12-29 15:48:02 +01:00
Thomas Göttgens
41a1dfec79
a lot of thread housekeeping. Switch them off when not needed / disabled.
2022-12-29 15:45:49 +01:00
Thomas Göttgens
b134f0bb46
missed one
2022-12-28 15:45:46 +01:00
Thomas Göttgens
d9d8c7eb74
I think this will fix portduino...
2022-12-28 15:41:58 +01:00
Thomas Göttgens
94cb100e3f
Master to Develop
2022-12-28 15:30:23 +01:00
Thomas Göttgens
e25d05689b
Updates to external notification and radiolib for SX128x. Rip out Godmode again for these
2022-12-28 14:57:40 +01:00
Thomas Göttgens
6f6ca64cfd
potential bugfix for nag cutoff
2022-12-27 21:51:35 +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
70f5f8301b
added this in back by mistake
2022-12-23 09:01:59 +01:00
Thomas Göttgens
a289406863
refactor classes to accomodate SerialModule
2022-12-22 18:24:42 +01:00
Thomas Göttgens
1a3f2a8ab5
don't touch that code if you don't even know about "Serial2"
2022-12-22 17:43:55 +01:00
Thomas Göttgens
23d6b815f5
WIP: ProtobufAPI in SerialModule
2022-12-22 17:25:15 +01:00
Mykhailo Lesyk
e1feb5eb30
[modules][serial] switch simple mode from ascii to bytes
2022-12-22 14:55:32 +01:00
Thomas Göttgens
0064d18e64
remember to save your work before committing next time
2022-12-21 18:39:34 +01:00
Thomas Göttgens
6f5a6d5cb4
consolidate code and add missing message.
2022-12-21 17:56:34 +01:00
Thomas Göttgens
e0194528dd
S&F WIP
2022-12-21 15:22:38 +01:00
Thomas Göttgens
30240ac14b
fix cppcheck complaints
2022-12-21 15:13:16 +01:00
Thomas Göttgens
ae2ca1d89c
WIP: S&F Progress
2022-12-21 12:57:42 +01:00
Thomas Göttgens
d9eb9758e2
add bold print to canned messages freetext
2022-12-18 14:47:28 +01:00
Thomas Göttgens
54686905dc
remove duplicate block of predefined messages
2022-12-16 20:33:09 +01:00
Thomas Göttgens
3cde75f97b
Audio Module: format messages better
2022-12-16 20:30:54 +01:00
Thomas Göttgens
eae7f8a786
fix building DIY-1 target
2022-12-14 14:33:59 +01:00
Thomas Göttgens
bb24b86018
support ESP32-S2 CPUs
...
Note: these don't have Bluetooth and only a single physical core.
2022-12-14 13:32:26 +01:00
Thomas Göttgens
627b21f3f2
made a nice PTT/RECV screen for audio module. And cleaned up screen graphics a bit.
2022-12-13 17:31:01 +01:00
Thomas Göttgens
24cc479f95
if we get different frames than our own transmission setup, decode and play them anyway
2022-12-11 23:12:00 +01:00
Thomas Göttgens
1a0d51495d
show appropriate message when going into OTA mode
2022-12-08 17:17:48 +01:00
Thomas Göttgens
32d9a397aa
Toggle up to 3 pins after output_ms till nag_timeout or user button press happens
2022-12-08 16:27:56 +01:00
Thomas Göttgens
a00187b97f
manual master merge
2022-12-06 16:56:38 +01:00
GUVWAF
03bfdec1e1
TraceRouteModule
2022-12-05 20:38:06 +01:00
Thomas Göttgens
bb1a9192eb
send a 4 byte magic header including the codec version
2022-12-02 13:44:36 +01:00
Thomas Göttgens
470e711383
Audio Module is finished for regression tests.
2022-12-02 12:58:26 +01:00
Thomas Göttgens
4b63730efb
Still WIP, but first working version of audio. I2S works good, analogue not so much.
2022-12-02 00:30:31 +01:00
Thomas Göttgens
fb89828990
Definition cleanup and AudioModule WIP
2022-12-01 17:47:04 +01:00
Thomas Göttgens
628028475c
fix compile
2022-11-29 17:45:57 +01:00
Thomas Göttgens
05e992ad67
WIP: add digital audio. Needs a proto change, so checking in generated files for now.
2022-11-29 17:19:10 +01:00