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
Thomas Göttgens
bba6bf387e
hopefully fix compilation errors
2022-11-29 14:35:46 +01:00
Thomas Göttgens
4d32f7c5ad
WIP: audio module still does not work, but enabled for all regions where audio is permitted.
2022-11-29 11:22:18 +01:00
Thomas Göttgens
0dff05e881
Merge pull request #1998 from GUVWAF/dutyCycleLimit
...
Completely refrain from transmitting if duty cycle limit exceeded
2022-11-29 11:06:31 +01:00
GUVWAF
7ca104cef6
Override duty cycle if user is_licensed
2022-11-27 16:53:02 +01:00
GUVWAF
3e892fc391
Merge branch 'meshtastic:develop' into develop
2022-11-26 21:14:52 +01:00
Ben Meadors
47a47f1e69
Merge branch 'master' into develop
2022-11-26 08:18:35 -06:00
Ben Meadors
84a9d95b1f
Merge branch 'master' into MESSAGES
2022-11-26 06:43:52 -06:00
GUVWAF
c45a85547e
Send 'ACK' response for admin message
2022-11-25 20:33:24 +01:00
GUVWAF
8815746006
Fix wrong comment
2022-11-25 20:33:23 +01:00
Ihor Nehrutsa
6507683909
Squashed commit of the following:
...
commit c8d1bcf04fae5f7ac5b639ddd15a738045014c95
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Fri Nov 25 15:11:18 2022 +0200
Revert "variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS"
This reverts commit 8d225ced9c
.
commit 1c37097448393ea9364c2b9bf10522802c61d5c4
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Fri Nov 25 15:04:09 2022 +0200
Some little debugs added
commit f1b55e11af
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Wed Nov 23 15:24:58 2022 +0200
Update variant.h
commit 8d225ced9c
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Wed Nov 23 13:06:49 2022 +0200
variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS
2022-11-25 15:17:24 +02:00
Thomas Göttgens
5f8267c956
use the buzzer for external notification module
2022-11-24 10:11:42 +01:00
Thomas Göttgens
0d7d59609a
Remove gpio binding for notification module.
2022-11-23 23:49:29 +01:00
Ben Meadors
2fedb6b774
Add reset nodedb handler back
2022-11-23 14:12:44 -06:00
Ben Meadors
24244e8474
Update AdminModule.cpp
2022-11-21 12:24:05 -06:00
Ben Meadors
fb4f9bdc40
Merge branch 'master' into transactional-config-edits
2022-11-21 12:10:49 -06:00
Ben Meadors
b1ba807ec9
Only save and reboot while a transaction isnt open
2022-11-20 19:50:45 -06:00
Thomas Göttgens
4a2b02347f
Keymatrix Bugfix: Allow key 3 to send associated text
...
Feature: setting a text "~" emulates IO5/Userbutton with keymatrix.
2022-11-20 20:59:48 +01:00
Thomas Göttgens
6a696af8f6
Revert "remember which devices were scanned on which bus and set them accordingly." - this is not working at all.
2022-11-13 14:56:52 +01:00
Thomas Göttgens
52cf530356
missing 2 sensor changes
2022-11-12 17:18:17 +01:00
Thomas Göttgens
861ded37db
remember which devices were scanned on which bus and set them accordingly.
2022-11-12 17:12:40 +01:00
Thomas Göttgens
4dd140a887
fix #1914 and clean up rangetest a bit
2022-11-09 15:12:57 +01:00
Thomas Göttgens
803858ab0a
change default pins for codec2 to work on TLORA 2.1-1.8
2022-11-09 11:50:13 +01:00
Ben Meadors
32223a818c
Updated admin module and protobufs
2022-11-08 15:04:24 -06:00
Thomas Göttgens
631db56a44
Next try, plus change cppcheck defines back.
2022-11-06 14:32:02 +01:00
Thomas Göttgens
7b378d36cc
try to make cppcheck happy again
2022-11-06 13:29:01 +01:00
Thomas Göttgens
8ab269e1b3
revert BME680 to default settings, they are working good. Our init was just replicating what's in the lib anyway.
2022-11-06 10:52:54 +01:00
Thomas Göttgens
7652253b8d
optimize BME680 usage
2022-11-06 10:37:14 +01:00
Thomas Göttgens
3d9633a56c
Different Sensor access, should prevent overheating/wrong measurements.
2022-11-05 20:12:41 +01:00
Thomas Göttgens
09cdc20440
manual merge of changes from Master
2022-11-04 19:56:44 +01:00
Thomas Göttgens
09ddde177c
codec2 Audio Support for SX1280 (untested)
2022-11-02 18:23:41 +01:00
Sacha Weatherstone
b24caa1e06
Update links
2022-10-31 17:32:38 +10:00
Ben Meadors
311835a231
Implement extended device metadata ( #1874 )
...
* Implement extended device metadata
* HAS_BLUETOOTH should be global
2022-10-30 10:02:11 -05:00
Thomas Göttgens
62b3509009
missed one
2022-10-22 14:13:45 +02:00
Thomas Göttgens
d817889255
don't depend on EXT_NOTIFY_OUT being defined.
2022-10-22 13:45:43 +02:00
Thomas Göttgens
d4ddcdd91e
use PWM buzzer on notification module. To activate set moduleConfig.external_notification.output equal to the PIN_BUZZER. If another value is set, the traditional digital mode is used
2022-10-22 13:35:34 +02:00
Ben Meadors
d4ea9568ac
Save devicestate (nodedb) on position config change ( #1829 )
2022-10-20 13:14:53 -05:00
Ben Meadors
056a93f0c9
Consolidate reboots ( #1827 )
2022-10-19 19:19:04 -05:00
Ben Meadors
b0d05522c0
Make telemetry packets minimum priority ( #1810 )
2022-10-16 15:59:59 -05:00
Ben Meadors
fc57a9daa4
Send environment telemetry every minute ( #1808 )
2022-10-16 11:36:38 -05:00
Ben Meadors
efe2e90a03
Merge branch 'master' into nmea-serial
2022-10-16 09:59:30 -05:00
Ben Meadors
45f9dee89a
Telemetry phone api guard ( #1805 )
...
* Delay start of telemetry modules
* Don't send unless our toPhoneQueue is empty
* Get wrecked, checks!
2022-10-16 09:58:58 -05:00
Thomas Göttgens
d3e9dbf6a9
Add NMEA output mode (my own position, and other devices as waypoints) to serial module
2022-10-16 16:37:38 +02:00
Ben Meadors
7fde56b8ac
Make telemetry logging more concise ( #1804 )
...
* Make telemetry logging more concise
* Whoops
2022-10-15 18:48:34 -05:00
Ben Meadors
6b614a2d6a
Added LPS22HB (RAK-1902) sensor support ( #1802 )
2022-10-15 14:55:57 -05:00
Ben Meadors
a3e67f8e4b
SHTC3 Sensor (RAK-1901) support ( #1800 )
2022-10-15 09:11:05 -05:00
Ben Meadors
028b25cfe8
Change RTCQuality acceptance criteria ( #1797 )
...
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-10-14 19:12:55 -05:00
Ben Meadors
2555e082d6
Add nrf52 to serial module registration ( #1799 )
...
* Add nrf52 to serial module registration
* Update Modules.cpp
* Update Modules.cpp
* Update Modules.cpp
2022-10-14 11:38:56 -05:00
Thomas Göttgens
b25ace14e5
Update CannedMessageModule.h
2022-10-13 15:44:27 +02:00
Thomas Göttgens
8734751bc4
make screen timeout work again
2022-10-13 15:31:57 +02:00
Thomas Göttgens
5559a1edb0
Display looks better that way...
2022-10-13 15:22:57 +02:00
Ben Meadors
434db4347b
Send device telemetry to phone every minute ( #1784 )
2022-10-11 10:21:30 -05:00
Thomas Göttgens
20eaddee58
- fix conditional include for nRF52 (no OTA there)
...
- fix compiler warning in Canned Messages
2022-10-09 11:35:19 +02:00
Thomas Göttgens
30b1bd85d9
fix build for non-esp32
2022-10-09 11:19:33 +02:00
Sacha Weatherstone
a17c40ad09
Merge branch 'master' into ota
2022-10-09 16:44:24 +10: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
Ben Meadors
511fe23b8a
Merge branch 'master' into ota
2022-10-08 08:22:16 -05:00
Thomas Göttgens
5572195af9
Fix another crash in Canned Messages
2022-10-08 14:52:21 +02:00
Thomas Göttgens
a6ee708b90
Merge branch 'master' into ota
2022-10-08 11:21:33 +02:00
Thomas Göttgens
c9398e7b8a
- prevent crash when no messages defined
...
- remove debug print
2022-10-08 11:20:54 +02:00
Thomas Göttgens
b591e35442
Switch to OTA firmware
2022-10-08 11:10:29 +02:00
Thomas Göttgens
a5761069ca
Finalize destination selection. Primary Channel only for now.
2022-10-07 18:40:15 +02:00
Thomas Göttgens
7cda61ca01
- preliminary work for node selection
...
- show sending screen on immediate click
2022-10-06 22:34:55 +02:00
Thomas Göttgens
1d09beb8a7
word wrap long input and fix compiler warnings
2022-10-06 18:40:31 +02:00
Thomas Göttgens
a17ddaa951
Use small font for freetext messages
2022-10-06 17:24:08 +02:00
Thomas Göttgens
e34ada3ff1
support RAK14004 in Canned Messages
2022-10-06 16:00:33 +02:00
Thomas Göttgens
4d2cb45f9f
wire in part 1 of serial mode... select if you want textmsg or own portnum via config.
2022-10-05 11:39:50 +02:00
Thomas Göttgens
3597685b23
Only save the changed parts of config to disk.
2022-10-04 14:32:07 +02:00
Thomas Göttgens
cf124d97b8
Clean up GPS code and add some flags per #1740
2022-10-03 20:30:11 +02:00
Ben Meadors
ac235bcabb
Reset nodedb wiring ( #1724 )
2022-09-28 16:47:26 -05:00
Thomas Göttgens
8f84f7c0a5
fixes #1669
2022-09-27 14:03:02 +02:00
Thomas Göttgens
4949bda606
Don't delete OEM.proto on factory reset
2022-09-23 19:52:42 +02:00
Thomas Göttgens
e8f4a8b739
Merge branch 'master' into ESPIDF-Littlefs
2022-09-23 18:45:37 +02:00
Ben Meadors
8ef510035d
Owner reboot ( #1716 )
2022-09-22 08:02:58 -05:00
Thomas Göttgens
b5a8efa16b
Filesystem fixes for LittleFS
2022-09-21 16:47:10 +02:00
Thomas Göttgens
011db443ba
Bugfixes in Freetext Module.
...
- work without fixed messages defined
- honour cursor position on backspace
- don't send an empty string
- compiler warnings in font engine fixed
2022-09-21 10:42:10 +02:00
Thomas Göttgens
b73e240f4d
relative paths are relative
2022-09-20 16:36:50 +02:00
Thomas Göttgens
6de77ee310
use cyrillic font if defined
2022-09-20 16:30:21 +02:00
Thomas Göttgens
0a8293a2d6
Cursor editing
2022-09-20 16:21:32 +02:00
Thomas Göttgens
d0ad5dd4cf
- don't swallow keystrokes
...
- switch back and forth between the 2 modes.
2022-09-20 14:28:42 +02:00
Thomas Göttgens
ab342ce904
Freetext Input with CardKB Take 1 - Also removes FacesKB support, this thing is ancient.
2022-09-20 13:50:18 +02:00
Ben Meadors
0e2ab75bb0
Set tx_enabled upon initial region assignment ( #1700 )
2022-09-17 14:49:09 -05:00
Ben Meadors
0f87adad7b
Power state lies and other fixes ( #1698 )
...
* Power interval defaults and factory reset
* Ternary
* Fixes
2022-09-16 11:00:05 -05:00
Ben Meadors
18f37981bb
Spelling and fixing defaults
2022-09-12 07:55:17 -05:00
Thomas Göttgens
b96dd6d36d
T-Echo does not have Serial2
2022-09-12 10:53:11 +02:00
Thomas Göttgens
17db87e042
implement #1542
2022-09-12 10:08:32 +02:00
Thomas Göttgens
42d2986cb8
Reinstate GPS Flag
2022-09-12 09:37:21 +02: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
Thomas Göttgens
e05e888fca
Update admin config field
2022-09-09 13:14:15 +02:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
Ben Meadors
e87ecc210a
Wifi enabled plumbed in ( #1677 )
...
* Wifi enabled
* Wifi requires reboot
* Increment DEVICESTATE_CUR_VER
2022-09-06 14:06:44 -05:00
Ben Meadors
285ba9639e
Fix screen on secs ( #1673 )
...
* Fix screen on secs
* getIntervalOrDefaultMs
* Display correction
* Paren
2022-09-03 22:10:11 -05:00
Ben Meadors
9a03b2e49d
Same as NodeDB position_broadcast_secs bug but different ( #1645 )
...
* intervalMs
2022-08-24 17:29:09 -05:00
Ben Meadors
ef9bfc9104
Enable external notification module for nrf52
2022-08-23 13:16:20 -05:00
Ben Meadors
3bb645d4fe
Fixed huge nodeinfo bug
2022-08-23 13:12:41 -05:00
Ben Meadors
b54073a8a1
Bluetooth mode unification and behavior tweaks ( #1636 )
...
* Esp32 bluetooth modes
* Comment
* Gutting bluetooth
* Cleanup
* Security
* Testing
* NRF bluetooth security
* Reboot on saved lora or bluetooth settings
* Cleanup
* Fixes
* Stub for platforms without screens
* Fixed just-works in esp32
* Cleanup
* Display device name in boot screen
* Added waypoint module routing
* chmod
* Words
* Protos
* Backing out partition changes for testing
* Revert "Backing out partition changes for testing"
This reverts commit 191ed6489c
.
* Chmod PR artifacts
* Trying setInitialState again
* Revert "Trying setInitialState again"
This reverts commit 703eac7277
.
* External notification module
* Cleanup
* Pin display formatting
2022-08-22 16:41:23 -05:00
Ben Meadors
86d3759f55
New bluetooth config protos and canned messages consolidation ( #1632 )
...
* Bluetooth and canned messages refactor
* More can of worms messages
* Set has_bluetooth and default pin
* Defaults
2022-08-15 21:06:55 -05:00
Ben Meadors
73a1ea59f4
Update BMP280Sensor.cpp ( #1627 )
2022-08-12 20:11:32 -05:00
Ben Meadors
572f9f9295
Get device metadata admin message ( #1607 )
...
* Get device metadata admin message
* Bump device state version
2022-08-08 07:19:04 -05:00
Ben Meadors
de47cc55a0
Don't reply with null island ( #1605 )
2022-08-07 15:08:46 -05:00
GUVWAF
2ad9e238e2
RoutingModule can handle encrypted packets
2022-08-03 19:08:23 +02:00
Ben Meadors
44ffdc5172
Send to phone like position packets ( #1582 )
2022-07-31 11:13:12 -05:00
Ben Meadors
97684c6c73
Add bmp-280 support ( #1581 )
2022-07-31 08:52:47 -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
Ben Meadors
fd27a814b7
Don't send me to null island, please ( #1576 )
...
* Don't send me to null island, please
* Typo
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-07-30 07:36:21 -05:00
Ben Meadors
7e7872605b
Lots of environmental telemetry sensor cleanup ( #1574 )
2022-07-29 12:39:46 -05:00
Jm
cf4c814b59
Allow range test module to loop back messages
2022-07-16 08:08:10 -07:00
Jm
ea7da3178b
Fixed comment
2022-07-16 07:57:35 -07:00
Ben Meadors
d56094fb7c
Set last gps coordinates after comparison ( #1556 )
...
* Set last gps coordinates after comparison
* Wrong spot
2022-07-11 13:18:02 -05:00
Ben Meadors
d7d574e0a7
Screen for voltage / current ( #1547 )
...
* Add voltage + current measurements
* mA instead of amp
2022-07-03 11:10:41 -05:00
Ben Meadors
52f299ec49
Remove is_always_pwoered ( #1525 )
2022-06-17 13:35:12 -05:00
Ben Meadors
5106433572
Removed phone_timeout_secs pref references ( #1503 )
2022-06-12 09:44:23 -05:00
Ben Meadors
4458b470aa
Don't enable environmental telemetry by default ( #1502 )
...
* INA219 + INA260 support in telemetry
* Protobuf update
* Fixes + debug statement
* Fix size
* Fix conversion from mv
* Added getRegisterValue for i2cscan
* Accidentally left this in
* Removed line
2022-06-12 07:14:33 -05:00
Ben Meadors
90957e6994
INA260 + INA219 sensor support ( #1501 )
...
* INA219 + INA260 support in telemetry
* Protobuf update
* Fixes + debug statement
* Fix size
* Fix conversion from mv
* Added getRegisterValue for i2cscan
2022-06-11 16:44:56 -05:00
Ben Meadors
3fd756900a
Refactoring some of the i2c boilerplate ( #1498 )
...
* Refactoring some of the i2c boilerplate
* Default value
* Debug statement
2022-06-10 12:04:04 -05:00
Ben Meadors
eafbef0c2f
Scan for i2c sensors in environmental telemetry if enabled ( #1492 )
...
* Scan for i2c sensors in environmental telemetry if enabled
* Update TelemetrySensor.h
* Added surpression.
* Remove suppression and fix real bug
* Interrogate BME sensor id registers
2022-06-05 09:50:06 -05:00
Ben Meadors
4ab831c103
Fix nagging bool linter warnings ( #1491 )
2022-06-04 07:28:58 -05:00
Thomas Göttgens
b88e75cf2a
Fixed Typo in get Config
2022-05-29 16:31:30 +02:00
Jm Casler
f3c15eb6cc
Completed compression. Tested between two devices.
2022-05-24 17:42:46 -07:00
Thomas Göttgens
800a4200ef
make sure all segments are enabled and saved
2022-05-22 13:54:24 +02:00
Thomas Göttgens
6bb3861e95
Moduleconfig also changed to localConfig Model.
2022-05-22 13:27:56 +02: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
38913bb661
Consistency fixes & repo cleanup
2022-05-12 20:45:30 +10:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Sacha Weatherstone
eb6dd6b53d
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-05-07 13:34:36 +10:00
Sacha Weatherstone
ea86f76393
Move LoRa config out of primary channel
2022-05-07 13:34:06 +10:00
Thomas Göttgens
b5cc304336
Make #define NO_SCREEN work again
2022-05-06 15:41:37 +02:00
Sacha Weatherstone
211273cc08
Fix expected values in config setters
2022-05-04 12:52:44 +10:00
Sacha Weatherstone
8ba0a9bf87
Fix config switch
2022-05-03 22:16:50 +10:00
Sacha Weatherstone
f84286d138
Split config structure in two
2022-05-02 22:00:24 +10:00
Sacha Weatherstone
7ae8601ba5
fix warnings
2022-05-02 10:24:28 +10:00
Sacha Weatherstone
8f038ced15
add handleSetConfig, remove team
2022-05-02 08:53:44 +10:00
Sacha Weatherstone
3a1f20821e
Remove team and provision set_config
2022-05-02 08:35:31 +10:00
Ben Meadors
2ca0290662
Admin message implementation
2022-05-01 15:35:01 -05:00
Ben Meadors
163774bb1f
Moved refactored prefs
2022-05-01 14:26:05 -05:00
Sacha Weatherstone
c0d40895f8
Config rework - Init GetConfigResponse
2022-05-01 16:12:48 +10:00
Sacha Weatherstone
50326fbb6b
Config rework - Init getConfig
2022-05-01 12:41:26 +10:00
Sacha Weatherstone
98cd19ea0f
Config rework - Init getConfig
2022-05-01 12:39:48 +10:00
Ben Meadors
359b41d869
Position fwd phone ( #1413 )
...
* Correct factory reset code for NRF (from 1.2)
* Changes from 1.2
* Update proto ref
* Whoops
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-04-26 19:40:24 -05:00
Ben Meadors
98c8eaaaf0
Moved sender short name method into protobuf module ( #1398 )
...
* Moved sender short name method into protobuf module
* Correct factory reset code for NRF (from 1.2)
* Use the correct fs abstraction
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-04-24 16:12:25 -05:00
Dmitry Galenko
293921e95a
Brother EP-44 support
2022-04-19 22:37:04 +02:00
Ben Meadors
286e64d5f6
Smoke test moving device telemetry into portduino
2022-03-31 16:27:55 -05:00
Thomas Göttgens
7282b562fa
Fix Crash if no texts defined but plugin enabled
2022-03-31 14:59:42 +02:00
Ben Meadors
eafd205169
Update telemetry for local node ( #1332 )
2022-03-28 12:13:22 -05:00
Thomas Göttgens
cd86d33f6f
Merge branch 'master' into inputbroker-v2
2022-03-28 17:00:05 +02:00
Thomas Göttgens
f119e294af
Add CardKB, FACES and RAK14004 support to inputbroker/cannedmessages
2022-03-28 16:55:58 +02:00
Ben Meadors
ba2fa84ebd
Reworked metrics structure and split telemetry into device or environ… ( #1331 )
...
* Reworked metrics structure and split telemetry into device or environment
* Comment cleanup
2022-03-27 09:55:35 -05:00
Thomas Göttgens
450ab95ab5
Merge branch 'master' into location
2022-03-26 18:14:41 +01:00
Thomas Göttgens
0058382e85
RAK Rotary and simple up/down/press button support for Canned Messages
2022-03-26 17:45:42 +01:00
Jm Casler
8bca0d94cd
Regen protos for serial baud & mode. Update serial_module to support new enums.
...
Regen protos for serial baud & mode. Update serial_module to support new enums.
2022-03-26 09:35:06 -07:00
Thomas Göttgens
e320850707
Resolve Conflicts between PIN_BUtton and the Rotary Select and keep screen powered during plugin operation. Forward Port from 1.2 firmware fix.
2022-03-25 12:27:14 +01:00
Ben Meadors
47524d58d7
Telemetry tweaks ( #1315 )
...
* Update protos
* Removed battery level from position packets
* Send internal metrics
* Handle telemetry on node info for now
* Fixes
* Default telemetry to enabled and same interval as position
* Fixes for lots of interval issues
* Fixed interval
* Regen
* Cleanup
* Newline
* Update proto ref
* Fixed missing metric and updated power level to uint
* Regen
2022-03-23 15:46:39 -05:00
Ben Meadors
e97bd4f9f9
Battery level / telemetry rework (first pass) ( #1306 )
...
* Update protos
* Removed battery level from position packets
* Send internal metrics
* Handle telemetry on node info for now
* Fixes
* Default telemetry to enabled and same interval as position
* Fixes for lots of interval issues
* Fixed interval
* Regen
* Cleanup
* Newline
* Update proto ref
2022-03-20 09:55:38 -05:00
Sacha Weatherstone
a530249503
Fix typo "Fahrenheit"
2022-03-20 14:15:32 +11:00
Jm Casler
11130496c4
remove is_router in favor of role == Role_Router
2022-03-15 15:49:25 -07:00
Jm Casler
1b1c3936a4
support for position_broadcast_smart_disabled
2022-03-14 18:09:11 -07:00
Sacha Weatherstone
f33cd4081e
Implement getOwner
2022-03-10 09:14:56 +11:00
Sacha Weatherstone
6bee95d6b2
Rename MeshPlugin, SinglePortPlugin and ProtobufPlugin
2022-03-09 19:01:43 +11:00
Sacha Weatherstone
46b8b61b7f
Fix Serial Plugin name
2022-03-09 18:37:41 +11:00
Jm Casler
e53abbfb2b
more rename plugin to module
2022-02-27 02:21:02 -08:00
Jm Casler
3c5e49d8f4
More renaming plugin to module
2022-02-27 01:49:24 -08:00
Jm Casler
a83cfffd3a
Rename plugins in /esp32
2022-02-27 01:27:17 -08:00
Jm Casler
24556f2803
CannedMessages from plugin to module
2022-02-27 01:20:23 -08:00
Jm Casler
ba7644e376
Update canned messages from plugin to module
2022-02-27 01:09:36 -08:00
Jm Casler
ed5dea9f85
Update _plugin_ in radioconfig to _module_
2022-02-27 00:52:25 -08:00
Jm Casler
3a04a0ee7a
"plugin(s)" renamed to "module(s)" in comments and debug
2022-02-27 00:29:05 -08:00
Jm Casler
86e767eec2
Update filenames from plugins to modules
2022-02-27 00:18:35 -08:00
Jm Casler
218a208ab7
mv plugins/ to modules/
2022-02-26 23:56:26 -08:00