charminULTRA
44a906dd01
RAK14001 LED - Turn on to 50% at boot ( #2571 )
...
* Addition of RAK 14001 functionality to start and stay on for boot
* Fixing via Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-06-26 19:59:44 -05:00
GUVWAF
e60a5f1cf2
Setter for NeighborInfo
2023-06-25 15:41:19 +02:00
GUVWAF
6bdf67c9be
Conversion to NodeInfoLite
2023-06-25 15:41:06 +02:00
Ben Meadors
a07e30544d
Merge branch 'master' into neighborinfo
2023-06-19 06:16:42 -05:00
Ben Meadors
a2c5b92840
NodeDB Lite migration ( #2554 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
* WIP conversion
* Lots of type conversions between Lite versions and new NodeDB methods
* Trunk
* Conversion
* NULL
* Init
* Rename
* Position
* Reworked conversion to NodeInfo for PhoneAPI
2023-06-17 09:10:09 -05:00
Ben Meadors
c2168dd450
Merge branch 'master' into neighborinfo
2023-06-09 19:51:22 -05:00
GUVWAF
66c71250b8
Update last_sent_by_id in FloodingRouter
2023-06-08 20:59:09 +02:00
Ben Meadors
81f80546b4
Remove deprecated MyNodeInfo fields ( #2552 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
2023-06-08 08:07:32 -05:00
Ben Meadors
44a54278b3
Skadoosh ( #2549 )
2023-06-07 12:59:01 -05:00
GUVWAF
cdf44ce7fa
Move module init out of repeater clause
2023-06-06 21:07:12 +02:00
GUVWAF
d70bd23260
Use float print specifier for SNR
2023-06-06 21:06:19 +02:00
Ben Meadors
b42ead4400
Merge branch 'master' into neighborinfo
2023-06-02 06:46:45 -05:00
Ben Meadors
cd787232ca
Use INA for device battery level ( #2536 )
...
* WIP
* Continued wip
* We got em
* Voltage sensor base class
* INA voltage
* Log it
* Stacie's mom has got it going on
* Move declaration up
* Last one
* Sneaky little bugger
* Macro guard to avoid calling methods
2023-06-02 06:32:34 -05:00
Ben Meadors
a491ceefcd
Wio-e5 wip ( #2265 )
...
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* LittleFS compiles. Can't check with actual device.
* make cppcheck happy again
* Guard against accelerometer thread
* Missed a spot
* Upload via ST-LINK
* Derive MAC address from UID
* upload port
* Trunk it
* Guard it
* Maybe fix the cache error on startup.
* Latest RadioLib ref to fix SubGHZ
* revert nasty Sub-GHz Hack
* Boots and radio inits with RadioLib 6.0, LittleFS doesn't seem to work
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: GUVWAF <thijs@havinga.eu>
2023-06-01 07:14:55 -05:00
Ben Meadors
9b94701699
Merge branch 'master' into neighborinfo
2023-05-31 20:08:50 -05:00
Ben Meadors
9d3dc9283c
Enable range test module (sending only) on NRF ( #2534 )
...
* Enable range test module (sending only) on NRF
* Consolidate
2023-05-31 20:08:32 -05:00
Thomas Göttgens
61661aed50
Broadcast neighbor info
...
also update trunk
2023-05-31 13:18:43 +02:00
Ben Meadors
b1398d0770
Open up Serial Module to T-Echo ( #2533 )
...
* Remove macro guards for T-Echo
* Missed a spot
* Gaurd serial2
* Didn't mean to circumcize that declaration
2023-05-31 05:30:59 -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
9ddbfc0e3e
CalTopo NMEA mode ( #2526 )
...
* CalTopo NMEA mode
* Didn't need that actually
* Missed a paren
2023-05-28 14:56:44 -05:00
GUVWAF
94f5c04e19
Update lastSentToPhone after sendTelemetry ( #2522 )
2023-05-27 12:35:45 -05:00
Thomas Göttgens
a583163766
fix BSEC2 BME680 Sensor Readings
2023-05-25 15:56:39 +02:00
Thomas Göttgens
e5b049d2e2
trunk
2023-05-24 02:48:48 +02:00
Thomas Göttgens
52df85c338
tryfix cppcheck errors
...
also ignore temporary files
2023-05-24 02:44:30 +02:00
Ben Meadors
4f0922ec2b
Concat remote hardware pins ( #2508 )
2023-05-23 16:18:14 -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
Thomas Göttgens
77dace1043
derp
2023-05-15 17:16:32 +02:00
Thomas Göttgens
e02720b29b
fixes #2490 - hard coded 8 hour limit
2023-05-15 17:16:32 +02: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
70dc13a998
use BSEC2 only
2023-05-10 14:14:48 +02:00
Thomas Göttgens
9841d49fb8
Merge branch 'master' into BSEC2
2023-05-10 13:31:46 +02:00
Ben Meadors
09d48f659e
RAK14001 RGB LED support ( #2464 )
...
* WIP
* WIP
* Moved it
* More random strobey behavior
* Guard to RAK4630 devices for now
* Oops
* Ship it
2023-05-06 07:17:40 -05:00
Thomas Göttgens
46e29402a6
fmt
2023-05-05 18:11:44 +02:00
Thomas Göttgens
10f41e376c
use BSEC2 for ESP32-C3
2023-05-05 18:09:06 +02:00
IhorNehrutsa
e360c62480
RemoteHardwareModule.cpp: Hot Fix digitalReads() pinModes(mask, INPUT_PULLUP) ( #2459 )
2023-05-03 21:09:18 -05:00
IhorNehrutsa
973b30fc0b
Update RemoteHardwareModule.cpp ( #2454 )
2023-05-03 06:25:03 -05:00
Ben Meadors
7ef12c77a8
Add initial screen for receiving waypoints ( #2452 )
2023-05-01 16:10:27 -05:00
Thomas Göttgens
1621fbb5ab
add debug/info print
2023-04-21 16:03:48 +02:00
Thomas Göttgens
ac40f77694
Draft for now, please test
2023-04-21 16:03:48 +02: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
a284439d7e
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-04-12 16:27:36 +02:00
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