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