GUVWAF
24458a73d6
Add missing hops in traceroute as "unkown" ( #4056 )
...
E.g. in case a node couldn't decrypt the packet
2024-06-09 16:03:53 -05:00
Michael Gjelsø
a2fb3d23a1
Radio Master 900 Bandit Nano Power output interpolation ( #4057 )
...
* DAC and DB values based on dBm using interpolation
* Moved getDACandDB funtion
Moved getDACandDB funtion up so it won't conflict with RF95_MAX_POWER
* Added DAC output to LOG_INFO
Added DAC output to LOG_INFO
* Make Trunk Happy
2024-06-09 16:03:39 -05:00
GUVWAF
237944aaf0
Avoid assert on receiving undecryptable packet ( #4059 )
...
* Send NAK on primary if original packet couldn't be decoded
* Add checks for `isDecoded` when accessing `decoded`
* Channel index should be of original packet, not of newly allocated NAK
2024-06-09 16:02:52 -05:00
Thomas Göttgens
1d98e48bab
Update main_matrix.yml
2024-06-09 16:33:50 +02:00
Ben Meadors
01a214aa59
Add continues on failing docker steps
2024-06-09 08:32:31 -05:00
Ben Meadors
4da3f202e5
Roll-back to v2
2024-06-09 07:55:45 -05:00
Ben Meadors
2f99a8dbb8
Try latest version
2024-06-09 07:40:57 -05:00
Ben Meadors
f59cbc8ffb
Add firmware repo level secret
2024-06-09 07:19:25 -05:00
Thomas Göttgens
095887de40
do the docker dance
2024-06-09 13:00:06 +02:00
Thomas Göttgens
46b8e2a850
fix binary location
2024-06-09 12:56:44 +02:00
Thomas Göttgens
27ad3da0ac
reinstate after checks and hope the coffee kicks in
2024-06-09 12:37:23 +02:00
Thomas Göttgens
2335352fbe
fix native build
2024-06-09 12:30:47 +02:00
Ben Meadors
2fa55b7b6f
Remove bandit from extra
2024-06-08 09:44:13 -05:00
todd-herbert
da5bca31ed
Triple-press not disabling GPS ( #4041 )
...
* Replace (bool) isAwake with an enum, to track standby states
* Tidy-up, extra logging
* Rename enum values
* Reorder GPSPowerState enum
Possibly more intuitive when reading logs
* Avoid lego comments
de22c57298 (r1627334779)
2024-06-07 09:41:46 -05:00
Thomas Göttgens
8a4e91e848
Merge pull request #4048 from Jorropo/improve-eu-868-docs
...
fix dead link in EU_868 documentation
2024-06-07 16:35:11 +02:00
Thomas Göttgens
d91fdc5ea7
Merge pull request #4053 from meshtastic/xiao-ble
...
Compile without toolchain patching
2024-06-07 16:34:41 +02:00
Thomas Göttgens
355c610824
Compile without toolchain patching
2024-06-07 15:36:48 +02:00
Thomas Göttgens
a52db85ebe
fix base setup
2024-06-07 15:36:31 +02:00
todd-herbert
338244de32
Wake screen on first press ( #4052 )
2024-06-07 07:28:29 -05:00
Thomas Göttgens
90d45f24fd
Merge pull request #4049 from Talie5in/minimized_build_fixes
...
Minimized build fixes
2024-06-06 20:13:32 +02:00
Talie5in
d09da96780
Fix indentation oopsie
2024-06-06 23:57:44 +09:30
Talie5in
a5c96a29d5
Fix missing IFNDEF and IFDEF in main-esp32.cpp when EXCLUDE_WIFI is defined.
...
Moved IFDEF HAS_NETWORK to beginning of MQTT:runOnce (to catch when EXCLUDE_WIFI is defined)
2024-06-06 22:52:11 +09:30
Talie5in
1f9f885aca
If EXCUDE_MQTT Defined, skip reconnecting MQTT in WiFiAPClient and dont check status of is_mqtt_connected
2024-06-06 22:31:10 +09:30
Talie5in
646b252786
Include PositionModule if EXCLUDE_GPS defined (requied by AdminModule)
2024-06-06 22:19:40 +09:30
Jorropo
d82d9f5ef1
fix dead link in EU_868 documentation
...
See https://discord.com/channels/867578229534359593/871553168369148024/1248026118276255745 .
2024-06-05 23:32:59 +02:00
Thomas Göttgens
96b286cd48
release x86_64 deb
2024-06-05 17:50:58 +02:00
Thomas Göttgens
7874ebc568
Update package_amd64.yml
2024-06-05 17:24:55 +02:00
Thomas Göttgens
fb3c141231
update package index
2024-06-05 17:04:22 +02:00
Thomas Göttgens
f1906c38f1
sudo make me a sandwich
2024-06-05 16:37:12 +02:00
Thomas Göttgens
14b7c5b6ef
Create build_native.yml
2024-06-05 16:34:30 +02:00
Thomas Göttgens
d8775d94e3
try harder dude
2024-06-05 16:29:40 +02:00
Thomas Göttgens
2cc5598f89
Try building a deb for native
2024-06-05 16:27:46 +02:00
Thomas Göttgens
fbc8f6c03b
package x86_64 meshtasticd
2024-06-05 15:08:23 +02:00
jcyrio
d0ca616c19
typo: 'our our' to 'of our' ( #4037 )
2024-06-04 16:02:43 -05:00
Thomas Göttgens
c37316e723
use correct hardware tag for tracker and sdk ( #4036 )
2024-06-04 08:44:48 -05:00
github-actions[bot]
67b67a481f
[create-pull-request] automated change ( #4035 )
2024-06-04 08:34:38 -05:00
Thomas Göttgens
181f03cb95
tryfix random values ( #4034 )
2024-06-04 08:14:27 -05:00
Ben Meadors
9632e4c405
Add missing excludes to environmental sensors ( #4033 )
...
* DF Robot Lark weather station support
* Missed it
* I am a man of const char sorrow...
* Strang
* Use our fork
* Add excludes
2024-06-04 07:04:25 -05:00
Ben Meadors
a218c6fb4d
DFRobot Lark weather station support ( #4032 )
...
* DF Robot Lark weather station support
* Missed it
* I am a man of const char sorrow...
* Strang
* Use our fork
2024-06-03 21:50:28 -05:00
Thomas Göttgens
b43c7c0f23
LR1110 support ( #3013 )
...
* DOES NOT WORK
* trunk
* DOES NOT WORK
* trunk
* DOES NOT WORK
* trunk
* WIP: LR11x0 non functional interface code. Please don't expect a working firmware out of this! I don't know what i am doing! :-)
* trunk fmt
* use canon toolchain
* update and fix radiolib dependency
* Switch Radiolib back to GIT checkout
* enable tcxo and fix startReceive
* progress
* Correct midjudgement on scope of build defines.
* - enable peripheral power rail during startup init
- fix portduino builds
* add tracker pinout variant
* update to radiolib 6.6.0 API (aka: godmode is not for mere mortals)
* tracker is not so 'extra' any more
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-06-03 16:04:40 -05:00
github-actions[bot]
7cbfe7aa54
[create-pull-request] automated change ( #4029 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2024-06-03 15:59:39 -05:00
Thomas Göttgens
86f2000382
Merge pull request #4025 from meshtastic/bme-680
...
tryfix bme some more
2024-06-03 17:25:27 +02:00
Thomas Göttgens
79333c85a3
tryfix bme some more
2024-06-03 16:34:19 +02:00
Thomas Göttgens
4a93e4d85e
Merge pull request #4023 from meshtastic/radiolib
...
update Radiolib to 6.6.0
2024-06-03 14:25:03 +02:00
Thomas Göttgens
b551c8b592
update Radiolib to 6.6.0
2024-06-03 14:00:58 +02:00
Ben Meadors
06c635eca0
MLX90632 IR temperature sensor support ( #4019 )
2024-06-02 09:38:28 -05:00
Ben Meadors
97a5abbc82
TI OPT3001 light sensor support ( #4015 )
...
* TI OPT3001 light sensor support
* Added register interrogation to deconflict with SHT sensors on same address
2024-06-02 07:39:08 -05:00
Manuel
2723ae6e9b
fix crash during reset nodedb ( #4017 )
2024-06-02 07:38:20 -05:00
Ben Meadors
6ce2fdc1c8
Add TSL2591 sensor support ( #4014 )
2024-06-01 20:21:39 -05:00
github-actions[bot]
9a855c0b6f
[create-pull-request] automated change ( #4011 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2024-06-01 07:46:01 -05:00
Thomas Göttgens
2740a56944
tryfix: init change for BME680 ( #3965 )
2024-05-31 19:46:42 -05:00
fzellini
ffff2a03fc
dragino trackerd ( #4002 )
...
* added AHTx0 sensor
* AHT10 definition in protobuf
* AHT10 definition in protobuf
* protobufs
* Management of AHT20+BMP280 module
* missing newline in log
* missing newline in log
* dragino trackerd support
* dragino trackerd support
* revert back .gitmodules
* reverted gitignore
* merged telemetry.pb.h
* merged telemetry.pb.h
* removed extra script, now bin version works
* reverted
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-31 13:05:40 -05:00
Ben Meadors
4fa2427b8c
Trunk variants
2024-05-31 11:18:06 -05:00
fzellini
eddda3ca43
added AHTx0 sensor ( #3977 )
...
* added AHTx0 sensor
* AHT10 definition in protobuf
* AHT10 definition in protobuf
* protobufs
* Management of AHT20+BMP280 module
* missing newline in log
* missing newline in log
* reverted
* reverted .gitignore
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-31 11:17:53 -05:00
Ben Meadors
17142f8778
Add support for RadioMaster Bandit Nano ( #4005 )
...
* Add support for RadioMaster Bandit Nano
* Add fan to init and sleep
2024-05-31 10:56:04 -05:00
jonagnew
953aa4d091
Tracker v1.1 - fix pin 3 description in variant.h ( #3990 )
...
Schematic shows the following:
Pin 3 is Vext on v1.1 - HIGH enables LDO for Vext rail which goes to:
GPS UC6580: GPS V_DET(8), VDD_IO(7), DCDC_IN(21), pulls up RESETN(17), D_SEL(33) and BOOT_MODE(34) through 10kR
GPS LNA SW7125DE: VCC(4), pulls up SHDN(5) through 10kR
OLED: VDD, LEDA (through diode)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-31 10:55:20 -05:00
Aaron.Lee
b9edc7563b
Update the Heltec board battery level read accuracy. ( #3955 )
...
* Update variant.h
Update the Heltec board battery voltage read parameter.
* Update variant.h
Update the Heltec board battery voltage read parameter.
* Update variant.h
Update the Heltec board battery voltage read parameter.
* Update variant.h
Update the Heltec board battery voltage read parameter.
2024-05-31 10:55:05 -05:00
github-actions[bot]
c88278724c
[create-pull-request] automated change ( #4003 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2024-05-31 07:15:41 -05:00
Jonathan Bennett
54bccb898e
Run tzset() and localtime() in getTZOffset() to ensure proper timezone offset ( #3999 )
...
* Run tzset() and localtime() in getTZOffset() to ensure proper timezone offset
* Try #2 to fix timezone/DST
2024-05-31 07:15:16 -05:00
Jonathan Bennett
8d90c496d0
Don't send potentially bogus timestamps with fixed location ( #4001 )
2024-05-31 07:14:33 -05:00
Ben Meadors
10e3040494
Add support for to_callsign on GeoChats for ATAK ( #3996 )
2024-05-30 18:49:08 -05:00
Mike
f138eaa970
Fix original esp32 boot init panic ( #3985 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-30 10:59:10 -05:00
github-actions[bot]
cd8a7e44a8
[create-pull-request] automated change ( #3992 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2024-05-30 09:08:32 -05:00
Ben Meadors
0b48663cbc
Don't alloc NodeInfo replies when channel utilization is > 40% ( #3991 )
...
* Don't alloc NodeInfo replies when channel utilization is > 40%
* Commit
* Logs
2024-05-30 08:49:01 -05:00
Ben Meadors
af9d825266
Send own node-info earlier and move others to the end of want-config flow ( #3949 )
...
* Send own node-info earlier and move others to the end of want-config flow
* Special nonce skips other nodeinfos
* Missed it
2024-05-28 19:25:19 -05:00
Neil Hao
038413f46f
User experience improvement - app battery icon ( #3979 )
...
* 'app_battery_icon'
* Undo VS automatic modifications to this file
* 'app_battery_icon_2'
2024-05-28 06:30:15 -05:00
andrew-moroz
77cf5c6200
Fix time updates from client device and potentially incorrect UI frame receiving 'toggle watch face' button tap ( #3974 )
2024-05-26 07:04:31 -05:00
Mike
aa33ad1d58
Fix memory leak when there's no display ( #3972 )
2024-05-26 06:42:44 -05:00
Jonathan Bennett
34553c9714
Bump portduino to pick up improvements to reboot() ( #3975 )
2024-05-26 06:42:23 -05:00
capslockapocalypse
2233507667
Added "Hops away" on display ( #3934 )
...
* Added "Hops away" on display
Added in logic that displays "hops away" instead of signal strength when the node is more than 0 hops away.
* Added comment
* Update extensions.json to same as master
* attempt 2 at reverting extensions JSON
* Attempt 3 at getting extensions right
* Take 4. should be reverting to before my edits
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-24 08:08:21 -05:00
Thomas Göttgens
9a38a4b024
Merge pull request #3966 from andrew-moroz/t-watch-fix
...
t-watch-fix: Fully insulate T-Watch free text updates from other hardware platforms
2024-05-24 08:57:37 +02:00
Andrew Moroz
1d288414a5
t-watch-fix: Fully insulate T-Watch free text updates from other hardware platforms
2024-05-24 00:02:03 -04:00
andrew-moroz
2f9dc813d3
t-watch-updates: Add canned message free text via touch keyboard and watch face frames to T-Watch S3 ( #3941 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-23 07:21:27 -05:00
github-actions[bot]
1a253dccc3
[create-pull-request] automated change ( #3964 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2024-05-23 07:20:13 -05:00
Ben Meadors
7d873eb06b
Add exclude emoji macro
2024-05-22 20:40:26 -05:00
868meshbot
1631462db1
Oled screen emojis ( #3940 )
...
* Update images.h
Add some fun emojis
* Update Screen.cpp
Update Screen.cpp to display single emojis on the OLED of devices, if a single known emoji is detected
* Update images.h
add ? ! fog emojis
* Update Screen.cpp
add logic for new emojis
* Update Screen.cpp
correct formatting
* Update images.h
correct formatting
* Update Screen.cpp
change formatting via trunk application
* Update images.h
change formatting based on trunk application
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-22 19:28:30 -05:00
Jonathan Bennett
7bcb8f1fee
Portduino: Catch the keyboard power button and initiate poweroff ( #3953 )
2024-05-22 07:54:06 -05:00
Mike
0c9da9aec7
Update platformio/espressif32 to the latest 6.7.0 ( #3899 )
...
* Bump platfomio/espressif32 version to latest 6.7.0
* Fix deprecated constants
* Remove pin defs already defined by the framework
* ESP_EXT1_WAKEUP_ALL_LOW is deprecated for any target except esp32
* Enable LTO and use newlib nano flavor
* Make trunk happy
* Respect build_unflags of base env
* Recover float printfing
* Disable BLE_SM_PAIR_AUTHREQ_SC
* Distribute BLE_SM_PAIR_KEY_DIST_ID too
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-21 21:02:09 -05:00
todd-herbert
a12b9922ed
Screen changes from time deltas to timestamps after 15 minutes ( #3935 )
...
* E-Ink displays sometimes use timestamp instead of delta
* Allow users to disable E-Ink screensaver
* Clarify variable's purpose
* Operator order oopsie
* Picky print problem
* Implement for all display, not just E-Ink
* Align "unknown age" behavior with existing code
* One more use of timestamp, if screen is wide enough
2024-05-21 16:00:04 -05:00
todd-herbert
cdf86f4166
Change NRF_APM USB detection code ( #3939 )
2024-05-21 15:58:05 -05:00
github-actions[bot]
040b851615
[create-pull-request] automated change ( #3950 )
...
Co-authored-by: jp-bennett <5630967+jp-bennett@users.noreply.github.com >
2024-05-21 14:40:31 -05:00
Jonathan Bennett
d19607ba98
Look in the right place for .debs
2024-05-21 11:23:29 -05:00
Jonathan Bennett
b829ee795d
re-add .deb download to build
2024-05-21 10:37:26 -05:00
Ben Meadors
2fdc2e2c3c
Perhaps a wildcard shall I seek
2024-05-21 09:07:47 -05:00
Ben Meadors
b9a6d21dff
Add EoRA-S3
2024-05-21 07:45:24 -05:00
Ben Meadors
8c5dee5881
Remove download
2024-05-21 07:04:18 -05:00
Ben Meadors
55d46bae92
Update build_raspbian_armv7l.yml
2024-05-21 06:56:16 -05:00
Jonathan Bennett
ed8abea11b
Add final debug call for Portduino reboot ( #3945 )
2024-05-21 00:09:33 -05:00
Ben Meadors
5f107569f3
Put T-Beam supreme back to the future ( #3944 )
2024-05-20 19:48:10 -05:00
Ben Meadors
b68ef3d98a
Revert "Fix TBeam Supreme woes (and upgrade platform)" ( #3943 )
2024-05-20 19:34:51 -05:00
Jonathan Bennett
34aec70998
No need to build Raspbian arm64 twice: Part 2
2024-05-19 23:44:12 -05:00
Jonathan Bennett
e8cdac8fa0
No need to build Raspbian arm64 twice
2024-05-19 23:31:33 -05:00
Jonathan Bennett
afae3a488e
Move Raspbian Arm64 to new build scheme
2024-05-19 23:29:43 -05:00
Jonathan Bennett
85e238ca76
Better names for .deb artifacts
2024-05-19 21:12:47 -05:00
Jonathan Bennett
45b05c9896
Revert "Use the right arch name for armv7l builds"
...
This reverts commit 7d1a925892 .
2024-05-19 20:39:11 -05:00
Jonathan Bennett
7d1a925892
Use the right arch name for armv7l builds
2024-05-19 20:16:33 -05:00
Jonathan Bennett
72fb8a30a1
No sudo on debian docker
2024-05-19 18:18:03 -05:00
Jonathan Bennett
1c67f491d4
Add deps install for armv7l builds
2024-05-19 18:13:12 -05:00
Jonathan Bennett
f7a4cd33b4
Add armv7 builds
2024-05-19 18:00:06 -05:00
Jorropo
3719ddac03
automatically propose to setup virtualenv if platformio is having issues in native build ( #3923 )
2024-05-19 07:25:05 -05:00
Ben Meadors
4a05874dba
Try-fix: Remove logging of actual payload strings (and compressed) for TAK packets ( #3922 )
...
* Remove logging of actual payload strings (and compressed) for TAK packets
* Don't assert / reboot. Log error and skip decode
2024-05-19 07:24:10 -05:00
Jonathan Bennett
84d3117a7a
Lock Portduino to MAGIC_USB_BATTERY_LEVEL for now ( #3894 )
2024-05-18 12:21:35 -05:00
Thomas Göttgens
300b26c6b5
Merge pull request #3925 from meshtastic/init-variant
...
PLEASE TEST move the power rail init earlier in the startup process on 4630
2024-05-18 15:33:06 +02:00
Thomas Göttgens
cf0424922a
target does not use the powerrail
2024-05-18 10:48:57 +02:00
Thomas Göttgens
7ef9fec446
PLEASE TEST move the power rail init earlier in the startup process on 4630
2024-05-18 10:48:57 +02:00
Thomas Göttgens
2244b0efec
Merge pull request #3930 from meshtastic/screen-pinning
...
remove screen pinning for pico targets
2024-05-18 10:43:45 +02:00
Thomas Göttgens
108dfdc2ec
update trunk
2024-05-18 10:41:32 +02:00
Thomas Göttgens
b161649989
remove screen pinning for pico targets
2024-05-18 10:22:07 +02:00
Jonathan Bennett
a2284e3d52
DEBIAN is case sensitive
2024-05-17 03:32:11 -05:00
Thomas Göttgens
ce40f91613
Merge pull request #3924 from meshtastic/Stop-overwriting-my-config
...
debconf expects absolute paths.
2024-05-17 09:36:52 +02:00
Jonathan Bennett
314d2e2da1
debconf expects absolute paths.
2024-05-17 02:34:18 -05:00
Ben Meadors
b4a7e78d18
Don't reboot for certain config prefs and make accelerometer thread re-entrant ( #3889 )
...
* Don't reboot for certain config prefs and make accelerometer thread re-entrant
* WHOOPS
* Don't reboot for LED heartbeat and button press
* Remove TZ
2024-05-16 17:27:36 -05:00
todd-herbert
f3cf9a5e71
Adjust refresh for Heltec Wireless Paper V1.1 ( #3913 )
2024-05-16 15:37:09 -05:00
Thomas Göttgens
8e35e19fda
Merge pull request #3915 from meshtastic/libpax-rssi
...
implements #3885
2024-05-16 21:20:33 +02:00
Thomas Göttgens
14839bd9ba
Merge branch 'master' into libpax-rssi
2024-05-16 19:44:24 +02:00
Thomas Göttgens
f109bc25c9
Merge pull request #3918 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-05-16 19:44:03 +02:00
caveman99
0976705f25
[create-pull-request] automated change
2024-05-16 17:43:23 +00:00
Thomas Göttgens
14392c22fd
Merge pull request #3912 from meshtastic/fix-tbeam-s3
...
Fix TBeam Supreme woes (and upgrade platform)
2024-05-16 17:38:13 +02:00
Thomas Göttgens
10010baacc
Merge pull request #3917 from rcarteraz/patch-1
...
remove has screen = 0 from wsl variant
2024-05-16 17:37:37 +02:00
Thomas Göttgens
8c327cc573
Merge pull request #3904 from meshtastic/lib-update
...
update sensor libs
2024-05-16 17:37:07 +02:00
Thomas Göttgens
4087bd93a9
Axe trunk from check
...
We run that anyway as a separate job No need to run it in the matrix.
2024-05-16 17:35:14 +02:00
rcarteraz
57575f8e49
remove has screen = 0
2024-05-16 08:11:46 -07:00
Thomas Göttgens
d02e12a424
fix include path
2024-05-16 17:03:04 +02:00
Thomas Göttgens
fce281f54c
update sensor libs
2024-05-16 17:03:04 +02:00
Thomas Göttgens
d95e3acab3
implements #3885
2024-05-16 15:52:22 +02:00
Ben Meadors
cc864291c2
Merge branch 'master' into fix-tbeam-s3
2024-05-16 07:49:09 -05:00
Thomas Göttgens
c04c589ae7
Merge pull request #3906 from Jorropo/remove-unused-imports/platformio-custom
...
bin: remove unused imports from platformio-custom.py
2024-05-16 14:47:29 +02:00
Ben Meadors
51d2795b26
Fix TBeam Supreme woes (and upgrade platform)
2024-05-16 07:46:47 -05:00
Jorropo
04837b3302
bin: remove unused imports from platformio-custom.py
2024-05-16 02:39:42 +02:00
Henrik Witt-Hansen
1d42a6c48f
Fix static ip assignment on wifi for rp2040 ( #3896 )
...
by rearranging the arguments to match the expected input order.
The lwip library makes an internal reorder or the arguments
depending on the netmask to work with both ESP and Arduino
platforms.
The input order was incorrect when running on an rp2040 device.
Co-authored-by: Henrik Witt-Hansen <henrik@hardttoolkit.org >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-15 18:54:51 -05:00
Thomas Göttgens
4cd70f3cbd
Merge pull request #3903 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-05-16 01:31:26 +02:00
caveman99
c18b4920ae
[create-pull-request] automated change
2024-05-15 23:28:03 +00:00
Thomas Göttgens
eeb9a368f0
Merge pull request #3902 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-05-16 01:17:56 +02:00
Thomas Göttgens
306b8d3205
Merge branch 'master' into create-pull-request/patch
2024-05-16 01:17:37 +02:00
Thomas Göttgens
0c9eadc507
Resync
2024-05-16 01:16:05 +02:00
caveman99
fe2356ae87
[create-pull-request] automated change
2024-05-15 23:12:12 +00:00
Thomas Göttgens
c57d45ba52
Merge pull request #3893 from Dr-Gandalf/feature/veml7700
...
Implementation of the sensor VEML7700
2024-05-16 01:11:35 +02:00
Thomas Göttgens
fc03eee4d9
Merge branch 'master' into feature/veml7700
2024-05-16 01:09:38 +02:00
Thomas Göttgens
53dea44983
Revert "Merge pull request #3898 from meshtastic/create-pull-request/patch"
...
This reverts commit 938aba481a , reversing
changes made to 7810e59b0c .
2024-05-16 01:08:52 +02:00
Thomas Göttgens
3342395a0b
fix generated files
2024-05-16 01:04:38 +02:00
Thomas Göttgens
6dbc858102
Revert "tryfix proto conflict"
...
This reverts commit 79628c73cd .
2024-05-16 00:26:01 +02:00
Thomas Göttgens
79628c73cd
tryfix proto conflict
2024-05-16 00:23:51 +02:00
Thomas Göttgens
eaa7fcf3dc
Revert "Updated protobufs submodule"
...
This reverts commit 022e1f472d .
2024-05-16 00:23:03 +02:00
Thomas Göttgens
861bec05f4
Merge pull request #3901 from Jorropo/remove-unused-import
...
bin: remove unused import in buildinfo.py
2024-05-15 23:56:46 +02:00
Jorge Castillo
ce25381f67
fix unrelated change
2024-05-15 17:13:28 -04:00
Jorge Castillo
e08c808c3f
fix log line
2024-05-15 17:06:23 -04:00
Jorropo
9e8ca69a11
bin: remove unused import in buildinfo.py
...
This was originally added in b1c30f0650 and it now do nothing since 361556a6a7 because it now use readprops.
2024-05-15 23:00:12 +02:00
Ken McGuire
bd9156de24
GPS Chechsum failures ( #3900 )
...
* Portduino multiple logging levels
* Fixes based on GPSFan work
* Fix derped logic
* Correct size field for AID message
* Reformat to add comments, beginning of GPS rework
* Update PM2 message for Neo-6
* Correct ECO mode logic as ECO mode is only for Neo-6
* Cleanup ubx.h add a few more comments
* GPS rework, changes for M8 and stub for M10
* Add VALSET commands for u-blox M10 receivers
* Add VALSET commands for u-blox M10 receivers
tweak M8 commands
add comments for VALSET configuration commands
* Add commands to init M10 receivers,
tweak the M8 init sequence, this is a WIP as there are still some issues during init.
Add M10 version of PMREQ.
* Add wakeup source of uartrx to PMREQ_10
The M10 does not respond to commands when asleep,
may need to do this for the M8 as well
* Enable NMEA messages on USB port.
Normally, it is a good idea to disable messages on unused ports.
Native Linux needs to be able to use GNSS modules connected via
via either serial or USB.
In the future I2C connections may be required, but are not enabled for now.
* Save the config for all u-blox receiver types.
The M10 supports this command in addition to saving using
the VALSET commands for the RAM & BBR layers.
* Address Issue #3779 RAK12500 GPS Checksum failures
Remove NMEA sentences that are not processed by TinyGPS++ or Meshtastic.
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-15 12:12:46 -05:00
Thomas Göttgens
938aba481a
Merge pull request #3898 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-05-15 14:48:12 +02:00
caveman99
419820f483
[create-pull-request] automated change
2024-05-15 12:47:31 +00:00
Thomas Göttgens
73087f667a
Merge branch 'master' into feature/veml7700
2024-05-15 12:27:11 +02:00
Thomas Göttgens
7810e59b0c
Merge pull request #3895 from meshtastic/fix-guards
...
fix native compilation for linux PCs
2024-05-15 12:25:21 +02:00
Thomas Göttgens
64dc6cc215
trunk fmt
2024-05-15 12:24:42 +02:00
mverch67
33812a2082
update portduino-framework
2024-05-15 11:18:39 +02:00
Thomas Göttgens
78a1b6a9a8
unrelated change, i just noticed this problem...
2024-05-15 09:59:46 +02:00
mverch67
49a9aa3e36
fix native compilation for linux PCs
2024-05-15 08:10:52 +02:00
Jorge Castillo
8d89e78bbf
Merge branch 'master' into feature/veml7700
2024-05-14 19:00:32 -04:00
Jorge Castillo
0aa449bca9
Fix unnecessary code block removal in EnvironmentTelemetryModule
2024-05-14 18:47:20 -04:00
Jorge Castillo
a3e47b8d9b
merge master in to veml7700
2024-05-14 17:40:34 -04:00
Jorge Castillo
022e1f472d
Updated protobufs submodule
2024-05-14 17:00:33 -04:00
Jorge Castillo
77e76bc92b
Fix VEML7700Sensor readings and update protobuf and MQTT JSON
2024-05-14 16:42:23 -04:00
Thomas Göttgens
5da798c625
Merge pull request #3891 from 2itea/master
...
Change SHT4X sensors library from Sensirion to Adafruit
2024-05-14 21:50:20 +02:00
pr000t
15178da566
Change SHT4X sensors library from Sensirion to Adafruit
2024-05-14 21:07:44 +02:00
Thomas Göttgens
c12b9b928b
Merge pull request #3890 from GUVWAF/rp2040heap
...
RP2040: Add `getFreeHeap()` and `getHeapSize()` support
2024-05-14 19:38:06 +02:00
GUVWAF
1f9ff68f1d
RP2040: Add getFreeHeap() and getHeapSize() support
2024-05-14 19:04:31 +02:00
Thomas Göttgens
3b5d4e92c5
add psram flag on RAK11200 board definition ( #3887 )
2024-05-14 13:48:26 +02:00
todd-herbert
2388eb91ae
Fix immediate wake from deepsleep for some devices ( #3884 )
...
Affects ESP32 boards without an external pull-up on the defined user-button pin.
2024-05-14 06:46:03 -05:00
todd-herbert
a9a208de73
Implement "Flip screen" setting for E-Ink displays ( #3871 )
2024-05-13 06:42:41 -05:00
Thomas Göttgens
078f33ff78
Re-add missing files ( #3873 )
2024-05-13 11:45:22 +02:00
Thomas Göttgens
4d8c98c23d
Update CI runner versions from Node 16 to 20. ( #3872 )
2024-05-13 10:47:40 +02:00
Thomas Göttgens
859fd7c251
Generate the build matrix from the variant files ( #3870 )
2024-05-12 22:43:47 +02:00
Thomas Göttgens
5de0c71a3e
add bobricius tracksenger variants ( #3866 )
2024-05-11 19:50:54 -05:00
Thomas Göttgens
96b5bd2fd0
unphone has a display, don't default BLE PIN to 123456 ( #3865 )
...
fixes #3822
2024-05-11 08:20:11 -05:00
Thomas Göttgens
d8d831b27a
Revert "exclude serial module for T-Echo, saves 3000 bytes"
...
This reverts commit 38347fa6db .
2024-05-11 14:19:53 +02:00
Thomas Göttgens
6ee995e262
Merge pull request #3818 from lewisxhe/master
...
Enhanced t-echo file system integrity check
2024-05-11 12:55:06 +02:00
Thomas Göttgens
c6f028a5f3
Merge branch 'master' into master
2024-05-11 11:58:43 +02:00
Thomas Göttgens
42cb9b854c
Merge pull request #3859 from meshtastic/debug-mute
...
add optional define DEBUG_MUTE
2024-05-11 11:57:46 +02:00
Thomas Göttgens
e28f869d35
Merge pull request #3860 from meshtastic/exclude-serial
...
exclude serial module for T-Echo, saves 3000 bytes
2024-05-11 11:57:28 +02:00
Thomas Göttgens
ef1f2e47c3
Merge pull request #3858 from Jorropo/github/linux-native
...
.github: add Linux Native and other as platform to Feature Request
2024-05-11 10:05:20 +02:00
Thomas Göttgens
3b6ce29cca
add the now common RP2040
2024-05-11 10:05:03 +02:00
Thomas Göttgens
38347fa6db
exclude serial module for T-Echo, saves 3000 bytes
2024-05-11 10:03:13 +02:00
Thomas Göttgens
86b14793de
add optional define DEBUG_MUTE
...
This shaves roughly 60k from firmware builds by not including the Logging Ressource strings. Define in variant.h or architecture.h
Stats from T-ECHO compiles:
Before:
Flash: [======== ] 81.5% (used 664700 bytes from 815104 bytes)
After:
Flash: [======= ] 74.5% (used 606924 bytes from 815104 bytes)
2024-05-11 09:46:39 +02:00
Jorropo
58484d7fe5
.github: add Linux Native and other as platform to Feature Request
2024-05-11 02:10:23 +02:00
github-actions[bot]
69d765622f
[create-pull-request] automated change ( #3846 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-05-10 08:16:49 -05:00
Ben Meadors
f06c56a51b
Removing release build type due to huge amount of flash utilization
2024-05-10 07:14:28 -05:00
Ben Meadors
ac22a503de
Revert "Revert "Add Sensirion SHT4X sensors ( #3792 )" ( #3845 )" ( #3850 )
...
This reverts commit 5d9800b7c2 .
2024-05-10 07:13:12 -05:00
Jonathan Bennett
676319a9ca
Implement chunked SPI transfer for ch341 ( #3847 )
...
This seems to fix the ch341 quirk where large packets fail to send. As it can be problematic for other radios, we gate it behind "ch341_quirk" in the config.
2024-05-10 04:36:20 -05:00
Ben Meadors
5d9800b7c2
Revert "Add Sensirion SHT4X sensors ( #3792 )" ( #3845 )
...
This reverts commit 5371f134ba .
2024-05-09 21:25:36 -05:00
Jonathan Bennett
0c89aff0f6
Enable telemetry and power telemetry on the native target
2024-05-09 15:45:16 -05:00
todd-herbert
5e160b21c7
T-Echo screen and button performance ( #3840 )
...
* Make button timing configurable per variant
* Adjust button timing for T-Echo
Easier multi-clicks for features like "toggle backlight" (4x click)
* Fewer full-refreshes for T-Echo display
Disables ghost pixel tracking: T-Echo ghost pixels are fairly faint.
2024-05-09 08:14:58 -05:00
Jorge Castillo
39336847ad
add veml7700 readings to protobuf and to the mqtt json + fix the readigns validator code in env telemetry
2024-05-08 22:14:55 -04:00
todd-herbert
75dc8cccec
Button ISR runs thread asap ( #3801 )
2024-05-08 16:08:24 -05:00
Nicholas Baddorf
147de75a02
Added modifier key combination to allow keyboard shortcuts on t-deck ( #3668 )
...
* Updated kbI2cBase.cpp
Updated keyboard settings for t-deck to allow a modifier key to trigger 'tab', mute notifications, or quit. To trigger the modifier press the shift key and mic (0) button at the same time. Then press q (quit), m (mute), or t (tab).
* Update kbI2cBase.cpp
* fixed formatting issues in kbI2cBase.cpp
* Removed keyboard shortcut code that doesnt work
alt+t does not work on a t-deck so I removed it to avoid confusion.
* Updated kbI2cBase.cpp
Updated keyboard settings for t-deck to allow a modifier key to trigger 'tab', mute notifications, or quit. To trigger the modifier press the shift key and mic (0) button at the same time. Then press q (quit), m (mute), or t (tab).
* Update kbI2cBase.cpp
* fixed formatting issues in kbI2cBase.cpp
* Removed keyboard shortcut code that doesnt work
alt+t does not work on a t-deck so I removed it to avoid confusion.
* Changed modifier key to alt+c
* Added screen brightness functionality
Use modifier key with o(+) to increase brightness or i(-) to decrease.
Currently there are 4 levels of brightness, (L, ML, MH, H). I would like to add a popup message to tell you the brightness.
* Added checks to disable screen brightness changes on unsupported hardware
* Setting the brightness code to work on only applicable devices
* Added "function symbol" display to bottom right corner of screen. Now shows when mute is active or modifier key is pressed. Also fixed some other minor issues.
* commented out a log
* Reworked how modifier functions worked, added
I wasn’t happy with my previous implementation, and I think it would have caused issues with other devices. This should work on all devices.
* Added back the function I moved causing issue with versions
* Fixed the version conflicts, everything seems to work fine now
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-05-08 07:37:50 -05:00
pr000t
5371f134ba
Add Sensirion SHT4X sensors ( #3792 )
...
* add Sensirion SHT4X sensors
* Update platformio.ini
Fix lib version
* Delete src/mesh/generated/meshtastic/telemetry.pb.h
* Revert "Delete src/mesh/generated/meshtastic/telemetry.pb.h"
This reverts commit 8e5e6a9f6ff4e31ed32775741c03a855e663a5de.
* remove modification on generated file
* Update ScanI2CTwoWire.cpp
Fix copy/paste issue
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-05-08 07:02:53 -05:00
Max
8105c0440a
New variants PROMICRO_DIY ( #3788 )
...
* New variants PROMICRO_DIY
* Renaming and cleanup
* Renaming - phase 2
* nrf52_promicro: Trunk formatting
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-05-08 06:53:13 -05:00
lewisxhe
6c75f2e627
Move LFS_NO_ASSERT to nrf52.ini
2024-05-08 08:51:24 +08:00
lewisxhe
5aef921962
Merge branch 'master' of https://github.com/lewisxhe/firmware
2024-05-08 08:49:23 +08:00
lewisxhe
8c3b9a6139
Move LFS_NO_ASSERT to nrf52.ini
2024-05-08 08:46:08 +08:00
lewisxhe
73ab43c67a
Change to LOG_ERROR
2024-05-08 08:45:24 +08:00
Jorge Castillo
23466b5a5f
regenerated files
2024-05-07 18:07:24 -04:00
Jorge Castillo
f19aa49eb2
add veml7700
2024-05-07 16:11:41 -04:00
lewisxhe
1d583341e4
trunk fmt
2024-05-07 16:20:43 +02:00
lewisxhe
8e7ede16ef
Remove debug wait
2024-05-07 16:20:43 +02:00
lewisxhe
8886d2df55
Enhanced t-echo file system integrity check
2024-05-07 16:20:43 +02:00
Ben Meadors
cbf20e4cee
Default to new vendor ntp pool ( #3819 )
2024-05-07 07:57:30 -05:00
lewisxhe
81ecd6d926
trunk fmt
2024-05-07 14:33:16 +08:00
lewisxhe
b63997b36f
Remove debug wait
2024-05-07 13:42:00 +08:00
lewisxhe
76adcbb46b
Enhanced t-echo file system integrity check
2024-05-07 11:57:49 +08:00
Jonathan Bennett
c009c0db1e
Elimate non-text output for Portduino
2024-05-06 22:27:12 -05:00
Ben Meadors
2c99f11073
Revert "set USB_CDC_ON_BOOT, udate arduinoespressif32 to 2.0.15 ( #3764 )" ( #3809 )
...
This reverts commit 71400103b3 .
2024-05-06 17:35:38 -05:00
Ben Meadors
0d57d29cbd
Send fixed position to mesh after setting it ( #3803 )
2024-05-06 14:51:19 -05:00
Thomas Göttgens
353c7e07d1
Wiphone ( #3793 )
...
* add wiphone, still WIP
* (very preliminary) wiphone support
* undo config changes
* revert extensions.json
* eh?
2024-05-06 06:48:57 -05:00
HarukiToreda
77a66e1dce
Fix for EnvironmentTelemetry Screen ( #3785 )
...
* Update EnvironmentTelemetry.cpp
* Update EnvironmentTelemetry.cpp
Corrected lines I deleted by mistake
* trunk fmt
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-05-06 06:47:34 -05:00
Thomas Göttgens
e98c3bf5d0
Merge pull request #3802 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-05-06 13:39:44 +02:00
caveman99
5e9d48d0d7
[create-pull-request] automated change
2024-05-06 11:37:03 +00:00
Thomas Göttgens
8e91f895a6
Merge pull request #3800 from oseiler2/fix/RCWL9620-MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
...
Add MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR exclusion to RCWL9620
2024-05-06 12:06:17 +02:00
Oliver Seiler
b155a5b6dc
rearrange includes
2024-05-06 12:15:49 +12:00
Oliver Seiler
2c30923e3e
add MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR exclusion to RCWL9620
2024-05-06 11:25:18 +12:00
Thomas Göttgens
0afe2d459f
Merge pull request #3790 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-05-05 17:34:07 +02:00
caveman99
0b239e618d
[create-pull-request] automated change
2024-05-05 15:32:28 +00:00
Thomas Göttgens
e9ebdfeff2
Merge pull request #3787 from GUVWAF/ccToPhoneErr
...
Check if packet is not released before CC to phone
2024-05-05 16:47:11 +02:00
GUVWAF
6fb7d7f2d7
Check if packet is not released before CC to phone
2024-05-05 13:49:50 +02:00
tuxphone
70712d859c
Enable compiling with gccnoneeabi 12.3.1 for nRF52 targets, additional small fixes ( #3778 )
...
* Fix type of nodeNum
Type of nodeNum is NodeNum, not uint
* typo
fixed typo "resumeAdverising()"
* fix missing #include "time.h"
Missing include breaks compilation with gccnoneeabi 12.3.1 for nrf52 targets on windows hosts.
* change type uint to unsigned int
uint is not a standard type. Using uint breaks compilation with gccnoneeabi 12.3.1 for nRF52 targets on windows hosts.
* fix type of channel_num
Type of channel_num should be uint32_t (as this is the type of hash() and numChannels).
Using uint non-standard type uint breaks compilation with gccnoneeabi 12.3.1 for nRF52 targets on windows hosts.
* Update nrf52.ini
Default build type should be "release" as this is the default of platformio.
* Update GPS.cpp
uint to unsigned int
2024-05-03 15:49:22 -05:00
Thomas Göttgens
4d9081b3b1
Merge pull request #3678 from meshtastic/RCWL-9620
...
Support radar sensor RCWL-9620 on i2c
2024-05-03 20:37:27 +02:00
Thomas Göttgens
7643a1acb1
Merge branch 'RCWL-9620' of github.com:meshtastic/firmware into RCWL-9620
2024-05-03 20:05:24 +02:00
Thomas Göttgens
61216e579e
there
2024-05-03 19:25:37 +02:00
Thomas Göttgens
e31bb2d513
Merge branch 'master' into RCWL-9620
2024-05-03 16:00:08 +02:00
Thomas Göttgens
a8c38c4580
Merge pull request #3775 from lewisxhe/master
...
Fix the infinite restart caused by unformatted t-echo fs file system
2024-05-03 15:59:07 +02:00
Thomas Göttgens
85e0372d26
darn you, trunk. foiled my cunning plan.
2024-05-03 15:58:16 +02:00
Thomas Göttgens
53bd9de9b8
Merge branch 'master' into RCWL-9620
2024-05-03 15:12:51 +02:00
Thomas Göttgens
13ad524538
make clang-format happy again. Also fix assorted variable shrouding and logic bleeps
2024-05-03 15:10:57 +02:00
Thomas Göttgens
5f90f45ac4
trunk fmt
2024-05-03 15:04:11 +02:00
lewisxhe
dc0593c5a7
Fix the infinite restart caused by unformatted t-echo fs file system
2024-05-03 15:04:11 +02:00
Thomas Göttgens
df3cceb108
Merge pull request #3776 from oseiler2/fix/MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
...
Fix #MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
2024-05-03 15:02:47 +02:00
Thomas Göttgens
827dcfca4a
trunk fmt
2024-05-03 14:26:57 +02:00
Thomas Göttgens
9fb6148aff
Merge branch 'master' into RCWL-9620
2024-05-03 12:28:08 +02:00
Oliver Seiler
6c1377aa39
fix case statement
2024-05-03 18:59:33 +12:00
Oliver Seiler
077ca5919a
MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements
2024-05-03 14:15:13 +12:00
Oliver Seiler
668b716119
move QMC5883LCompass dependency to environmental_base
2024-05-03 14:15:13 +12:00
Oliver Seiler
eaa7e21bc7
exclude AccelerometerThread when MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR is set
2024-05-03 14:15:13 +12:00
Oliver Seiler
be0e882be1
exclude sensors when MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR set
2024-05-03 14:15:13 +12:00
github-actions[bot]
09080d76ad
[create-pull-request] automated change ( #3773 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-05-02 20:46:22 -05:00
Ben Meadors
d490a332a7
Update version.properties
2024-05-02 19:11:35 -05:00
todd-herbert
5dfa4b837f
Ensure LED is off when disabling heartbeat ( #3772 )
2024-05-02 19:11:13 -05:00
github-actions[bot]
9501f3bda9
[create-pull-request] automated change ( #3771 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-05-02 16:17:41 -05:00
Jonathan Bennett
b69a1cada9
Portduino bump to pick up minor fix ( #3770 )
2024-05-02 13:54:50 -05:00
Jonathan Bennett
06e7d2b845
Track actual GPIO values, not just the enum values ( #3768 )
...
* Track actual GPIO values, not just the enum values
* trunk
2024-05-02 13:39:28 -05:00
Oliver Seiler
71400103b3
set USB_CDC_ON_BOOT, udate arduinoespressif32 to 2.0.15 ( #3764 )
2024-05-02 13:39:18 -05:00
Thomas Göttgens
40e361e6d0
Merge pull request #3763 from lewisxhe/master
...
Fix t-echo gps failure
2024-05-02 15:13:43 +02:00
lewisxhe
d1b6f11429
Fix t-echo gps failure
2024-05-02 14:39:58 +02:00
todd-herbert
0527fb10ce
Init. battery voltage from ADC reading, instead of fixed value ( #3761 )
2024-05-02 07:14:44 -05:00
Andrew Yong
5f929a8024
Publish fixed position updates and consider changes in only altitude as an updated point ( #3758 )
...
* AdminModule: Publish fixed position updates
Enabled GPS thread when fixed position is updated, to let the GPS thread run once and publish the new fixed position.
Signed-off-by: Andrew Yong <me@ndoo.sg >
* GPS: Consider changes in only altitude as an updated point
Signed-off-by: Andrew Yong <me@ndoo.sg >
---------
Signed-off-by: Andrew Yong <me@ndoo.sg >
2024-05-02 07:13:36 -05:00
Thomas Göttgens
4f54862d63
Merge pull request #3765 from meshtastic/twc-mesh-buildfix
...
fix building new TWC_mesh_v4 board
2024-05-02 13:30:49 +02:00
Thomas Göttgens
0f4ac94559
fix building new TWC_mesh_v4 board
2024-05-02 12:48:50 +02:00
Jonathan Bennett
45c1b46bd0
Move native to spi_host to indicate spidev for LovyanGFX
2024-05-01 13:21:23 -05:00
Jonathan Bennett
5095efc55f
Pick up support for more than 64 GPIO lines under Portduino
2024-05-01 13:21:23 -05:00
Ben Meadors
ec92f7a5a3
Remove phone nodenum warning and empty else clause ( #3756 )
2024-05-01 08:27:43 -05:00
Ben Meadors
57da37cfbc
Position module should enforce precision for phone originated position packets ( #3752 )
2024-05-01 08:05:26 -05:00
github-actions[bot]
3619ac87b8
[create-pull-request] automated change ( #3754 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-30 20:14:38 -05:00
GUVWAF
e51ee91c39
Optimization: stop relaying when reply is received ( #3753 )
2024-04-30 20:07:15 -05:00
todd-herbert
21311bbeda
T-Echo touch button no longer requires "wake on tap or motion" ( #3745 )
2024-04-29 08:54:57 -05:00
Ben Meadors
472db5b237
Merge branch 'master' into RCWL-9620
2024-04-28 07:05:54 -05:00
Andrew Yong
18e69a0906
Update Heltec HT-C62 variant based on HT-DEV-ESP board ( #3731 )
...
* I2C is not defined in the reference schematic nor HT-DEV-ESP board, remove definition accordingly
* There is no screen in the the reference schematic nor HT-DEV-ESP board, change definition accordingly
* BUTTON_PIN has a 10 kOhm pullup resistor on HT-DEV-ESP, turning off redundant internal pullup should save some power
* LED is connected to GPIO2 on HT-DEV-ESP and is not inverted, update definition accordingly
* Remove redundant undef lines for LoRa pins
Above changes were built and flashed to my [HT-DEV-ESP_V2 board purchased from Heltec's Taobao store](https://item.taobao.com/item.htm?id=521590063077 ).
Signed-off-by: Andrew Yong <me@ndoo.sg >
2024-04-28 06:49:26 -05:00
David Ellefsen
93f77ea7d2
Update TinyGPSPlus version ( #3727 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-27 19:50:15 -05:00
Mike
ee4c4ae6c9
Allow setting hopLimit for MQTT json sendtext and sendposition ( #3735 )
...
* Fix channel name extraction
* Allow setting hopLimit for mqtt sendtext and sendposition
2024-04-27 18:15:54 -05:00
Ben Meadors
6cc7dee95c
Tradunkadunk
2024-04-27 11:12:52 -05:00
HarukiToreda
38c4d35a7b
Add Notification on device screen following feature toggle ( #3627 )
...
* Update CannedMessageModule.h
* Update CannedMessageModule.cpp
* Update CannedMessageModule.cpp
hopefully this fixes the errors on Trunk
* Update CannedMessageModule.cpp
Changed "Ping Broadcasted" with "Telemetry Update Sent"
* tryfix: disable tempmessage again after 2 seconds
* fix 2s showtime
* Put spelling fix back
* Fix build
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-27 11:08:25 -05:00
Ben Meadors
e683d8f552
Rebrand "send network ping" to more honest "try send position" with better output ( #3737 )
2024-04-27 08:55:04 -05:00
jcyrio
e66aec8223
fix typo in comment ( #3726 )
2024-04-27 08:54:06 -05:00
Oliver Seiler
a06a01d25e
fix #if HAS_TELEMETRY when set to 0 ( #3733 )
2024-04-27 06:35:44 -05:00
Andrew Yong
f8c3f43ea6
Fix xiao_ble variant build error due to undefined BATTERY_SENSE_RESOLUTION_BITS ( #3732 )
...
Define BATTERY_SENSE_RESOLUTION_BITS based on [amoroz's snippet on the Meshtastic forum](https://meshtastic.discourse.group/t/new-1w-diy-variant-xiao-nrf52840-ebyte-e22-900m30s/7904/10 ).
Fixes following build error:
```
src/Power.cpp: In member function 'virtual uint16_t AnalogBatteryLevel::getBattVoltage()':
src/Power.cpp:224:79: error: 'BATTERY_SENSE_RESOLUTION_BITS' was not declared in this scope
scaled = operativeAdcMultiplier * ((1000 * AREF_VOLTAGE) / pow(2, BATTERY_SENSE_RESOLUTION_BITS)) * raw;
```
Signed-off-by: Andrew Yong <me@ndoo.sg >
2024-04-27 06:17:17 -05:00
todd-herbert
dfcabba0b2
Prevent overflow when calculating timezones ( #3730 )
2024-04-26 20:43:09 -05:00
Thomas Göttgens
827bacdfc8
Merge pull request #3723 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-04-25 23:46:43 +02:00
thebentern
5806a266d3
[create-pull-request] automated change
2024-04-25 20:19:54 +00:00
Jonathan Bennett
30fbcabf84
add conffiles to .deb packaging ( #3722 )
2024-04-25 14:23:38 -05:00
Arkadiusz Miśkiewicz
c14043f196
Split warning into two messages, so we know which one is the case. ( #3710 )
2024-04-25 06:47:39 -05:00
Jonathan Bennett
e3610a2eb1
Move to lovyangfx develop for Native
2024-04-24 13:17:43 -05:00
Oleksandr Podolchak
9baccc80d8
Add SX1268 modules support for linux-native ( #3702 )
...
* Add portduino Ebyte E22 XXXM30S/XXXM33S (sx1268) module support
* Add Ebyte E22 XXXM3XS module config
* Update comment for sx1268 module
* Address review comments
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-24 08:41:01 -05:00
Gareth Coleman
ac16ccf40c
fix for unPhone hangs during boot without sd card present ( #3709 )
...
* work around sd card hang if not present
* comment out the define for HAS_SDCARD
2024-04-24 06:41:05 -05:00
Ben Meadors
1c0227f90c
Merge branch 'master' into RCWL-9620
2024-04-23 14:19:08 -05:00
Jonathan Bennett
57d296e0db
Add better support for the Adafruit PiTFT 2.8 for Native ( #3704 )
...
* Add better support for the Adafruit PiTFT 2.8 for Native
* native: Make touch i2c address configurable
* Bump portduino to pick up I2C features
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-23 14:18:51 -05:00
SCWhite
9c9d126f6b
[BOARD] Add new variant: TWC_Mesh ( #3705 )
...
* add new variant: TWC_mesh_v4
* fix trunk format
* fix format under wsl
* change board to TWC_mesh_v4
* change platformio & variant.h properly
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-23 14:09:28 -05:00
github-actions[bot]
27f0e42d2f
[create-pull-request] automated change ( #3708 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-23 13:32:33 -05:00
todd-herbert
4599534616
Terminate an async-full-refresh when caught by determineMode() instead of onNotify() ( #3706 )
2024-04-23 12:00:48 -05:00
Tom Fifield
7acaec8ef5
Add power limit for TW region ( #3701 )
...
The TW region had now power limit set, so defaulted to 16dBm.
The relevant regulation is section 5.8.1 of the Low-power Radio-frequency Devices Technical Regulations, which notes the limits of 0.5W (27dBM) indoor or coastal, 1.0W (30dBM) outdoor.
This patch updates the power limit to 27dbM, using the the lower limit specified in the regulations to be conservative.
Regulation references:
https://www.ncc.gov.tw/english/files/23070/102_5190_230703_1_doc_C.PDF (latest English version)
https://gazette.nat.gov.tw/egFront/e_detail.do?metaid=147283 (latest Chinese version, February 2024)
2024-04-23 07:11:22 -05:00
Nicholas Baddorf
d0e81b9151
Fixed node and channel selection for t-deck ( #3695 )
...
This enables the node and channel selection to be accessed by pressing the tab shortcut and then swiping between nodes or pressing tab again to change channels.
(To access the tab function look at my other pull request https://github.com/meshtastic/firmware/pull/3668 )
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-23 07:09:26 -05:00
Thomas Göttgens
c6e940af81
Merge branch 'master' into RCWL-9620
2024-04-23 14:04:22 +02:00
Thomas Göttgens
3302fbcc53
Merge pull request #3647 from garethhcoleman/RGBLED
...
Support for generic 4pin RGB LEDs (both CC and CA) and NeoPixels, also RGB LED and vibration notification support for unPhone
2024-04-23 13:57:23 +02:00
Gareth Coleman
ccbf635eef
corrected a bit of overzealous tidying
2024-04-22 17:21:41 +01:00
Gareth Coleman
6669b22db3
tidied up, prob broke everything
2024-04-22 16:37:05 +01:00
Gareth Coleman
ec2b854ea2
oops missed the extern enabling little chap
2024-04-22 14:44:59 +01:00
Gareth Coleman
378a2d723e
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-22 14:43:07 +01:00
Gareth Coleman
5dd08e9533
added NeoPixel support using Adafruit library
2024-04-22 14:42:52 +01:00
Gareth Coleman
125add9792
Merge branch 'master' into RGBLED
2024-04-22 14:42:14 +01:00
Andrew Yong
250cf16bf8
Add ability to turn off heartbeat LED blinking ( #3674 )
...
* Add ability to turn off status LED blinking
Fixes #3635 and depends on [protobufs PR #485 ](https://github.com/meshtastic/protobufs/pull/485 )
Signed-off-by: Andrew Yong <me@ndoo.sg >
* led_heartbeat_disabled
* trunk
---------
Signed-off-by: Andrew Yong <me@ndoo.sg >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-22 08:21:50 -05:00
Thomas Göttgens
8b5fad21b0
Merge pull request #3693 from titan098/updates_for_esp32s2_build
...
Updates for esp32s2 builds
2024-04-22 13:56:14 +02:00
David Ellefsen
30d4c3a945
Updates for esp32s2 build
2024-04-22 11:01:13 +02:00
Gareth Coleman
45fd5e25ac
Merge branch 'master' into RGBLED
2024-04-22 09:15:44 +01:00
Thomas Göttgens
ac6a668362
Merge pull request #3697 from meshtastic/nrf52-signfix
...
fix signedness warnings of NRF52 toolchain
2024-04-22 10:13:38 +02:00
Thomas Göttgens
f47b40cf68
fix signedness warnings of NRF52 toolchain
2024-04-22 09:49:06 +02:00
quimnut
fd9461505f
adjust adc for rak11310 devices ( #3698 )
2024-04-21 19:51:02 -05:00
Ben Meadors
84edaabfe9
Merge branch 'master' into RGBLED
2024-04-21 14:46:18 -05:00
Ben Meadors
048f0a1601
Merge branch 'master' into RCWL-9620
2024-04-21 14:41:49 -05:00
Nicholas Baddorf
4a48a3fb52
Fixed bug making t-deck reboot when muted ( #3694 )
2024-04-21 14:41:22 -05:00
Ben Meadors
39bbf0d352
Added more clear RTC handling and quality logging ( #3691 )
...
* Also refresh timestamp for "timeonly" fixed position nodes
* Added more clear RTC quality handling
* Fix clock drift from Phone GPS / NTP too
2024-04-21 14:40:47 -05:00
Ben Meadors
675d8fe089
Merge branch 'master' into RCWL-9620
2024-04-21 12:37:38 -05:00
Mictronics
0406be82d2
Use correct format specifier and fixed typo. ( #3696 )
...
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28
* Merge PR #420
* Fixed double and missing Default class.
* Use correct format specifier and fixed typo.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-21 12:36:37 -05:00
Ric In New Mexico
679e068e19
Missing break in INA3221 i2c scan ( #3692 )
...
* INA3221 Mis-identification fix
* Missing break in INA3221 i2c scan
2024-04-21 12:35:42 -05:00
Thomas Göttgens
952393ca0f
Merge branch 'master' into RCWL-9620
2024-04-21 18:34:40 +02:00
Thomas Göttgens
a231cd2ad0
derp...
2024-04-21 16:35:41 +02:00
Ben Meadors
ac87c0065f
Also refresh timestamp for "timeonly" fixed position nodes ( #3689 )
2024-04-21 08:45:36 -05:00
S5NC
9822a85274
Add board and variant definitions for EBYTE_ESP32-S3 ( #2882 )
...
* Create ESP32-S3-WROOM-1-N4.json
* Create pins_arduino.h
* Create platformio.ini
* Create variant.h
* Update mesh.pb.h
* Update architecture.h
* Update mesh.pb.h
* Update variant.h
* Update variant.h
Add example schematic
* Update architecture.h
* Revert update architecture.h
* Create variant.h
* Create pins_arduino.h
* Create platformio.ini
* Delete variants/E22-900M_S3 directory
* Update architecture.h
* Update variant.h
* Update platformio.ini
* Update variant.h
* Update variant.h
* Update architecture.h
* Update platformio.ini
* Update architecture.h
* Update ESP32-S3-WROOM-1-N4.json
* Update platformio.ini
* Update ESP32-S3-WROOM-1-N4.json
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update pins_arduino.h
* Update architecture.h
* add SX1268 allow
* GPS
* Commit
* Whitespace
* Update variant.h
* Update variant.h
* trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
Co-authored-by: S5NC <>
2024-04-21 08:40:23 -05:00
Thomas Göttgens
a957065fe8
Merge branch 'master' into RCWL-9620
2024-04-21 14:47:29 +02:00
Ben Meadors
41f3557491
Refactor smart position to use throttle helper ( #3671 )
...
* Added one minute throttling to NodeDB
* Derp
* Refactor smart-position to use throttle
2024-04-21 07:42:36 -05:00
Thomas Göttgens
402b0d7e0b
ditch that no-good m5 dependancy and do it ourself
2024-04-21 14:39:55 +02:00
Thomas Göttgens
13ebda6b2f
Merge branch 'RCWL-9620' of github.com:meshtastic/firmware into RCWL-9620
2024-04-21 14:35:32 +02:00
Ben Meadors
1dd19cec6e
Merge branch 'master' into RCWL-9620
2024-04-21 07:34:11 -05:00
Ben Meadors
df718ab294
Merge branch 'master' into RGBLED
2024-04-21 07:31:54 -05:00
todd-herbert
dfc43bae18
Fix crash on shutdown, if Bluetooth not enabled ( #3686 )
...
Previously attempted to call deinit method for a nullptr
2024-04-21 07:25:58 -05:00
todd-herbert
f6cfdfe881
(ESP-32S) Fix "critical error 3" after deep-sleep ( #3685 )
2024-04-21 07:25:12 -05:00
S5NC
820c5dc8c5
Update architecture.h ( #3688 )
2024-04-21 07:24:39 -05:00
Thomas Göttgens
1f9c295c9e
Merge branch 'RCWL-9620' of github.com:meshtastic/firmware into RCWL-9620
2024-04-21 13:48:08 +02:00
Thomas Göttgens
5218aaafcf
Change name
2024-04-21 11:41:52 +02:00
Thomas Göttgens
c480f0870c
Support radar sensor RCWL-9620 on i2c
2024-04-21 11:41:52 +02:00
Gareth Coleman
9e4ef92e6d
lets just define it without guards!
2024-04-21 09:16:50 +01:00
Gareth Coleman
cf65661c7c
another silly error
2024-04-21 08:59:40 +01:00
Gareth Coleman
fb7a878d94
tweaked guards to allow various combinations of RGB leds
2024-04-21 08:24:51 +01:00
github-actions[bot]
e72792afc8
[create-pull-request] automated change ( #3683 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-20 15:58:42 -05:00
Ric In New Mexico
ec39e1136a
INA3221 Mis-identification fix ( #3681 )
2024-04-20 15:58:21 -05:00
Thomas Göttgens
94e1f016e5
Change name
2024-04-20 20:49:57 +02:00
Thomas Göttgens
9170fe0580
Support radar sensor RCWL-9620 on i2c
2024-04-20 20:30:22 +02:00
Thomas Göttgens
ef9808cdd6
Merge pull request #3680 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-04-20 20:25:14 +02:00
caveman99
0972a8dccb
[create-pull-request] automated change
2024-04-20 18:24:40 +00:00
github-actions[bot]
419eb13968
[create-pull-request] automated change ( #3679 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-20 09:56:55 -05:00
github-actions[bot]
e7828c4c64
[create-pull-request] automated change ( #3676 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-20 07:36:53 -05:00
Manuel
44aa248099
added new display parameters ( #3670 )
2024-04-19 19:27:13 -05:00
Gareth Coleman
e0513d4078
ahem, another minor edit to have another go at CI
2024-04-19 09:27:10 +01:00
Gareth Coleman
2100f3135e
minor edit to have another go at CI
2024-04-19 09:25:38 +01:00
Gareth Coleman
2f36d4990e
Merge branch 'master' into RGBLED
2024-04-19 08:12:13 +01:00
github-actions[bot]
65bde8538f
[create-pull-request] automated change ( #3663 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-18 20:33:23 -05:00
github-actions[bot]
7a3570aecf
[create-pull-request] automated change ( #3662 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-18 18:29:50 -05:00
Gareth Coleman
4a471ded79
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-19 00:28:39 +01:00
Gareth Coleman
eea85d26ca
oh god the bugs, they are everywhere, I feel so dirty...
2024-04-19 00:28:20 +01:00
GUVWAF
64edfb76e0
Uplink to MQTT after potentially altering content ( #3646 )
...
Mainly for traceroute module now
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-18 17:44:13 -05:00
Gareth Coleman
8ac308e73b
Merge branch 'master' into RGBLED
2024-04-18 23:12:08 +01:00
Gareth Coleman
0ae7674982
I'm sure there's a cleverer way to do this, but I'm stupid and I didn't find it after a few minutes of searching stack overflow
2024-04-18 22:18:50 +01:00
GUVWAF
e4b5f2ce14
NeighborInfo: Only keep neighbors in RAM ( #3660 )
...
* NeighborInfo: Only keep neighbors in RAM
It fills up quickly when nodes are running >=2.3
* Defer first transmission as it's usually empty
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-18 16:16:50 -05:00
Gareth Coleman
7d77b23eb6
support for generic 4 pin CC and CA RGB LEDS
2024-04-18 22:00:33 +01:00
Gareth Coleman
a149999cec
tidy up first
2024-04-18 20:57:03 +01:00
Ben Meadors
78d915b454
Merge branch 'master' into RGBLED
2024-04-18 14:44:53 -05:00
GUVWAF
4c0b7ea409
StoreForward: Remove assert when receiving unhandled case ( #3661 )
2024-04-18 14:28:11 -05:00
Ben Meadors
425a715995
Added one minute throttling to NodeDB save to disk ( #3648 )
...
* Added one minute throttling to NodeDB
* Derp
2024-04-18 14:20:39 -05:00
Ben Meadors
2e13aeeacb
Merge branch 'master' into RGBLED
2024-04-18 07:32:25 -05:00
todd-herbert
747c713ba9
(ESP32) Fix bluetooth after light-sleep; de-init for deep sleep ( #3655 )
2024-04-18 07:27:18 -05:00
Gareth Coleman
4b5549be8f
added vibration notifications
2024-04-18 09:22:31 +01:00
Gareth Coleman
172d271b0b
Merge branch 'master' into RGBLED
2024-04-18 07:11:49 +01:00
Oliver Seiler
2e14234b77
don't enable the CDC interface already at boot ( #3652 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-17 16:55:47 -05:00
Jonathan Bennett
d47e9bed19
Add multiple SPI devices for Radio, Display, and Touchscreen ( #3638 )
...
This changeset gives us the ability to specify a separate SPI device for the LoRa, Display, and Touchscreen. The changes in Portduino also add support for specifying a new SPI speed for each transaction. All together, this means that we can let the Linux OS manage the CS lines, and also get much faster SPI speeds, leading to better framerates.
* Add multiple SPI devices to put Radio, Display, and Touchscreen on each their own
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-17 14:25:52 -05:00
GUVWAF
bc085ab840
Fix #3641 : Always set MAC when picking new NodeNum ( #3651 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-17 07:07:40 -05:00
Ben Meadors
2450031b1b
Add device metrics uptime to MQTT JSON ( #3643 )
...
* Add device metrics uptime to MQTT JSON
* Cast a spell
2024-04-17 07:00:18 -05:00
Ben Meadors
2cd877d2eb
Merge branch 'master' into RGBLED
2024-04-16 20:37:02 -05:00
GUVWAF
c34956e9d8
Cosmetics: rename remaining plugins → modules and less errors ( #3645 )
2024-04-16 17:47:56 -05:00
Gareth Coleman
afb4de21d9
yet another random edit, think i'm brushing the touchpad or perhaps my computer is possessed by the devil determined to make me look foolish
2024-04-16 22:37:57 +01:00
Gareth Coleman
86223d8806
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-16 21:41:57 +01:00
Gareth Coleman
0632b96fcb
just tiny tweak to minimise changes
2024-04-16 21:40:13 +01:00
Gareth Coleman
dcfc9c9f03
Merge branch 'meshtastic:master' into RGBLED
2024-04-16 21:29:12 +01:00
Gareth Coleman
8a3322fbcb
rgb led support for unPhone
2024-04-16 21:28:12 +01:00
David Ellefsen
55c9c3b298
Support for the ATGM336H series of GPS modules ( #3610 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-16 09:03:51 -05:00
Andrew Yong
9599549477
Add configuration option for LoRa Region Code override for region-locked builds/variants ( #3540 )
...
The main use case for this will be to create a custom Heltec WiFi LoRa 32 V3 SG_923 variant, which will be pre-flashed and sent for regulatory approval for retail sale.
Signed-off-by: Andrew Yong <me@ndoo.sg >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-16 09:03:36 -05:00
S5NC
e813703bf5
Add support for CDEBYTE_EoRa-S3 ( #3613 )
...
* Create CDEBYTE_EoRa-S3.json
* Update CDEBYTE_EoRa-S3.json
* Update architecture.h
* Create variant.h
* Create platformio.ini
* Create pins_arduino.h
* Update variant.h
* Update variant.h
* Update variant.h
* Trunk format
* update variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: S5NC <>
2024-04-16 09:00:16 -05:00
github-actions[bot]
699ea74672
[create-pull-request] automated change ( #3642 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-16 08:01:32 -05:00
todd-herbert
a01069a549
No more printing power-state changes to screen ( #3640 )
2024-04-16 07:36:14 -05:00
Gareth Coleman
3413b9da41
Fixed XPT2046 syntax and using unPhone library to clean up support ( #3631 )
...
* Fixed XPT2046 syntax and using unPhone library to clean up main and TFTDisplay.
* strange extra edits removed wtf
2024-04-16 07:29:08 -05:00
Jonathan Bennett
7d3175dc83
More useful default input device for Pi 400 ( #3639 )
2024-04-16 07:22:31 -05:00
github-actions[bot]
441638c2eb
[create-pull-request] automated change ( #3636 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-15 20:23:49 -05:00
Ben Meadors
2f9b68e08b
File management changes (Part 2 - Reboot instead of reformat NRF52 after two failed file saves) ( #3630 )
...
* Add LoadFileState to differentiate types of success / failures
* Try rebooting NRF52s with multiple failed saves
* Trunkate
2024-04-15 16:36:22 -05:00
Ben Meadors
27ae4399bc
Zero hop always for connected node ( #3634 )
2024-04-15 16:35:52 -05:00
Gareth Coleman
385d7296fe
strange extra edits removed wtf
2024-04-15 17:37:39 +01:00
Gareth Coleman
d1cd686644
Fixed XPT2046 syntax and using unPhone library to clean up main and TFTDisplay.
2024-04-15 17:24:08 +01:00
Gareth Coleman
1291da746b
Support for alt I2C address for LSM6DS3 sensor, identification of TCA9555 IO Expander, resolve serial hang issue ( #3622 )
...
* basic identification of TCA9555
* recognise LSM6DS3 on alt address
* keep variant.h changes out of this PR
* 2nd attempt to keep variant.h changes out of this PR
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-15 07:30:45 -05:00
Ben Meadors
2803fa964e
Add LoadFileState to differentiate types of success / failures ( #3625 )
2024-04-15 07:22:05 -05:00
todd-herbert
1d97544041
Wireless Paper: Fix BLE after Lightsleep ( #3629 )
...
* NimBLE deinit for deep-sleep only
* Optionally disable blink during light-sleep
* Advised to revert "blink disable"
This reverts commit 66347ce19b .
2024-04-15 06:50:42 -05:00
Jonathan Bennett
5b52c31a76
Fix HAS_WIRE logic in main
2024-04-14 16:44:28 -05:00
Jonathan Bennett
00d4c011c7
Fix sx126x error log logic
2024-04-14 16:44:28 -05:00
Jonathan Bennett
1447148811
Make sure settingsStrings get initialized
2024-04-14 16:44:28 -05:00
Ben Meadors
4f205718f0
Device telemetry uptime in seconds ( #3614 )
2024-04-14 10:27:01 -05:00
Manuel
5047468d9f
fix/enhancement: TFT device powersave (part 3) ( #3600 )
...
* fix: device TFT powersave (part 3)
* trunk fmt
* trunk fmt
* undo bluetooth deinit from #3596
* revert code for heltec tracker
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-14 09:11:27 -05:00
Manuel
ec3971bce5
fix upDown ISR ( #3612 )
2024-04-14 08:11:22 -05:00
Jonathan Bennett
0a246bfe9b
Add more useful error output in radio interfaces ( #3615 )
...
* Add more useful error output in radio interfaces
* trunk
2024-04-14 00:29:42 -05:00
Jonathan Bennett
f1a1834ee2
Update portduino to include SPI and setSetial fixes ( #3611 )
2024-04-13 16:14:15 -05:00
Ben Meadors
2a6e26620e
Auto-favorite our node ( #3609 )
2024-04-12 20:17:25 -05:00
Jonathan Bennett
3f45c2d4f0
Fix another LOG_DEBUG message that should be LOG_ERROR ( #3607 )
2024-04-12 14:14:56 -05:00
Jonathan Bennett
11adfe05ce
Drop unishox2 functions from Router ( #3606 )
2024-04-12 14:06:05 -05:00
Ben Meadors
b4009f9f2f
New fixed copy-pasted more corrector hash
2024-04-12 11:49:35 -05:00
Jonathan Bennett
917b739e62
Update TinyGPS version to un-derped commit
2024-04-12 11:29:08 -05:00
Ben Meadors
2c4db16336
TinyGPSAltitude support for negative altitude ( #3605 )
2024-04-12 10:49:14 -05:00
Manuel
4c9646f7d9
fix: device sleep (part 1) ( #3590 )
...
* fix sleep part 1
* always show wakeup reason in debug log
* fix screen turn on issue
* avoid unnecessary reboot when entering light sleep
* set DIO1 based on radio type
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-12 10:01:24 -05:00
Oliver Seiler
8fd32f3452
enable USB CDC ( #3597 )
2024-04-12 07:19:48 -05:00
todd-herbert
178877f2d9
Enable T-Echo touch button by default ( #3604 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-12 07:18:36 -05:00
Jonathan Bennett
6de0363eea
Pin RadioLib to 6.5.x ( #3601 )
2024-04-12 07:17:43 -05:00
Gareth Coleman
f4a2023dba
LSM6DS3TR-C support ( #3593 )
...
* started work on pulling in the unphone library and dependencies, to do e.g. power switch management and etc.; currently failing at Adafruit_ImageReader
* now compiles with unphoneLibrary included
* successfully pulled in unphone library to manage power switch and init vibe motor and etc.
doesnt print to serial tho...
* simplified the build a bit; when doing meshtastic do not depend on the MCCI lora libs etc., then also no need to config them via build flags
* version that doesnt trigger brownout
* cleaned up initVariant a little
* note re. GPS
* back to mesh upstream version
* this time we're back to mesh upstream version
* getting LSM6DS3TRC driver installed
* shake to wake works, set threshold quite low may need increasing
* whats the crack with these end of file changes?
* paramatize the wake threshold
* try to get the PR to just include real changes
* got the right config item and also not giving compiler messages
* moved the lib_deps for the LSM6DS3TRC driver from our variant platformio.ini to the main one in root so all boards have it
* stuupid error #define-ing
---------
Co-authored-by: Hamish Cunningham <hamish@gate.ac.uk >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-11 19:40:14 -05:00
Manuel
927d07e2c6
fix: device PMU shutdown (part 2) ( #3596 )
...
* fix: device PMU shutdown (part 2)
* fix error + enable nimble deinit
2024-04-11 19:39:07 -05:00
github-actions[bot]
a4a8556aa2
[create-pull-request] automated change ( #3595 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-11 07:41:37 -05:00
todd-herbert
8e29efcb50
Fix button interrupt after light sleep ( #3587 )
...
* Make ButtonThread instance extern
Previously was a static local instance in setup(). Now declared in ButtonThread.cpp, accessible via extern declaration in ButtonThread.
* Extract attachInterrupt() calls to public method; create matching method for detachInterrupt()
* Change suspension of button interrupts for light-sleep
* Fix declaration for ARCH_PORTDUINO
* Remove LOG_DEBUG used during testing
* Don't assume device has a button..
* Guard entire constructor code
* Don't use BUTTON_PIN with ARCH_PORTDUINO
---------
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com >
2024-04-11 07:02:50 -05:00
GUVWAF
3bee6ce9c3
Only set NodeNum based on MAC if it's still zero ( #3585 )
...
* Only set NodeNum based on MAC if it's still zero
* Already declared
2024-04-10 11:29:29 -05:00
Thomas Göttgens
fcab20fb3b
Merge pull request #3580 from meshtastic/add-iaq
...
add BME680 IAQ reading
2024-04-09 21:55:42 +02:00
Thomas Göttgens
2d81c97b98
fix #2586 (lower IAQ quality for saving to 2 and rework save logic)
2024-04-09 21:20:36 +02:00
Thomas Göttgens
cfd98b2c91
add BME680 IAQ reading. Range is from 0 (clean) - 500 (extremely polluted)
2024-04-09 21:20:36 +02:00
rcarteraz
6e7405e56b
add unphone ( #3584 )
2024-04-09 12:26:03 -05:00
rcarteraz
77082e35f5
Add unPhone to S3 build scripts ( #3583 )
...
* add unphone to s3 devices
* add unphone
2024-04-09 11:37:38 -05:00
github-actions[bot]
daa64b055a
[create-pull-request] automated change ( #3579 )
...
Co-authored-by: caveman99 <caveman99@users.noreply.github.com >
2024-04-09 08:00:19 -05:00
Thomas Göttgens
ec74fba2bd
update to nanopb 0.4.8 and fix proto regen script ( #3578 )
...
* update to nanopb 0.4.8 and fix proto regen script
* trunk, damnit
2024-04-09 07:40:55 -05:00
github-actions[bot]
e89575bfd1
[create-pull-request] automated change ( #3577 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-08 18:43:10 -05:00
Thomas Göttgens
ea61808fd9
tryfix: use UTC on Phone API ( #3576 )
2024-04-08 17:26:23 -05:00
Thomas Göttgens
b14ac777f1
Merge pull request #3570 from meshtastic/local-time-display
...
display log and onscreen times in local timezone
2024-04-08 09:18:41 +02:00
Thomas Göttgens
65e5bdc212
display log and onscreen times in local timezone
2024-04-08 00:10:54 +02:00
Jonathan Bennett
aa3280c18c
add trunk ignore for docker chmod ( #3568 )
...
* add trunk ignore for docker chmod
* Fix incorrect comment type
2024-04-07 17:08:17 -05:00
Jonathan Bennett
68e657fd07
Actually fix Docker - hopefully
2024-04-07 15:52:43 -05:00
Jonathan Bennett
47b8f7b6c6
Don't forget to change directory owner
2024-04-07 14:34:19 -05:00
Jonathan Bennett
fde20db95f
move chmod -t to root section
2024-04-07 14:22:39 -05:00
Jonathan Bennett
40a7fd145a
Update Dockerfile to remove sticky bit during build ( #3567 )
...
* Update Dockerfile to remove sticky bit during build
* no sudo?
2024-04-07 14:15:03 -05:00
Thomas Göttgens
33842b67e8
Merge pull request #3565 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-04-07 16:00:03 +02:00
caveman99
2db061ded9
[create-pull-request] automated change
2024-04-07 13:58:58 +00:00
Thomas Göttgens
1baad2875a
Add keymappings for several utility functions ( #3536 )
...
* - map fn+m to mute and unmute the external notification module
- map fn+t to be an alternative for the TAB key
* add whitelist to inputbroker
* (maybe) sweet-talking t-deck into tabbing...
* now for real - back in Kansas
* More fancy mappings
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-06 19:12:57 -05:00
Jared Quinn
0e9f1beb40
Native Linux Build (ARM support and webserver deps) ( #3506 )
...
* Added webserver libraries to build libs
* Revert "Added webserver libraries to build libs"
This reverts commit bcc72a06b9 .
* Added piwebserver library dependencies to native build
* Add webserver libraries to apt install for native build
* Revert additional libraries added by mistake
* Address trunk check issues on Dockerfile
* Ignore linter checks for pinning build packages and apt-get
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-06 10:32:15 -05:00
Jonathan Bennett
03f60dcb49
Make instructions clearer in config.yaml comments ( #3559 )
2024-04-06 08:04:49 -05:00
todd-herbert
5b5f9c62b5
Remap backlight toggle and touch button ( #3560 )
...
* Update E-Ink display after sending adhoc ping or disable/enable GPS
* Resume display updates when touch button pressed
* Use touch hold as modifier; change double-click behavior for user button
* Fix preprocessor exclusions
* Purge backlight behavior
* Distinguish between 3x and 4x multi-presses
* Touch button considers "Wake screen on tap or motion" user-setting
* Don't assume device has BUTTON_PIN
* Rename misleading method
2024-04-06 08:04:26 -05:00
Ric In New Mexico
577de1e517
Merge pull request #3557 from fuutott/master
...
Update platformio.ini
2024-04-05 14:56:38 -06:00
fuutott
f6e6f975c0
Update platformio.ini
...
should be dash instead of underscore
2024-04-05 14:58:00 +01:00
Gareth Coleman
902f38238d
This change to the I2C Scan is to distinguish between two devices ( #3554 )
...
sharing the same I2C address, the QMI8658 IMU and BQ24295 PMU.
2024-04-05 07:20:22 -05:00
Thomas Göttgens
9b2d862b7d
Merge pull request #3544 from garethhcoleman/unphone
...
New device unPhone using HX8357D LCD and XPT2046 touchscreen
2024-04-04 12:47:12 +02:00
Gareth Coleman
4cdfae71cf
first attempt at getting trunk to do linting
2024-04-04 11:00:10 +02:00
Gareth Coleman
be889015f7
New device unPhone using HX8357D LCD and XPT2046 touchscreen
2024-04-04 11:00:10 +02:00
Thomas Göttgens
f0b6ff9b2d
Merge pull request #3545 from todd-herbert/paper-deepsleep-current
...
Reduce deep-sleep current for Heltec Wireless Paper
2024-04-04 10:59:20 +02:00
Todd Herbert
30ebb6ae46
use BUTTON_PIN macro
2024-04-04 17:18:40 +13:00
Todd Herbert
d1db51830b
set GPIOs for sleep
2024-04-04 17:05:12 +13:00
Todd Herbert
eb0e705ba9
de-init bluetooth
2024-04-04 17:04:10 +13:00
github-actions[bot]
46ad4bf0e5
[create-pull-request] automated change ( #3542 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-03 08:47:47 -05:00
todd-herbert
a570e50aca
Disable holds / isolations on RTC IO pads after deep sleep ( #3539 )
...
* disable holds on RTC IO pads after deep sleep
* Don't assume SOC_RTCIO_HOLD_SUPPORTED
2024-04-03 06:59:53 -05:00
AeroXuk
2caed6d29c
Feature parity between Pico and Pico W ( #3538 )
2024-04-02 15:36:15 -05:00
todd-herbert
f2ed0f7c8c
Fix Light-sleep for ESP32 ( #3521 )
...
* Change wakeup source from EXT0 to GPIO
* Avoid ISR issue on wake
* Detect press from wake reason, instead of digitalRead
* Missing #ifdef
Risky phone-typed commit
* Fix PowerFSM timed transition preventing light sleep
Addresses https://github.com/meshtastic/firmware/issues/3517
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-02 14:55:48 -05:00
Jonathan Bennett
8bb562c5fa
Add spiTransfer function to Native to support Linux-managed CS ( #3524 )
...
* Add spiTransfer function to Native to support Linux-managed CS
* Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-01 18:31:36 -05:00
rcarteraz
15501e84dd
Add Station-G2 to install scripts ( #3525 )
...
* add station g2 to device-install.bat
* add station-g2 to device-install.sh
* remove extra space
2024-04-01 05:53:19 -05:00
GUVWAF
a4c22321fc
Don't save Neighbors to flash when receiving ( #3519 )
...
* Don't save Neighbors to flash when receiving
* Move `shouldSave` to `saveProtoForModule()`
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-31 08:03:29 -05:00
todd-herbert
46a63bf293
Handle edge cases for E-Ink screensaver ( #3518 )
...
* remove redundant logic
* Handle special screens for old EInkDisplayClass
* Handle special screens for EInkDynamicDisplay class
* Join an async refresh in progress to avoid skipping screensaver
* attempt trunk fix
2024-03-31 07:04:05 -05:00
Jorropo
279464f96d
linux-native: only install linux native deps ( #3510 )
...
This is a couple times faster because platformio checks all environment sequentially.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-29 07:42:20 -05:00
Jorropo
3cf6c47bab
replace arch with uname -m for arch linux ( #3508 )
...
From the manpage:
> arch - print machine hardware name (same as uname -m)
Arch Linux does not have the `arch` alias, only `uname`, so use `uname` to fix this issue:
> ```
> ./bin/build-native.sh: line 18: arch: command not found
> ```
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2024-03-29 01:01:40 -05:00
Jonathan Bennett
64fd866494
Make native honor HAS_SCREEN 0 ( #3509 )
...
This allows easier building of the native target without the LovyanGFX libraries.
2024-03-29 00:03:19 -05:00
github-actions[bot]
7b391d1a9f
[create-pull-request] automated change ( #3507 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-28 19:27:34 -05:00
todd-herbert
8187fa7115
E-Ink Screensaver ( #3477 )
...
* fix Wireless Paper double-clear screen at boot
* log when flooded with "responsive" frames
* show the "resuming" screen when waking from deep-sleep
* rename drawDeepSleepScreen
avoid future confusion with "Screen Paused" screen
* show a screensaver frame when screen off
The frame shown during deep sleep is now also passed through showScreensaverFrames()
* Add macros for E-Ink color values.
OLEDDISPLAY_COLOR is inverted. Result of light-mode on E-Ink vs dark-mode on OLED?
* adapt drawDeepSleepScreen to new screensaver convention
* Mark Wireless Paper V1.1 as having problems with ghosting
Any other issues can be marked in a similar way, then handled in code where relevant
* Change screensaver from fullscreen logo to overlay
* identify "quirks" rather than "problems"
* move async refresh polling from display() to a NotifiedWorkerThread
* Prevent skipping of deep-sleep screen
(Hopefully)
* Redesign screensaver overlay
Now displays short name
* Optimize refresh for different displays
* Support older EInkDisplay class
* Don't assume text alignment
* fix spelling of a quirk macro
(No impact to code, but avoids future issues)
* Handle impossibly unlikely millis() overflow error
Should have just let it go, but here we are..
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-28 18:31:11 -05:00
Ben Meadors
daa4d387c6
Don't reboot for non-radio lora config changes ( #3505 )
2024-03-28 18:14:15 -05:00
Ben Meadors
4c2d5c6a89
Reorder structs to fix build
2024-03-28 07:16:07 -05:00
github-actions[bot]
b5ec35ec78
[create-pull-request] automated change ( #3502 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-28 06:44:34 -05:00
Ben Meadors
5732eed86b
Fixed position admin messages ( #3490 )
...
* Bespoke admin messages for setting and clearing fixed positions
* Add guards against remote admin messages setting things
* Flip ifs
2024-03-26 07:29:07 -05:00
Jonathan Bennett
1542afb847
Add libulfius2.7 to .deb debendencies ( #3494 )
2024-03-26 00:58:47 -05:00
Jim Whitelaw
acc32916c3
Add multiple configuration options for a minimized build (GPS,WiFi,BT,MQTT,Screen). ( #3469 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-25 06:33:57 -05:00
github-actions[bot]
728b58fb94
[create-pull-request] automated change ( #3489 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-24 18:50:26 -05:00
GUVWAF
77fb230baa
Native: fail-safes for simulated node without config file ( #3486 )
...
* LinuxInput: only close if file descriptor is assigned
* Native: set some defaults if no configuration file found
2024-03-24 13:42:32 -05:00
Thomas Göttgens
b960dc1b41
Add Shutdown and reboot to CardKB and friends ( #3487 )
...
* Add Shutdown and reboot to CardKB and friends
* aw shucks
2024-03-24 13:41:45 -05:00
code8buster
5f529f7ca3
Remove unused defines from nrf52 variants ( #3482 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-24 13:41:28 -05:00
github-actions[bot]
b4dbc2b4bf
[create-pull-request] automated change ( #3485 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-24 12:44:44 -05:00
Ben Meadors
63df972d42
Revert "[create-pull-request] automated change ( #3483 )" ( #3484 )
...
This reverts commit c87fdfece7 .
2024-03-24 08:11:47 -05:00
github-actions[bot]
c87fdfece7
[create-pull-request] automated change ( #3483 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-23 19:47:43 -05:00
GUVWAF
381d5230b8
Merge pull request #3480 from GUVWAF/logsMapReport
...
Don't spam logs if no position with map reporting (2)
2024-03-23 20:12:25 +01:00
GUVWAF
a7c005ccdf
Merge branch 'meshtastic:master' into logsMapReport
2024-03-23 19:36:21 +01:00
GUVWAF
71ca6f768f
Actually update last_report_to_map
2024-03-23 19:35:12 +01:00
GUVWAF
4cce4c7c93
Set unused header bytes to zero for future use ( #3479 )
2024-03-23 12:38:29 -05:00
Jonathan Bennett
9e8860d188
Crash fix and remove hard-coded path from PiWebServer ( #3478 )
...
* Remove hard-coded path from PiWebServer
* Bump portduino to pick up crash fix
* Remove PiWebServer non-ASCII debug output
* Trunk formatting
2024-03-23 12:29:05 -05:00
GUVWAF
d30d6bd3eb
Fix #3452 : only alter received packet if port number matches ( #3474 )
...
* Use `alterReceivedProtobuf()` for NeighborInfo and Traceroute
`alterReceived()` should never return NULL
Traceroute should be promiscuous
* Remove extensive logging from NeighborInfo module
2024-03-23 07:31:58 -05:00
Ben Meadors
94e4301f2f
Add set and remove favorite nodes admin commands ( #3471 )
2024-03-22 10:53:18 -05:00
Ben Meadors
54818b5f8d
Enforce consistent polite channel utilization limits except for Sensor role ( #3467 )
2024-03-22 07:25:00 -05:00
github-actions[bot]
c77c58d656
[create-pull-request] automated change ( #3470 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-22 07:24:10 -05:00
Ben Meadors
794e99c2f9
Log warning cleanup and truth ( #3466 )
2024-03-21 20:45:48 -05:00
Ben Meadors
7aa013a716
Skip favorite nodes when clearing out oldest in NodeDB ( #3464 )
...
* Skip favorite nodes when clearing out oldest in NodeDB
* We should actually map between the types
2024-03-21 19:51:02 -05:00
github-actions[bot]
a57f7730ea
[create-pull-request] automated change ( #3463 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-21 18:55:50 -05:00
Jonathan Bennett
35754d661d
Make MAX_NUM_NODES configurable in variant.h ( #3453 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-21 18:26:37 -05:00
Jonathan Bennett
79cfb1e876
Revert "Bump actions to node 20 ( #3461 )" ( #3462 )
...
This reverts commit defeb8e52b .
As per https://github.com/actions/upload-artifact/issues/478 the new version of upload-artifact includes a breaking change.
2024-03-21 16:50:44 -05:00
GUVWAF
155df45d92
Add sanity check for map report interval and position precision ( #3459 )
...
* Add sanity check for map report interval and position precision
* Use new `Default::` methods
2024-03-21 16:20:20 -05:00
Jonathan Bennett
907d075917
Revert previous attempt
2024-03-21 16:17:13 -05:00
Jonathan Bennett
9c88906acc
Remove double run of build-raspbian
2024-03-21 16:14:45 -05:00
Jonathan Bennett
defeb8e52b
Bump actions to node 20 ( #3461 )
2024-03-21 15:24:57 -05:00
Ben Meadors
6dd337a651
Clear local position on nodedb-reset ( #3451 )
...
* Clear local position on nodedb-reset
* NodeDB pointer now, yo
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2024-03-21 14:43:10 -05:00
GUVWAF
0a7ddb7594
Let NeighborInfo Module ignore packets coming from MQTT ( #3457 )
2024-03-21 14:42:53 -05:00
GUVWAF
4debcd5ccd
Set default position precision of mapReport to 14 ( #3456 )
2024-03-21 14:35:17 -05:00
Jonathan Bennett
fd26914d88
move nodeDB::init code into nodeDB constructor ( #3455 )
2024-03-21 13:14:02 -05:00
Jonathan Bennett
dfcd0d14f6
Add MaxNodes to Native config ( #3427 )
...
* Add MaxNodes to Native
* It compiles...
* Convert nodedb to use new
* Closer but still broken.
* Finally working
* Remove unintended lines
* Don't include a pointer
* Capitalization matters.
* avoid rename in protocol regen
* When trimming the nodeDB, start with a cleanup
* Remove extra cleanupMeshDB() call for now
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-21 09:06:37 -05:00
Jim Whitelaw
f4095ce00d
Adds configuration option to exclude the webserver on esp32. ( #3369 )
...
* Adds configuration option to not build/include the webserver.
* Adds configuration option to not build/include the webserver.
* Keep initApiServer when excluding webserver
* fixes for failed formatting check
* Once more with feeling! Fix for regression.
* Fix includes for ARCH_ESP32
* Format changes from trunk
* Merge updates from origin
* Revert "Format changes from trunk"
This reverts commit 436e631774 .
* jeez!
* tryfix proto conflict
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-03-21 06:34:34 -05:00
Mictronics
7aa21f6e3f
Fixed double and missing Default class. ( #3448 )
...
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28
* Merge PR #420
* Fixed double and missing Default class.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-20 10:58:48 -05:00
github-actions[bot]
5e832e2fc6
[create-pull-request] automated change ( #3444 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-19 12:02:29 -05:00
Ben Meadors
4fa7f5a748
Fix devicestate persistence bug
2024-03-19 10:31:31 -05:00
Manuel
a6625998f5
fix compiler warnings in NodeDB.h ( #3439 )
...
* fix warnings on arm
* make trunk+compiler happy
2024-03-19 06:22:45 -05:00
Manuel
711b85cfe8
fix WLAN crash ( #3435 )
...
* fix WLAN crash
* link to commit in arduinothread
* revert usb mode
2024-03-18 15:42:44 -05:00
github-actions[bot]
b98176e73e
[create-pull-request] automated change ( #3434 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-18 07:33:01 -05:00
Ben Meadors
aae49f5ecf
Remove confusing channel suffix ( #3432 )
...
* Remove confusing channel suffix
* Missed it
2024-03-17 08:38:49 -05:00
Ben Meadors
0d1d79b6d1
Extract default intervals and coalesce methods into their own file / static class methods ( #3425 )
...
* Extract default intervals and coalesce methods into their own file / static class methods
* Missed pax
* Still managed to miss one
2024-03-17 08:18:30 -05:00
Ben Meadors
bb57ccfc9e
Remove devicestate no_save ( #3424 )
2024-03-17 08:16:22 -05:00
Ben Meadors
e27f029d09
Bump minimum NodeInfo send to 5 minutes ( #3423 )
...
* Bump minimum NodeInfo send to 3 minutes
* 5
2024-03-16 19:56:42 -05:00
Thomas Göttgens
13cc1b0252
(3/3) Add variant for pico with waveshare and GPS hat ( #3412 )
...
* (3/3) Add variant for pico with waveshare and GPS hat, utilizing slow clock.
* Not everybody has Serial2
* Trunk
* Push it real gud
* No init
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-16 10:01:43 -05:00
github-actions[bot]
54a2a4bcc6
[create-pull-request] automated change ( #3422 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-16 07:39:28 -05:00
David Ellefsen
611f291d4d
Factory reset GNSS_MODEL_MTK GPS modules with PCAS10,3 ( #3388 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-15 19:19:50 -05:00
Ben Meadors
9586606229
Handle for heartbeat toradio packets ( #3420 )
2024-03-15 18:40:48 -05:00
github-actions[bot]
0de36fbfb0
[create-pull-request] automated change ( #3419 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-15 17:12:45 -05:00
Andre K
0dda20bc35
fix for I2C scan getting stuck ( #3375 )
...
* refactor: add delay for T-Echo peripherals setup
* comment out `PIN_POWER_EN1`
2024-03-15 17:12:30 -05:00
Ben Meadors
52cfec29fc
More comprehensive client proxy queue guards ( #3414 )
...
* More comprehensive MQTT thread and queue guards
* Consolidate logic
* Remove channel check
* Check for map_reporting_enabled as well
* Update message
* Remove channel check from here as well
* One liner
* Start the mqtt thread back up when channels change and we want mqtt
2024-03-15 16:17:47 -05:00
Thomas Göttgens
4d0d82f7e7
Merge pull request #3411 from meshtastic/rp2040-slowclock
...
(2/3) Add Slow Clock Support for RP2040 platform.
2024-03-15 20:56:50 +01:00
Thomas Göttgens
34bc22f94d
(2/3) Add Slow Clock Support for RP2040 platform. This will disable USB Softserial.
2024-03-15 20:16:36 +01:00
Thomas Göttgens
cb3740708b
Merge pull request #3410 from meshtastic/gnss-l76b
...
(1/3) Support L76B GNSS chip found on pico waveshare shield.
2024-03-15 20:16:06 +01:00
Thomas Göttgens
e8ec167854
Merge branch 'gnss-l76b' of github.com:meshtastic/firmware into gnss-l76b
2024-03-15 19:48:19 +01:00
Thomas Göttgens
b900415218
that should work now
2024-03-15 19:47:47 +01:00
Thomas Göttgens
2eb78fec53
Merge branch 'master' into gnss-l76b
2024-03-15 19:39:47 +01:00
Thomas Göttgens
da7cd5fc7f
new Accelerometer lib ( #3413 )
...
* new Accelerometer lib
* Use our fork till upstreasm merges changes.
* that PR escalated quickly
* resurrect display flip
2024-03-15 10:45:14 -05:00
Thomas Göttgens
b06c77d46f
don't fix this to a hardware model.
2024-03-15 16:43:39 +01:00
Thomas Göttgens
cbc0aa16c5
fix compilation
2024-03-15 16:37:47 +01:00
github-actions[bot]
876a0520a9
[create-pull-request] automated change ( #3418 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-15 08:09:48 -05:00
Thomas Göttgens
50cc4cfcf1
We don't use Lorawan ( #3417 )
...
#warning "Persistent storage not supported!" [-Wcpp]
2024-03-15 08:07:54 -05:00
Ben Meadors
ec6bdeed81
NodeInfo broadcast ensure default on 0 and enforce 1 hour minimum ( #3415 )
...
* NodeInfo broadcasts ensure defaults on 0 and enforce 1 hour minumum
* Doh!
* Hey that's not on config!
2024-03-15 07:12:03 -05:00
Ben Meadors
a085c3ddb3
Try-fix router missed messages ( #3405 )
2024-03-14 17:00:57 -05:00
Thomas Göttgens
58cdf360f8
(1/3) Support L76B GNSS chip found on pico waveshare shield. Original work by @Mictronics
2024-03-14 16:18:33 +01:00
Ben Meadors
9c37e57e75
Only allow phone to set time for fixed positions ( #3403 )
2024-03-13 20:27:26 -05:00
Andre K
9d2fcbe1e1
use decoded packets in public MQTT range test/detection sensor filter ( #3404 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-13 18:24:49 -05:00
Ben Meadors
3995e2f708
Remove bunk code
2024-03-13 15:06:52 -05:00
github-actions[bot]
216f85ff22
[create-pull-request] automated change ( #3397 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-13 09:02:48 -05:00
Ben Meadors
2efe436102
Update nrf52 platform and consolidate Adafruit Bus IO ( #3393 )
2024-03-13 07:20:51 -05:00
Thomas Göttgens
fb16390205
Merge pull request #3395 from tavdog/patch_buzzer_no_turnoff_off_by_one_error
...
fix off by one error
2024-03-13 09:23:14 +01:00
Tavis
333c3c1c9e
fix off by one error
...
buzzer is index 2, but loop was 0-1 so buzzer never got turned off.
2024-03-12 21:42:08 -10:00
GUVWAF
724fa38a55
Fix T-LoRa V2.1-6 with TCXO init ( #3392 )
2024-03-12 16:42:34 -05:00
Wolfgang Nagele
38ea681433
Fix LTO discharge curve ( #3385 )
...
* Fix LTO discharge curve
* Remove duplicate info
2024-03-12 16:42:21 -05:00
Wolfgang Nagele
ee685b4ed7
Check AQ_SET_PIN instead of EINK dependency ( #3387 )
2024-03-12 13:03:04 -05:00
Thomas Herrmann
cf11807f97
use priority background for low priority messages ( #3381 )
2024-03-12 12:21:09 -05:00
Wolfgang Nagele
7f063fbf81
Support external charge detection ( #3386 )
...
* Support external charge detection
* trunk fmt
2024-03-12 11:55:31 -05:00
Thomas Göttgens
6215495ccc
Merge pull request #3379 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-03-12 10:26:17 +01:00
GUVWAF
045dda64e7
Merge pull request #3383 from AeroXuk/patch-1
...
Fix for incorrect mapTopic mqtt path
2024-03-12 08:39:30 +01:00
AeroXuk
affbd7f2b9
Update MQTT.cpp
...
Bug fix for #3382
2024-03-12 02:13:52 +00:00
thebentern
f9bf9e2dcc
[create-pull-request] automated change
2024-03-11 21:43:46 +00:00
GUVWAF
5f47ca1f32
Don't spam logs if no position with map reporting ( #3378 )
2024-03-11 15:58:45 -05:00
Thomas Göttgens
6a27e62bcf
Merge pull request #3356 from todd-herbert/eink-special-frames
...
Handle "special-frames" with EInkDynamicDisplay
2024-03-11 21:43:39 +01:00
Ben Meadors
2d5a6c1a20
Merge branch 'master' into eink-special-frames
2024-03-11 13:32:42 -05:00
Manuel
c7839b469b
fix of tryfix SHT31 sensor ( #3377 )
2024-03-11 12:51:14 -05:00
Ben Meadors
95967a01b8
Merge branch 'master' into eink-special-frames
2024-03-11 12:46:32 -05:00
Manuel
e16689a0d6
fix heap use after delete ( #3373 )
2024-03-11 12:45:59 -05:00
Andre K
c80098f517
refactor: remove ACKs in range tests so zero hops is honored ( #3374 )
2024-03-11 11:49:46 -05:00
Todd Herbert
1f766a04aa
purge unused enum val
2024-03-12 04:04:28 +13:00
Todd Herbert
1d31be939f
Swap Wireless Paper V1.0 dependency to meshtastic/GxEPD2
2024-03-12 03:06:01 +13:00
Thomas Göttgens
4b4bd07d5c
Merge branch 'master' into eink-special-frames
2024-03-11 14:10:19 +01:00
todd-herbert
cf4753f7fd
Async full-refresh for EInkDynamicDisplay ( #3339 )
...
* Move Wireless Paper V1.1 custom hibernate behavior to GxEPD2
* Async full-refresh for EInkDynamicDisplay
* initial config for T-Echo
* formatting
responds to https://github.com/meshtastic/firmware/pull/3339#discussion_r1518175434
* increase fast-refresh limit for T-Echo
https://github.com/meshtastic/firmware/pull/3339#issuecomment-1986245727
* change dependency from private repo to meshtastic/GxEPD2
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-11 07:56:55 -05:00
Thomas Göttgens
892223a297
fix typos and add 2 missing modules to the equasion ( #3370 )
2024-03-11 07:52:46 -05:00
Thomas Göttgens
658ed6fd28
tryfix SHT31 sensor on secondary bus
2024-03-11 13:51:26 +01:00
David Ellefsen
3a8f623f8a
Change '! -z' to '-n' to addresss shellcheck/SC2236
2024-03-11 12:09:00 +01:00
David Ellefsen
f09e5c96fc
Add permission: read-all to silence CKV_GHA_1 check
2024-03-11 12:09:00 +01:00
David Ellefsen
a493ab526f
Trunk fmt to correct failing PR check for device-install.sh
2024-03-11 12:09:00 +01:00
David Ellefsen
b3ec3c20fb
Update device-install.sh files to account for bleota-c3.bin file
2024-03-11 12:09:00 +01:00
David Ellefsen
b65b9e5d65
Include esp32c3 build step
2024-03-11 12:09:00 +01:00
Kevin Cai
766beefbc5
Update AccelerometerThread.h to work with T-Watch S3
2024-03-11 10:58:25 +01:00
Thomas Göttgens
eb372c190e
Merge pull request #3365 from GUVWAF/mapReport
...
Periodic reporting of device information to a map via MQTT
2024-03-10 20:55:31 +01:00
Thomas Göttgens
70df36b5db
Merge branch 'master' into mapReport
2024-03-10 20:54:48 +01:00
Thomas Göttgens
e33d014257
Merge pull request #3351 from thoherr/refactor-paxcounter
...
Refactor paxcounter
2024-03-10 18:49:16 +01:00
Thomas Herrmann
26691c0be7
include requested change and suggestions on PR from @caveman99
2024-03-10 16:08:26 +01:00
Thomas Herrmann
09e08e0091
add some documentation, cleanup
2024-03-10 16:08:26 +01:00
Thomas Herrmann
73c77b663c
fix typo
2024-03-10 16:08:26 +01:00
Thomas Herrmann
fb4faf790b
split query of paxcounter data from sending funcionality; don't cummulate (count mode != 1); use flag to signal changed count data
2024-03-10 16:08:26 +01:00
GUVWAF
cb7407e06b
Don't need to check all channels if not using default frequency slot
2024-03-10 16:04:59 +01:00
GUVWAF
b45a912409
Use dedicated map topic
2024-03-10 15:56:00 +01:00
Thomas Göttgens
c7d5698dbc
Merge branch 'master' into mapReport
2024-03-10 15:40:22 +01:00
Thomas Göttgens
d1a25947e3
Merge pull request #3366 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-03-10 15:40:05 +01:00
caveman99
69dcc948b9
[create-pull-request] automated change
2024-03-10 14:39:40 +00:00
GUVWAF
084b01715e
Merge remote-tracking branch 'origin/master' into mapReport
2024-03-10 14:54:41 +01:00
GUVWAF
af9d14c370
Periodic reporting of device information to a map via MQTT
2024-03-10 14:52:37 +01:00
Todd Herbert
1032e16ea4
reorder determineMode() checks
2024-03-11 01:02:03 +13:00
Andre K
3da1b74a10
refactor: always send range tests with zero hops
2024-03-10 10:50:02 +01:00
Todd Herbert
c0a3b20aa3
while drafting, build from todd-herbert/meshtastic-GxEPD2#async
2024-03-10 13:45:35 +13:00
Todd Herbert
3daae24d29
fix fallback behavior for unmodified GxEPD2
...
Issues exposed by https://github.com/meshtastic/firmware/pull/3356#issuecomment-1986950317
2024-03-10 13:43:57 +13:00
Jonathan Bennett
dced888492
Add precision_bit sto json
2024-03-09 15:34:01 -06:00
Ben Meadors
7167f1e04f
Add parens to macro ( #3361 )
2024-03-09 15:25:16 -06:00
Ben Meadors
dfbb4cd913
Merge branch 'master' into eink-special-frames
2024-03-09 14:10:09 -06:00
GUVWAF
3da7c0dba7
Add hops_away to JSON output ( #3357 )
2024-03-09 11:32:49 -06:00
Todd Herbert
7b70324435
handle special frames in Screen.cpp
2024-03-10 05:00:51 +13:00
Todd Herbert
94eb837ee8
function macro for tidier addFramFlag() calls
2024-03-10 04:14:45 +13:00
Todd Herbert
a9c07a4c01
add frameFlags to LOG_DEBUG() messages
2024-03-10 04:07:51 +13:00
Todd Herbert
e232e3462c
add BLOCKING modifier to frameFlagTypes
2024-03-10 03:48:59 +13:00
Todd Herbert
94794edd43
add init code as a determineMode() check
2024-03-10 03:43:07 +13:00
Todd Herbert
95b6f27d2a
change order of determineMode() checks
2024-03-10 03:38:39 +13:00
Todd Herbert
efd818fe90
move storeAndReset() to end of update()
2024-03-10 03:07:13 +13:00
Todd Herbert
576f582cd9
rename setFrameFlag() method
2024-03-10 02:30:16 +13:00
Todd Herbert
d5c11d1892
change dependency from private repo to meshtastic/GxEPD2
2024-03-10 02:11:49 +13:00
Ben Meadors
aaa5d61162
Merge branch 'master' into eink-async
2024-03-09 07:06:04 -06:00
Ben Meadors
3efd606ea7
Bump to 2.3.0
2024-03-09 07:01:46 -06:00
Ben Meadors
42286edc81
Merge branch 'master' into eink-async
2024-03-09 06:59:56 -06:00
Mark Trevor Birss
29335a18f5
Update variant.h ( #3354 )
2024-03-09 06:55:02 -06:00
Andre K
51df4fc775
fix: turn off T-Echo peripherals on deep sleep ( #3162 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-08 20:15:37 -06:00
Ben Meadors
0f1bc98305
Update MQTT topic to match ( #3353 )
2024-03-08 20:15:00 -06:00
Todd Herbert
23926210d1
increase fast-refresh limit for T-Echo
...
https://github.com/meshtastic/firmware/pull/3339#issuecomment-1986245727
2024-03-09 09:57:30 +13:00
Todd Herbert
7275c21f6b
formatting
...
responds to https://github.com/meshtastic/firmware/pull/3339#discussion_r1518175434
2024-03-09 09:34:53 +13:00
Todd Herbert
ac89bb3387
initial config for T-Echo
2024-03-09 09:30:34 +13:00
Todd Herbert
07da130586
Async full-refresh for EInkDynamicDisplay
2024-03-09 09:30:34 +13:00
Todd Herbert
5d4d91f775
Move Wireless Paper V1.1 custom hibernate behavior to GxEPD2
2024-03-09 09:30:34 +13:00
Ben Meadors
7da1153c2c
Fix known_only panic by short circuiting for NULL before checking has_user ( #3352 )
2024-03-08 08:31:49 -06:00
GUVWAF
585805c3b9
Add original hop limit to header to determine hops used ( #3321 )
...
* Set `hop_start` in header to determine how many hops each packet traveled
* Set hopLimit of response according to hops used by request
* Identify neighbors based on `hopStart` and `hopLimit`
* NeighborInfo: get all packets and assume a default broadcast interval
* Add fail-safe in case node in between is running modified firmware
* Add `viaMQTT` and `hopsAway` to NodeInfo
* Replace `HOP_RELIABLE` with hopStart for repeated packet
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-08 07:13:57 -06:00
Thomas Göttgens
a4830e0ab1
Merge pull request #3347 from thoherr/add-bmp085_180-sensor
...
add BMP085 (and BMP180) sensor (temperature and air pressure)
2024-03-08 12:02:43 +01:00
Thomas Herrmann
763ae9f2e2
add BMP085 (and BMP180) sensor (temperature and air pressure)
2024-03-07 23:58:04 +01:00
Ben Meadors
7f12505716
Update trunk
2024-03-07 15:52:08 -06:00
Ben Meadors
b4940b476d
Trunk
2024-03-07 15:51:28 -06:00
Steven Osborn
c860493e68
Add delay so GPS and Radio have time to power up ( #3334 )
...
* Add delay so GPS and Radio have time to power up
* reduce the delay a bit
* make delay more generic / configurable
* remove whitespace changes
2024-03-07 07:11:25 -06:00
github-actions[bot]
2dd751e339
[create-pull-request] automated change ( #3346 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-07 07:06:47 -06:00
Jonathan Bennett
bfce3938d2
Add openssl as dependency to meshtasticd .deb
2024-03-06 18:54:09 -06:00
Jonathan Bennett
46ad623785
Add webroot to .deb
2024-03-06 17:43:04 -06:00
Jonathan Bennett
e174328de3
Native Webserver ( #3343 )
...
* Added WebServer/WebServices for Native Linux Meshtastic and web gui
* Fix bug in login functionality
* Added customized config of portdunio.ini with LovyannGFX from marelab repro
* Compile Problem resolved with developer version of LovyanGFX.git
* Compile against dev version
* Fixes to fit into main branch
* Update variant.h, main.cpp, .gitignore, WebServer.cpp, esp32s2.ini, WebServer.h, ContentHandler.cpp, rp2040.ini, nrf52.ini, ContentHelper.cpp, Dockerfile, ContentHandler.h, esp32.ini, stm32wl5e.ini
* Added linux pi std /usr/include dir
* Adding /usr/innclude for Linux compile against native libs that are not hadled by platformio
* Review log level changes & translation
* Update Dockerfile
* Fix Typo & VFS ref. Part1
* Fix Typo & VFS ref.
* Dev Version for ulfius web lib
* Update platformio.ini
* Free VFS path string
* Remove unintended changes
* More unintentional changes
* Make the HTTP server optional on native
* Tune-up for Native web defaults
* Don't modify build system yet
* Remove more unneeded changes
---------
Co-authored-by: marc hammermann <marchammermann@googlemail.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-03-06 16:23:04 -06:00
Jonathan Bennett
9d37a8d17f
Stop Fiddling with Newlines! ( #3341 )
2024-03-06 13:09:46 -06:00
Thomas Göttgens
f5ff77c2b9
Turn off certain modules not wanted in custom builds ( #3337 )
2024-03-05 07:50:52 -06:00
Ben Meadors
72050530f1
NRF52 bluetooth cleanup and fix ( #3328 )
...
* NRF52 bluetooth cleanup. Fixes BLE not returning after serial PhoneAPI connection
* Use new var name in esp32 arch
2024-03-03 13:56:55 -06:00
Ken McGuire
e5bf07d4fb
Fix for issue #3310 ( #3327 )
...
* Portduino multiple logging levels
* Fixes based on GPSFan work
* Fix derped logic
* Correct size field for AID message
* Reformat to add comments, beginning of GPS rework
* Update PM2 message for Neo-6
* Correct ECO mode logic as ECO mode is only for Neo-6
* Cleanup ubx.h add a few more comments
* GPS rework, changes for M8 and stub for M10
* Add VALSET commands for u-blox M10 receivers
* Add VALSET commands for u-blox M10 receivers
tweak M8 commands
add comments for VALSET configuration commands
* Add commands to init M10 receivers,
tweak the M8 init sequence, this is a WIP as there are still some issues during init.
Add M10 version of PMREQ.
* Add wakeup source of uartrx to PMREQ_10
The M10 does not respond to commands when asleep,
may need to do this for the M8 as well
* Enable NMEA messages on USB port.
Normally, it is a good idea to disable messages on unused ports.
Native Linux needs to be able to use GNSS modules connected via
via either serial or USB.
In the future I2C connections may be required, but are not enabled for now.
* Save the config for all u-blox receiver types.
The M10 supports this command in addition to saving using
the VALSET commands for the RAM & BBR layers.
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-03 13:08:47 -06:00
Jonathan Bennett
7ab9a94edb
just off the coast of NULL Island isn't OK either.
2024-03-03 11:50:07 -06:00
Ben Meadors
3c3d391044
Remove rangetest file on factory reset ( #3322 )
2024-03-03 10:33:30 -06:00
Ben Meadors
e3063a2785
Turns out bluefruit uses some of these macros even though "we" don't :-/
2024-03-03 09:46:36 -06:00
Ben Meadors
6dbb6583ef
Put these back
2024-03-03 09:33:18 -06:00
Ben Meadors
9b3e519487
Revert "Fix LED pinout for T-Echo board marked v1.0" ( #3304 )
...
* Revert "Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 (#3051 )"
This reverts commit c2afa879b8 .
* Remove / comment out unused LED pins
2024-03-03 08:55:52 -06:00
Ben Meadors
495840c777
Filter out neighborinfo if we don't have the module enabled ( #3314 )
...
* Filter out neighborinfo if we don't have the module enabled
* Handlereceived instead
* Add debug message
2024-03-03 08:36:36 -06:00
todd-herbert
5865add857
E-Ink: fast refresh for Wireless Paper V1.1 ( #3320 )
2024-03-03 07:13:56 -06:00
todd-herbert
c659292836
Reimplement "Dynamic E-Ink" as a derived class ( #3316 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-02 20:07:29 -06:00
Ben Meadors
905718e2ac
Remove problematic IO2 3V3 toggling (again) as GPS EN pin ( #3317 )
...
* Remove problematic IO2 3V3 toggling (again) as GPS EN pin
* Comment
* Trunk
2024-03-02 15:45:59 -06:00
Ben Meadors
a58348369d
Update protos and add new fields to type conversions ( #3315 )
2024-03-02 10:20:27 -06:00
Ben Meadors
d20fa6e927
Comment out ReplyModule registration, but leave it in as example ( #3312 )
2024-03-02 07:21:53 -06:00
Ben Meadors
bf88773b6b
Don't send anybody to null island ever ( #3308 )
2024-02-28 13:44:15 -06:00
todd-herbert
6acc63729b
Refactor EInkDisplay ( #3299 )
...
* Refactor EInkDisplay
A lot of variant specific code is merged, with the macros pushed to the respective variant.h files.
"Dynamic Partial" code has been purged, pending a rewrite.
* fix: declare class only if USE_EINK, init all members
* refactor: move macros to platformio.ini
Responds to https://github.com/meshtastic/firmware/pull/3299#issuecomment-1966425926
* fix: EInkDisplay::connect() references old macros
Usage was in a block of variant-specific code, which had been intentionally left untouched.
* fix: remove duplicate macros from variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-28 09:45:15 -06:00
todd-herbert
7aee014f5e
Add Heltec Wireless Paper V1.0 to the build matrix ( #3306 )
2024-02-28 09:20:20 -06:00
Ben Meadors
2786db499d
Missing include
2024-02-28 08:01:59 -06:00
Thomas Herrmann
4ffb906fe8
move duplicate #define for screen to unified header file ( #3302 )
2024-02-27 12:49:46 -06:00
github-actions[bot]
f7758b4e44
[create-pull-request] automated change ( #3298 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-26 21:32:49 -06:00
Ben Meadors
e6a2c06346
Various position fixes ( #3297 )
...
* Guard against no movement
* Add newlines
* Fix printfs
2024-02-26 20:24:36 -06:00
Ben Meadors
ce0e5c0ce7
SDA and SCL remap
2024-02-26 19:49:43 -06:00
Ben Meadors
59bbd1ad00
Revert I2C changes
2024-02-26 19:32:58 -06:00
Thomas Göttgens
4796c8edc4
Update trunk to latest version ( #3295 )
2024-02-26 10:38:16 -06:00
Thomas Göttgens
f708e41ba7
Merge pull request #3293 from meshtastic/font-fix
...
fix compilation for Cyrillic fonts
2024-02-26 10:20:33 +01:00
Thomas Göttgens
d556d59308
fix compilation for Cyrillic fonts
2024-02-26 09:42:12 +01:00
Jonathan Bennett
146b5b557a
UINT32_MAX is not the same as INT32_MAX
2024-02-26 01:03:03 -06:00
Jonathan Bennett
0dcd3584e4
Fix wrong-side-of-globe when precision set to 32
2024-02-25 21:48:25 -06:00
Thomas Herrmann
d434117ffd
add UI frame for PaxCounter module ( #3285 )
...
* add UI frame to display PaxCounter module data
* only acquire screen when paxcounter is active, i.e. enabled and wifi and ble are both off
* sync font #define with other occurrences in code
* protect screen specific code with #if HAS_SCREEN
* limit upload_speed to 115200 for TLORA_V2_1_16
* fix failing trunk checks; sorry
* Revert "limit upload_speed to 115200 for TLORA_V2_1_16"
This reverts commit 4eb549c5e8 .
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 13:03:54 -06:00
GUVWAF
0f27992c5a
Ignore JSON enabled setting on nRF52 platforms ( #3286 )
...
Not supported, see #2804
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 07:44:08 -06:00
GUVWAF
824991c178
Ignore MQTT by default if region has a duty cycle limit ( #3277 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 07:43:44 -06:00
GUVWAF
02192e1163
More StoreForward updates ( #3274 )
...
* More StoreForward updates
* Disable heartbeat again if not in config
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 07:29:34 -06:00
Thomas Göttgens
d47f55289f
Merge pull request #3276 from rcarteraz/update-nodedb-log
...
update node db lite log message
2024-02-25 12:36:38 +01:00
rcarteraz
b98ddbddf4
update node db lite log message
2024-02-25 12:36:21 +01:00
Thomas Göttgens
6932f07310
Add Station G2 to the build matrix
2024-02-25 12:11:11 +01:00
Thomas Göttgens
a8d37475b6
Merge pull request #3282 from neilhao/master
...
Station G2
2024-02-25 12:08:09 +01:00
Neil Hao
8726cb830e
Trunk don't like long line:)
2024-02-25 18:44:43 +08:00
Neil Hao
8c7ee1a7bb
Corrected the Trunk Problem
2024-02-25 18:32:46 +08:00
Neil Hao
1fe230a065
Undo VS automatic modifications to this file
2024-02-25 08:18:30 +08:00
neil
74714bf0c5
station-g2
2024-02-24 14:28:58 -08:00
Thomas Göttgens
8bfe5a2bd4
Merge pull request #3280 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-02-24 21:09:17 +01:00
caveman99
9c4d1b5ac8
[create-pull-request] automated change
2024-02-24 20:08:49 +00:00
Jonathan Bennett
c2085c2c88
Fix default stance in position_precision
2024-02-24 13:29:07 -06:00
Ben Meadors
730429fc9b
Routers / Repeaters deep sleep default w/ LoRA interrupts ( #3251 )
...
* Experimenting with deep sleep routers / repeaters
* Make decision to SDS or LS based on Router/Repeater role
* Don't sleep LoRA on router / repeater deep sleep
* Guards
* Platform guards
* Rename method
2024-02-24 07:55:00 -06:00
rcarteraz
f1b314251c
remove flasher and replace with web on unset screen ( #3272 )
2024-02-24 07:49:15 -06:00
Jonathan Bennett
b2ea1e23be
Move imprecise locations to grid middle
2024-02-23 17:27:47 -06:00
todd-herbert
3ad34f8759
E-Ink: change inaccurate terminology ( #3269 )
...
Follows a discussion with @markbirss on discord
2024-02-23 07:45:23 -06:00
Mark Trevor Birss
f95b90364a
Update EInkDisplay2.cpp ( #3264 )
...
Fix for line at bottom of e-ink display. From @todd-herbert new e-ink enhancements
2024-02-22 16:18:05 -06:00
Jonathan Bennett
7706786541
Correct powersave settings for ublox
2024-02-22 13:41:43 -06:00
Jonathan Bennett
eb2fa727a7
Adds support for position_precision
2024-02-22 13:41:43 -06:00
Jonathan Bennett
790f100620
Protobuf bump
2024-02-22 13:41:43 -06:00
Jonathan Bennett
0153daa8ba
Minor typo fix
2024-02-22 13:41:43 -06:00
Ben Meadors
880afb9477
Protos
2024-02-22 07:18:53 -06:00
todd-herbert
78b4a65635
E-Ink: additional conditions for "Dynamic Partial" mode ( #3256 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-21 13:00:56 -06:00
GUVWAF
eb8a12e5a2
Refactor MQTT: only publish on LoRa Tx if packet is from us and on Rx if not ( #3245 )
...
Such that direct message to MQTT node gets published and we get rid of always rebroadcasting when MQTT is enabled
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-21 13:00:14 -06:00
Ben Meadors
9784758c7b
Remove heltec-v1
2024-02-21 10:03:45 -06:00
Ben Meadors
e0c7f7207b
Manual trunk
2024-02-21 07:45:23 -06:00
Mark Trevor Birss
23df6ddf01
[BOARD] Adds Waveshare ESP32-S3-PICO ( #3081 )
...
* Update architecture.h
* Add files via upload
* Add files via upload
* Update EInkDisplay2.cpp
* Update platformio.ini
* Update architecture.h
* Update EInkDisplay2.cpp
* Update platformio.ini
* Update EInkDisplay2.cpp
* Update platformio.ini
* Update EInkDisplay2.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-02-21 07:18:36 -06:00
github-actions[bot]
7a1c565701
[create-pull-request] automated change ( #3255 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-20 19:31:48 -06:00
Gabriele Russo
0bfac7b5f9
Fixes [3074] Heltec Tracker Screen issues + minor fixes ( #3213 )
...
* Fix Heltec Tracker Screen issues
Fix Heltec Tracker Screen issues like wrong offsets, display size and screen not shutting down.
Divides board into two different envs for 1.0 and 1.1 version PCB
* Helteck wireless tracker default version V1_1
* rename heltec tracker 1.1 - trunk fmt
rename varian of heltec tracker 1.1 to "heltec tracker" to be retro-compatible.
Trunk formatting.
* Heltec Tracker increase Screen update to 3Hz
Heltec Tracker increase Screen update to 3Hz from 1Hz
2024-02-20 07:27:48 -06:00
github-actions[bot]
5a3180a525
[create-pull-request] automated change ( #3247 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-19 07:02:36 -06:00
GUVWAF
5672e6825d
feat: implement StoreAndForward lastRequest map handling (2) ( #3246 )
...
* feat: implement StoreAndForward `lastRequest` map handling
* Correct type, check if NodeNum is in map
---------
Co-authored-by: andrekir <andrekir@pm.me >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-18 14:27:44 -06:00
Manuel
143ee9cdf6
remove logging from int handler ( #3242 )
2024-02-17 13:25:57 -06:00
Ben Meadors
998013aff3
Add TAK Tracker role behavior ( #3233 )
...
* Proto
* Standalone TAK Tracker
* Add log
* Make TAK_Tracker behave like Tracker
2024-02-16 20:04:21 -06:00
github-actions[bot]
1bacd8641d
[create-pull-request] automated change ( #3232 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-16 06:39:53 -06:00
Gabriele Russo
7c9d1b0abf
Battery level with proportional filter and lookup table ( #3216 )
...
* Add battery level with lookup table
now uses a lookup table to better calculate battery level of different cells
* LifePo4 and PB battery table - added voltage filter
removed delay from adc reading, added a software filter to smooth out voltage readings. In those applications battery would last hours to days, no sudden change should be expected so a less frequent voltage reading or a more aggressive filtering could be done.
Note: to speed up convergence i initiliazied the last value to the minimum voltage, there are other and better ways to init the filter.
Added LiFePO4 and PB open circuit volta battery tables,
* Fixed ADC_CTRL , Checks for valid ADC readings
line 230/386 For heltec v3 and heltec tracker a different approach was used with the ADC_CTRL pin, now is more uniform using the same code for the 3 boards.
line 236 Check if the raw reading we are getting is Valid or not, count only the valid readings. This could lead to a division by 0 (improbable) so that's why at line 258 there is a check for that.
* updated OCV values
updated value to not OCV but to very low current, almost the same anyway
* Added Alkaline/Nimh voltage curve
Added Alkaline/Nimh voltage curve for AA/AAA and similar cells
* updates variants for new capacity measurement
* trunk reformatting
* trunk fmt
* Add LTO chemistry
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: code8buster <20384924+code8buster@users.noreply.github.com >
2024-02-16 06:09:57 -06:00
Jonathan Bennett
e3c4bc5473
Re-enable GPS on native
2024-02-15 11:46:30 -06:00
Ken McGuire
fdc27fe08b
Enable NMEA Messages on USB port for u-blox receivers ( #3227 )
...
* Portduino multiple logging levels
* Fixes based on GPSFan work
* Fix derped logic
* Correct size field for AID message
* Reformat to add comments, beginning of GPS rework
* Update PM2 message for Neo-6
* Correct ECO mode logic as ECO mode is only for Neo-6
* Cleanup ubx.h add a few more comments
* GPS rework, changes for M8 and stub for M10
* Add VALSET commands for u-blox M10 receivers
* Add VALSET commands for u-blox M10 receivers
tweak M8 commands
add comments for VALSET configuration commands
* Add commands to init M10 receivers,
tweak the M8 init sequence, this is a WIP as there are still some issues during init.
Add M10 version of PMREQ.
* Add wakeup source of uartrx to PMREQ_10
The M10 does not respond to commands when asleep,
may need to do this for the M8 as well
* Enable NMEA messages on USB port.
Normally, it is a good idea to disable messages on unused ports.
Native Linux needs to be able to use GNSS modules connected via
via either serial or USB.
In the future I2C connections may be required, but are not enabled for now.
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-15 11:19:35 -06:00
Ben Meadors
cb4e1840e3
Revert HW_MODEL name
2024-02-14 07:30:01 -06:00
Ben Meadors
007ecd0604
Update protos
2024-02-14 07:23:55 -06:00
GUVWAF
d9bd9bdfb0
StoreForward updates ( #3194 )
...
* StoreForward updates
- Send history in "text" variant
- Don't send history the client already got
- Check if PSRAM is full
- More sensible defaults
* Set `TEXT_BROADCAST` or `TEXT_DIRECT` RequestResponse tag
* feat: E-Ink "Dynamic Partial" (#3193 )
Use a mixture of full refresh, partial refresh, and skipped updates, balancing urgency and display health.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
* [create-pull-request] automated change (#3209 )
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
* Reset `last_index` if history was cleared, e.g. by reboot
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: todd-herbert <herbert.todd@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
Co-authored-by: Garth Vander Houwen <garthvh@yahoo.com >
2024-02-14 07:07:20 -06:00
Ken McGuire
d2a74a5329
Phase 3 of the GPS rework ( #3220 )
...
* Portduino multiple logging levels
* Fixes based on GPSFan work
* Fix derped logic
* Correct size field for AID message
* Reformat to add comments, beginning of GPS rework
* Update PM2 message for Neo-6
* Correct ECO mode logic as ECO mode is only for Neo-6
* Cleanup ubx.h add a few more comments
* GPS rework, changes for M8 and stub for M10
* Add VALSET commands for u-blox M10 receivers
* Add VALSET commands for u-blox M10 receivers
tweak M8 commands
add comments for VALSET configuration commands
* Add commands to init M10 receivers,
tweak the M8 init sequence, this is a WIP as there are still some issues during init.
Add M10 version of PMREQ.
* Add wakeup source of uartrx to PMREQ_10
The M10 does not respond to commands when asleep,
may need to do this for the M8 as well
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-14 07:06:38 -06:00
todd-herbert
0b466fdca9
fix: Wireless Paper (v1.0 & v1.1) not showing battery percentage ( #3208 )
...
* fix: Wireless Paper (v1.0 & v1.1) not showing battery percentage
Addresses https://github.com/meshtastic/firmware/issues/3131
* refactor: count only valid samples
Responds to https://github.com/meshtastic/firmware/pull/3208#discussion_r1485661096
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-13 10:20:48 -06:00
Manuel
30507f5125
refactored ButtonThread, fix IRQ issues ( #3214 )
...
* refactored ButtonThread, fix IRQ issues
* fix copy&paste syntax error
2024-02-12 16:44:21 -06:00
code8buster
c43cbb5795
Merge pull request #3217 from Gabrielerusso/ADC-resolution-fix
...
Fixed ESP32 ADC resolution bug introduced by #3184
2024-02-12 19:59:38 +00:00
Gabrielerusso
124be247c7
Fixed ESP32 ADC resolution bug introduced by #3184
...
Fixed ESP32 ADC resolution bug introduced by #3184 as esp32 analog resolution is already set some line of code before to 12 bit default.
For our usage wouldn't be faster to use 10 bit? .
2024-02-12 20:14:50 +01:00
Ben Meadors
4d18bc0658
V1.1
2024-02-12 07:23:52 -06:00
github-actions[bot]
c8dae33e2f
[create-pull-request] automated change ( #3211 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-11 16:00:05 -06:00
rcarteraz
bac7c708bf
LilyGo T-Echo Bootloader UF2 and ZIP packages ( #3210 )
...
Built the LilyGo T-Echo bootloader from source to obtain the UF2 and zip package for updating the bootloader on the devices with outdated bootloaders. The UF2 will allow drag and drop flashing the update, and the zip package is in case adafruit-nrfutil is needed.
I wasn't sure the best location to put this but since we already have the nrf52 flash erase uf2 here, I figured this might be the best. I will be linking to these files in a docs article detailing the process for using them.
2024-02-11 14:10:08 -06:00
github-actions[bot]
96bd898a38
[create-pull-request] automated change ( #3209 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-11 07:43:07 -06:00
todd-herbert
36cf9b9ef4
feat: E-Ink "Dynamic Partial" ( #3193 )
...
Use a mixture of full refresh, partial refresh, and skipped updates, balancing urgency and display health.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-11 07:27:22 -06:00
Ben Meadors
ce8673b6dc
Added RP2040-LoRA target ( #3195 )
2024-02-10 20:09:51 -06:00
github-actions[bot]
d52cfc294b
[create-pull-request] automated change ( #3204 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-10 20:01:29 -06:00
github-actions[bot]
f11def4246
[create-pull-request] automated change ( #3200 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-10 17:56:04 -06:00
Huston Hedinger
13c8dca6b4
[BOARD]: CanaryOne ( #3150 )
...
* compiling w/o e-ink display
* pinout changes
* progress getting LoRa and LCD working
* fix for bootloader, gps pins
* add canary to build matrix
* merge with main
* fix build by excluding BellModem in RadioLib
* fixes for GPS
* Fix LED_BLUE and GPS RX/TX pins
* Variant changes for merge
* make GPS baud rate configurable
* fix debug config
* Canary v1.2 changes
* Fixes for GPS
* pass trunk check
* bump protobufs to master
* update build flags to use CANARYONE enum
* use canaryone throughout for consistency.
* #define 0 is still defined
* add back .vscode/extensions.json
* bump protobufs
* revert manual change to generated file
---------
Co-authored-by: Steven Osborn <steven@lolsborn.com >
2024-02-10 17:55:32 -06:00
Ben Meadors
404d0dda79
Fix - Add GeoChat To field to payloads and handle compression ( #3199 )
...
* WIP ATAK plugin message handling
* Log
* Update size and regen
* Rework protos and remove compression
* Track
* Altitude
* Protos
* Protos and formatting
* Add to column
* Fixes / updates
* Doh!
* S
* Refactoring and compression fixes
* Fix missing (to) from ATAK geochat
* Trunk
* Explicitly set has_to
* Fmt
* Protobufs
2024-02-10 14:20:04 -06:00
github-actions[bot]
514c19a68e
[create-pull-request] automated change ( #3198 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-10 14:16:46 -06:00
Ben Meadors
1085b54069
ATAK plugin ( #3189 )
...
* WIP ATAK plugin message handling
* Log
* Update size and regen
* Rework protos and remove compression
* Track
* Altitude
* Protos
* Protos and formatting
* Add to column
* Fixes / updates
* Doh!
* S
* Refactoring and compression fixes
2024-02-09 20:31:10 -06:00
GUVWAF
bcbc2f229d
Only cancel packet in Tx queue if it was already sent out via LoRa ( #3191 )
...
To avoid canceling a transmission if it was already ACKed via MQTT
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-09 17:36:16 -06:00
Andrew Yong
74b90d3505
Add Singapore Region ( #3165 )
...
Add 923MHz band for Singapore.
Regulatory reference: https://www.imda.gov.sg/-/media/imda/files/regulation-licensing-and-consultations/ict-standards/telecommunication-standards/radio-comms/imdatssrd.pdf bands 30d.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-09 15:52:08 -06:00
github-actions[bot]
d246c47ae7
[create-pull-request] automated change ( #3192 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-09 15:50:00 -06:00
Manuel
54e52ae05f
Improved button-click accuracy ( #3188 )
...
* IRQ triggers button fsm
* revert change that causes raspbian compile-error
2024-02-09 12:06:56 -06:00
todd-herbert
8130b1cf43
feat: initial support for Heltec Wireless Paper v1.0 ( #3181 )
...
E-ink panel is DEPG0213BNS800. Otherwise, identical to v1.1 (?)
Partial refresh supported, but not implemented in this commit.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-08 19:00:13 -06:00
github-actions[bot]
9d4c4f8bd1
[create-pull-request] automated change ( #3186 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-08 18:57:23 -06:00
Jonathan Bennett
3b0169ba7a
Adafruit display ( #3179 )
...
* Use uint8_t instead of char in icon_bits
* Add Adafruit PiTFT support
2024-02-08 16:29:15 -06:00
github-actions[bot]
996e72a816
[create-pull-request] automated change ( #3185 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-08 16:14:58 -06:00
GUVWAF
a40b4e4d69
MQTT JSON downlink fixes ( #3183 )
...
* Fix getting channel name from MQTT topic
* Allow specifying channel index in JSON field "channel" for downlink
Still requires JSON message to be published to channel named "mqtt"
* Make non-breaking if someone adds another slash
2024-02-08 15:43:24 -06:00
code8buster
f4151a7108
Merge pull request #3184 from meshtastic/rp2040-ADC-hotfix
...
Fix analog adc init resolution for all architectures
2024-02-08 21:36:08 +00:00
Ben Meadors
a3755dfce5
Trunk fmt
2024-02-08 14:56:46 -06:00
code8buster
ca5795d3e7
Fix init resolution for all architectures
2024-02-08 20:46:22 +00:00
Tommy Ekstrand
990ee5dacf
Update link to docs from webserver when file not found ( #3175 )
2024-02-08 14:06:29 -06:00
Ken McGuire
4c55d5d9e4
GPS rework phase 2 updates for M8 and stub for M10 ( #3166 )
...
* Portduino multiple logging levels
* Fixes based on GPSFan work
* Fix derped logic
* Correct size field for AID message
* Reformat to add comments, beginning of GPS rework
* Update PM2 message for Neo-6
* Correct ECO mode logic as ECO mode is only for Neo-6
* Cleanup ubx.h add a few more comments
* GPS rework, changes for M8 and stub for M10
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-05 09:02:30 -06:00
github-actions[bot]
7db02ad722
[create-pull-request] automated change ( #3161 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-01 16:33:40 -06:00
Ben Meadors
7f7c5cbd62
Triple GPS state ( #3157 )
...
* Triple state GPS refactoring
* Skip probe
* Move GPS toggle into the GPSThread
* Consolidate
* make all happy (including me)
* corrected screen texts
* NOT_PRESENT guard in main.cpp
---------
Co-authored-by: mverch67 <manuel.verch@gmx.de >
2024-02-01 15:24:39 -06:00
GUVWAF
0c0a3c4b55
Fix: mark packet sent to MQTT as ACKed only after we sent it out via LoRa ( #3155 )
...
* Fix: mark packet via MQTT as ACKed only after we sent it out via LoRa
* Don't need to check for broadcast, DMs also get implicit ACKs
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-31 14:04:52 -06:00
github-actions[bot]
bf762bc58d
[create-pull-request] automated change ( #3156 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-31 13:47:17 -06:00
Ben Meadors
84e578323e
Update version.properties
2024-01-31 13:46:48 -06:00
Ben Meadors
bdbe42dfd0
Update version.properties
2024-01-31 12:58:04 -06:00
github-actions[bot]
4f64c4f7b9
[create-pull-request] automated change ( #3154 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-30 20:01:00 -06:00
Jonathan Bennett
af5ac32048
Re-order GPS check to eliminate TOO old message ( #3152 )
2024-01-30 17:44:08 -06:00
Ken McGuire
9586c68c65
GPS updates ( #3142 )
...
* Portduino multiple logging levels
* Fixes based on GPSFan work
* Fix derped logic
* Correct size field for AID message
* Reformat to add comments, beginning of GPS rework
* Update PM2 message for Neo-6
* Correct ECO mode logic as ECO mode is only for Neo-6
* Cleanup ubx.h add a few more comments
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-30 17:38:31 -06:00
Artem
ca45888f3e
feat(variants): Add support for TXCO on TLORA_V2_1_6 devices ( #3124 )
...
* feat(variants): Add support for TXCO on TLORA_V2_1_6 devices
* chore: remove long comment
* feat(variants): Add tlora-v2-1-1_6-tcxo to build matrix
* feat(variants): Use RADIOLIB_NC as DIO1 pin for tlora_v2_1_16 with TXCO
* Use generic naming scheme, add variant to build envs
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: code8buster <20384924+code8buster@users.noreply.github.com >
2024-01-30 07:06:47 -06:00
Andre K
1e4ecea6fc
update to Meshtastic_nRF52_factory_erase_v2 ( #3146 )
2024-01-29 20:07:09 -06:00
code8buster
d1ea589757
Allow NRF52 ADC overrides; begin simplifying analog battery logic ( #3134 )
...
* Isolate esp32 adc logic gymnastics, try simplifying getBattVoltage
* Set sense resolution for pico platforms
* try silencing cppcheck when variant has no battery pin
* ADC channel for esp-idf calibration
* Missed an rp2040 device
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-29 06:14:21 -06:00
GUVWAF
af52dcecdf
Restrict MQTT JSON downlink messages ( #3141 )
...
Channel needs to be named "mqtt"
"from" field should be set to the node number of the transmitter
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-29 06:13:56 -06:00
Ben Meadors
0ae4622393
Admin message to delete file ( #3144 )
...
* Protos
* Delete file admin message
2024-01-29 06:10:48 -06:00
Jonathan Bennett
a49740cd56
Adds i2c device configuration to native ( #3143 )
2024-01-28 20:15:29 -06:00
GUVWAF
417feee47f
Fix: return failure when PhoneAPI times out ( #3136 )
...
* Add debug options for RP2040
* Rename: "observed" should be plural: "observables"
* PhoneAPI: return failure on timeout
In `onNotify()`, when disconnected, PhoneAPI removed itself from the list of observers that was looped through in `notifyObservers()`. We should exit that loop in that case.
2024-01-28 07:53:39 -06:00
Jonathan Bennett
d604a76c73
Use correct define for native gos ( #3133 )
2024-01-26 09:06:15 -06:00
Ken McGuire
ac9c5f81b9
Add CircutMess Chatter 2 ( #3125 )
...
* Add Chatter 2 default_envs
* Add Chatter 2 to varients
* Add Chatter 2 specific code to esp32 platform code
* Parameterize TFT_INVERT for Chatter 2 and specify setRotation to 1
* Fix formatting to make Trunk happy
* Remove commented out #define USE_LCC68
* Fix formatting again
* Add chatter2 to the CI matrix
---------
Co-authored-by: code8buster <20384924+code8buster@users.noreply.github.com >
2024-01-26 08:40:16 -06:00
Andre K
d6fa190025
fix: allow MQTT encryption_enabled with json_enabled ( #3126 )
...
* fix: allow MQTT `encryption_enabled` with `json_enabled`
* fix: copy decoded MeshPacket and release memory after use
* fix: use `packetPool` allocCopy and release methods
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-25 08:42:34 -06:00
Manuel
f2c04c5504
fix MQTT crash ( #3127 )
2024-01-24 14:01:50 -06:00
Jonathan Bennett
4ae5443c3b
Don't ever delete own node from DB ( #3122 )
2024-01-22 20:13:27 -06:00
Jonathan Bennett
6b5101ec67
Portduino logging enhancements ( #3121 )
...
* Portduino logging enhancements
* Extra debugging for SPI device
2024-01-22 01:27:06 -06:00
Jonathan Bennett
062c646814
TinyGPS fix for empty terms ( #3120 )
2024-01-21 19:13:54 -06:00
github-actions[bot]
bccc0d47eb
[create-pull-request] automated change ( #3119 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-20 19:11:21 -06:00
GUVWAF
8f6a2836b8
Mark packets received via MQTT and add option to ignore them ( #3117 )
...
* Mark packets received via MQTT and add option to ignore them
* Don't send packets received via MQTT back into MQTT
Generate implicit ACK for packets we as an MQTT gateway sent
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-20 14:22:09 -06:00
github-actions[bot]
4f76239d48
[create-pull-request] automated change ( #3118 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-20 09:40:28 -06:00
rcarteraz
486bf79690
update default ( #3114 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-19 13:41:24 -06:00
Ben Meadors
2efaaea625
Update oled dep to include RP2040 fix ( #3112 )
2024-01-19 13:14:27 -06:00
Manuel
af157d276a
fix T-Watch flip screen ( #3113 )
2024-01-19 13:11:19 -06:00
Ben Meadors
b489ee08c8
Update radiolib
2024-01-19 10:53:00 -06:00
orange
751bdf94aa
Initial Partial Updates on t-echo ( #3090 )
...
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-19 10:28:26 -06:00
Ben Meadors
e2a3b0306f
Default mqtt root to msh/region from unset ( #3111 )
...
* Default mqtt root to msh/region from unset
* Correct segments
2024-01-19 07:40:14 -06:00
github-actions[bot]
a8b7490b6e
[create-pull-request] automated change ( #3106 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-17 18:15:00 -06:00
Andre K
4056d34bed
fix: ipv4_config byte order already little endian ( #3073 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-17 18:14:44 -06:00
GUVWAF
fd8b1687a1
Update channel of node in updateUser and write to flash if needed ( #3094 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-15 20:11:35 -06:00
Jonathan Bennett
8b362dee3a
RadioLib 6.4.0 fixes ( #3098 )
2024-01-15 10:56:17 -06:00
github-actions[bot]
30e3a28014
[create-pull-request] automated change ( #3099 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-15 07:28:20 -06:00
Jonathan Bennett
14736775e2
Update define for RadioLib 6.4.0
2024-01-14 14:51:37 -06:00
Jonathan Bennett
a7019b7206
Update for Radiolib 6.4.0 to fix build
2024-01-14 14:38:57 -06:00
Jonathan Bennett
6284f4ffe6
Update Linux binaries to use arch names ( #3093 )
2024-01-13 19:11:59 -06:00
Jonathan Bennett
e4e9a1559e
Drop the Raspbian and Linux targets ( #3091 )
...
* Drop the Raspbian and Linux targets
* Add lovyanGFX libdep to native
2024-01-13 16:12:26 -06:00
GUVWAF
92110276d7
Use ::printf for Portduino only
2024-01-13 14:54:43 -06:00
GUVWAF
c22340eaf7
Add necessary libs to Dockerfile for native build
2024-01-13 14:54:43 -06:00
KodinLanewave
6f96fbfb74
INA3221 library branch to support negative values ( #3084 )
...
* INA3221 library branch to support negative values
Original INA3221 library does not handle negative values properly due to mishandling of signed bits in sensor reading and processing. I have branched the library, changed the code, and tested with several deployed nodes to confirm functionality.
* Update INA3221 library reference to use version tag
Updated my library repo to reflect a version tag properly per request by meshtastic code reviewer
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-12 10:02:51 -06:00
Jonathan Bennett
4a867c81c0
Portduino work ( #3049 )
...
* Move to Portduino's getMacAddr()
* Add ST7735/S screen support
* Push Raspbian support into native target
* Remove latent pigpio references.
* CardKB defensive programming
* Adds configurable spidev
* Fixes to build on Fedora 40
* ENUMs are not #defines. Pull latest portduino
* Add more configuration options for SPI displays
* Add config.yaml option to set DIO3_TCXO_VOLTAGE
* change tft clear() to fillScreen()
Maintains compatability with ESPI driver.
* Adds TXen and RXen pins to portduino
* Add -c --config options to specify config file
* Fail when a specified config file is unavailable
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-12 02:00:31 -06:00
github-actions[bot]
7e53a96ee5
[create-pull-request] automated change ( #3082 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-11 12:44:46 -06:00
github-actions[bot]
3e21e05a2c
[create-pull-request] automated change ( #3079 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-11 11:52:01 -06:00
Ben Meadors
e9bde80b57
change tft clear() to fillScreen() ( #3077 )
...
Maintains compatability with ESPI driver.
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2024-01-11 10:06:26 -06:00
Mark Trevor Birss
ccb5485510
Add SX1262 to M5Stack CoreInk ( #3078 )
...
* Update platformio.ini
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
2024-01-11 10:06:02 -06:00
Ben Meadors
0d85069bec
Heltec paper ( #3069 )
...
* Attempts at getting the Heltec Wireless Paper eink operational
* Bogus comment
* Fixing Support For Heltec Wireless Paper
---------
Co-authored-by: NfN Orange <orange@reveb.la >
2024-01-09 19:48:21 -06:00
GUVWAF
77ff1704db
Allow button press if CannedMessage updown1 or rotary1 are not enabled ( #3067 )
...
`BUTTON_PIN` may be 0, which is equal to `inputbroker_pin_press` by default
2024-01-09 19:45:54 -06:00
GUVWAF
613a2bfb70
Update exception decoder for other platforms ( #3070 )
2024-01-09 19:45:03 -06:00
Ben Meadors
ea651c2f8f
Remove gps_attempt_time and use broadcast interval instead ( #3064 )
2024-01-07 09:35:19 -06:00
Mictronics
c2afa879b8
Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 ( #3051 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-07 07:40:12 -06:00
Ben Meadors
59253d9c78
Don't reboot after removing node from DB ( #3065 )
2024-01-07 07:37:13 -06:00
github-actions[bot]
be46f9ea24
[create-pull-request] automated change ( #3063 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-06 15:23:40 -06:00
Ben Meadors
674fd32349
RP2040 Enter uf2 DFU mode ( #3062 )
...
* Pico enter dfu mode
* Ungaurd pico
2024-01-06 14:39:27 -06:00
Amin Husni
bacc525d0a
Add Malaysia Region ( #3053 )
...
* Add Malaysia Region
Add frequency for 433MHz and 919MHz with specific power limit and limitation.
* Update RadioInterface.cpp
Formatting issues
2024-01-05 15:37:31 -06:00
github-actions[bot]
aa10a3ec40
[create-pull-request] automated change ( #3055 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-04 18:54:44 -06:00
Jonathan Bennett
e3c768bf10
Update platformio.ini -- set target default to tbeam ( #3054 )
2024-01-04 12:22:45 -06:00
GUVWAF
943367edd0
Fix "watch GPIOs" feature of Remote Hardware module ( #3047 )
...
* Fix watch GPIO feature of Remote Hardware
* Add Remote Hardware messages to JSON output
* Add curly brackets
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-03 15:08:28 -06:00
Jonathan Bennett
4577646f8b
Get rid of max-parallel build for rp2040
2023-12-29 17:49:25 -06:00
Jonathan Bennett
1ae02a9a28
Add dependencies for native build
2023-12-29 16:47:42 -06:00
Jonathan Bennett
28951ea1e0
Add libbluetooth-dev to build image
2023-12-29 12:35:42 -06:00
github-actions[bot]
2e9cc73ebb
[create-pull-request] automated change ( #3046 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-27 18:40:54 -06:00
Ben Meadors
dbac2b1cad
Implemented enter (Uf2 usb) DFU mode admin message on NRF52 ( #3045 )
...
* Added enter DFU mode admin message
* Trunk
2023-12-27 14:26:40 -06:00
github-actions[bot]
2b7eb1e489
[create-pull-request] automated change ( #3044 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-27 12:48:30 -06:00
S5NC
d401040e51
Remove old SX126x and SX128x boosted gain commented-out code ( #2976 )
...
* Update SX126xInterface.cpp
* Update SX128xInterface.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:18:26 -06:00
Wolfgang Nagele
5110de4838
Portduino reboot ( #3033 )
...
* Portduino reboot
* separate blocks
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:16:53 -06:00
GUVWAF
2d35f72d85
SimRadio: send queue status to phone ( #3041 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:16:04 -06:00
Mictronics
d318d34c3c
Fix #3032 ( #3040 )
...
* Fixed bug #3023 in upstream master. Wire.begin doesn't accept two arguments in RP2040 framework.
* Fix typo.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:15:38 -06:00
Wolfgang Nagele
06b4638f6b
Allow override of HWID using environment variable ( #3036 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:14:55 -06:00
GUVWAF
16c18d0da9
Add Traceroute, DetectionSensor and Paxcounter to MQTT JSON ( #3043 )
...
* Add Traceroute, DetectionSensor and Paxcounter to MQTT JSON
* Guard Paxcounter for ESP32 only
2023-12-27 08:14:25 -06:00
Jonathan Bennett
8d37d93e05
Hash function needs uint32_t for some platforms. ( #3038 )
2023-12-26 13:21:09 -06:00
Wolfgang Nagele
7334ee7349
Time Fix ( #3035 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-25 16:40:16 -06:00
Wolfgang Nagele
ba98da55a7
Align glibc with Debian builder ( #3034 )
2023-12-25 09:47:19 -06:00
GUVWAF
db8f8db8e8
Don't disconnect WiFi when we're actively reconnecting ( #3026 )
...
WiFiEvents may happen asynchronously
2023-12-21 14:59:45 -06:00
GUVWAF
d88baea627
Make implicit ACKs work on MQTT ( #3028 )
...
Don't filter out messages we originally sent via LoRa
2023-12-21 14:59:16 -06:00
Mark Trevor Birss
16a3a32f2a
[Add] SX1280 to linux native Portduino ( #3023 )
...
* Update PortduinoGlue.cpp
* Update PortduinoGlue.h
* Update main.cpp
* Update config-dist.yaml
* Update config-dist.yaml
* Fix whitespace in main.cpp
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-12-17 18:05:04 -06:00
Thomas Göttgens
a138e9cb6b
Merge pull request #3020 from meshtastic/paxcounter
...
Include Libpax
2023-12-17 19:20:04 +01:00
Thomas Göttgens
86475a1719
admin getters and setters
2023-12-17 18:30:38 +01:00
Thomas Göttgens
c5a2dc758f
rule of thumb, last minute changes are dumb.
2023-12-17 18:30:38 +01:00
Thomas Göttgens
add78a459b
Include Libpax - WIP
2023-12-17 18:30:38 +01:00
Thomas Göttgens
f1b380882d
Merge pull request #3022 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2023-12-17 18:30:19 +01:00
caveman99
bbe21766be
[create-pull-request] automated change
2023-12-17 17:29:49 +00:00
Thomas Göttgens
dfa537415d
Merge pull request #3021 from meshtastic/nodeinfo-shading
...
local variable and class variable may not be named the same
2023-12-17 17:09:44 +01:00
Thomas Göttgens
24c4ee9bfa
local variable and class variable may not be named the same
2023-12-17 16:28:48 +01:00
Jonathan Bennett
71c0726838
Ignore keyboard input while sending CannedMessages packet
2023-12-16 23:03:41 -06:00
github-actions[bot]
45f90fb39b
[create-pull-request] automated change ( #3018 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-16 19:21:54 -06:00
Ben Meadors
1c6acfd734
Set NRF cpu brownout at 2.4V instead of running down to the limit ( #3016 )
2023-12-16 06:57:01 -06:00
Jonathan Bennett
c6ae66dcaa
Add fallthrough option to avoid a GPS stuck off.
2023-12-14 21:39:41 -06:00
Jonathan Bennett
fc365a1fee
Keep WiFi defines out of platforms without WiFi
2023-12-14 20:16:36 -06:00
Jonathan Bennett
6c1db94ae7
Add raspbian reboot and shutdown behavior
2023-12-14 19:53:42 -06:00
Thomas Göttgens
ded1cbf4dd
Merge pull request #3015 from meshtastic/esp32s2fix
...
ESP32-S2 fix
2023-12-14 18:24:00 +01:00
Ben Meadors
399b9f8f6d
Merge branch 'master' into esp32s2fix
2023-12-14 07:37:59 -06:00
Ben Meadors
4720b2874f
Cpp-check warnings cleanup ( #3014 )
...
* cpp-check warnings cleanup
* Supressions and more fixes
2023-12-14 07:35:46 -06:00
Thomas Göttgens
1af3e0ddaa
ESP32-S2 fix
...
ESP32-S2 does not have bluetooth
2023-12-14 13:40:22 +01:00
Ben Meadors
9f85279e74
Lost and found mode ( #3012 )
...
* Lost and found WIP
* 5 minutes
* ASCII bell character correction
* Memory
2023-12-13 17:43:20 -06:00
Jonathan Bennett
dd96848bec
Change type to fix compilation in new code
2023-12-12 21:35:01 -06:00
Thomas Göttgens
4932e277f1
remove char counter when changing destination
...
shorten destination to make room for char counter, only on small displays.
2023-12-12 21:35:01 -06:00
Thomas Göttgens
dad05d7873
Select Node and channel in Canned Message module.
2023-12-12 21:35:01 -06:00
Thomas Göttgens
4b7fbeca29
only ever emit the up/down action if we have actual messages stored
2023-12-12 21:35:01 -06:00
Jonathan Bennett
2ebaea317a
Refactor display handling add Raspbian TFT display ( #2998 )
...
* Refactor display handling add Raspbian TFT display
* Add missed change
* Add static casts
* Add missed TFT refactor for RAK14014
* Add missed GPIO configuration
* Adds Native keyboard input option
* Get the ifdefs right
* CannedMessage send via queue, not run immediately.
* Fixup systemd service file
* Add display blanking for Raspberry Pi
* Add a couple missed key definitions
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-12 20:27:31 -06:00
Ben Meadors
d14d2c89c3
RTTTL ringtones on T-Deck / T-Watch S3 and potentially more I2S audio enabled devices ( #2917 )
...
* WIP
* ESP8266 SAM fun
* I2S audio / ext. notification module
* Remove
* Protos
* Add use_i2s_as_buzzer from protos
* Fixes
* Stuff
* Thing
* Ext. Notification working(ish)
* Remove SAM commented code
* Trunk upgrade
* Trunk
* Fixes
* Slow not fast... :-|
* T-Deck and T-Watch don't use normal buttons
* Stop ext. notification nagging with touchscreen as well
* Add button gpio back for T-Deck, but guard against long-press during ext. notification
* Ext. notification wrap up
* Better place to guard against long-press false positives
* Adjust default gain and guard against non-i2s devices referencing audio-thread
* Simplify guard logic with a boolean
* Supress uninitMemberVar
* Protos merge got out of wack
* Trunk resolution
* Remove extra crap
* Cleanup and thread-interval
* Default to alert message buzzer and add nag timeout
* Formatting
2023-12-12 08:36:37 -06:00
Thomas Göttgens
35938392f1
Merge pull request #2739 from meshtastic/delivery-report
...
UI/UX: Display delivered message on incoming ACK.
2023-12-11 22:59:19 +01:00
Thomas Göttgens
d952da8b1e
make sure the queue stays in te same order
...
the memory pool can NOT be iterated easily, since it's not a linear object.
2023-12-11 15:44:32 +01:00
Thomas Göttgens
385b29c977
we don't use the static MemoryPool anywhere, ditch dead code.
2023-12-11 15:35:22 +01:00
Thomas Göttgens
dc309f61e8
Look into tophone queue for the received packet.
...
- only works if we don't have a phone connected, but that is probably dsired
- this will send a copy of device-originating text messgaes to a connected phone. Breaking change.
- this will iterate the tophone queue by deconstructing and reconstructing it every time we look for an ID. Probably also mangles the queue oder since it aborts when a ID is found.
- Can we navigate the packet pool instead? If so, how?
- Let's keep this in draft state for now
2023-12-11 15:11:10 +01:00
Thomas Göttgens
512399c8f5
Merge branch 'delivery-report' of https://github.com/meshtastic/firmware into delivery-report
2023-12-11 12:38:22 +01:00
GUVWAF
5d94bb601a
Distinguish between ACK/NAK by checking for error reason
2023-12-11 12:30:33 +01:00
Thomas Göttgens
796592b586
UI/UX: Display delivered message on incoming ACK.
...
Needs more work
2023-12-11 12:30:33 +01:00
Ben Meadors
d552ee3556
Add heltec-ht62 to CI ( #3007 )
2023-12-09 19:12:51 -06:00
Ben Meadors
14b31d4d14
Fix INA sensor dual use between environment telem and device battery reading ( #3002 )
2023-12-08 19:26:37 -06:00
Ken McGuire
4de6eb2e1d
Reduce Serial Traffic on Heltec Wireless Trackers GNSS port ( #3004 )
...
* Fix typo in GNSS_MODEL defination and usages for the UC6580
Correct the $CFGSYS init string for the UC6580 to init the receiver for:
GPS L1 & L5 + BDS B1I & B2a + GLONASS L1 + GALILEO E1 & E5a + SBAS
* Reduce GNSS serial traffic on Helted Wireless Tracker
Turn off GSV and NOTIFY __TXT messages as neither are
necessary to Meshtastic operation.
2023-12-08 14:51:50 -06:00
Ben Meadors
abaa37133d
Repeater and other power optimizations ( #2999 )
...
* End wire if we find no i2c devices
* Set tx-power to 0 on nrf bluetooth shutdown
* Change polling interval of PowerFSM to 100ms instead of 10ms
* Guard 3v3
2023-12-08 11:13:15 -06:00
Jonathan Bennett
5eac227550
Fix whitespace in workflow
2023-12-07 21:29:04 -06:00
Jonathan Bennett
671112f47d
Update pull-request-artifacts config
2023-12-07 21:22:30 -06:00
Jonathan Bennett
8ea19d665a
Update pull-request-artifacts
2023-12-07 20:22:22 -06:00
Ben Meadors
8f57cfaaf4
Makersense rp2040 variant fixes ( #2997 )
...
* WIP
* Do the right things
* Add to build matrix
* Yaml lint has annoyed me for the final time
* Fixes to variant
2023-12-07 17:12:51 -06:00
Ben Meadors
a54e3826e9
Remove truffle-hog tool for now since it's breaking CI
2023-12-07 07:14:41 -06:00
Ben Meadors
9188a9a1f2
Makersense RP2040 support ( #2996 )
...
* WIP
* Do the right things
* Add to build matrix
* Yaml lint has annoyed me for the final time
2023-12-06 21:42:06 -06:00
github-actions[bot]
17f1a450b2
[create-pull-request] automated change ( #2995 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-06 18:14:41 -06:00
GUVWAF
ba021c97b2
Pico W: Handle Wi-Fi reconnects and update core ( #2994 )
...
* Fix time lost on the Pico W right after NTP
Shouldn't check for `#ifdef` as it will always be defined, but might be set to 0
* Handle reconnect for Wi-Fi on RP2040
* Update arduino-core for Wi-Fi + FreeRTOS fixes
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-06 15:49:56 -06:00
Ben Meadors
b4ad6b0f41
Added client-hidden role behavior ( #2992 )
...
* Added client-hidden role behavior
* Trunkt
* That line got all boogered up
2023-12-06 14:04:09 -06:00
Ben Meadors
28502a762f
Added Known-Only rebroadcast mode behavior ( #2993 )
2023-12-06 14:02:41 -06:00
github-actions[bot]
89f0464233
[create-pull-request] automated change ( #2991 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-06 06:17:50 -06:00
GUVWAF
46d02affe8
Pico W: Wi-Fi improvements ( #2989 )
...
* Pico W: Initial WiFi support: connects, but freezes after a while
* Update arduino-pico core to fix hang with Wi-Fi
* Add `picow` to workflow since it's different from `pico` now
* Show Wi-Fi frame on screen for all devices with Wi-Fi
* Pico W: Disable mDNS as it's unsupported with FreeRTOS
* Fix printing IP address
* Fix Raspbian build
2023-12-04 15:45:07 -06:00
Ken McGuire
62329ad11f
Fix typo in GNSS_MODEL defination and usages for the UC6580 ( #2988 )
...
Correct the $CFGSYS init string for the UC6580 to init the receiver for:
GPS L1 & L5 + BDS B1I & B2a + GLONASS L1 + GALILEO E1 & E5a + SBAS
2023-12-04 12:35:26 -06:00
Thomas Göttgens
72b4fe51b1
radiolib is stable
...
just use one definition for all targets
2023-12-04 11:33:32 +01:00
Thomas Göttgens
07fc5df9c1
update trunk and linters to latest version
2023-12-03 13:02:14 +01:00
Thomas Göttgens
1c22d2c885
switch onebutton back to PIO registry, since they finally updated the lib there
2023-12-03 13:00:15 +01:00
github-actions[bot]
1f931a5e55
[create-pull-request] automated change ( #2981 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-02 17:19:29 -06:00
Ben Meadors
31c4693c66
Missed the version bump apparently
2023-12-02 15:50:17 -06:00
GUVWAF
6ff61b3e04
Pico W: Initial Wi-Fi support ( #2980 )
...
* Pico W: Initial WiFi support: connects, but freezes after a while
* Update arduino-pico core to fix hang with Wi-Fi
* Add `picow` to workflow since it's different from `pico` now
2023-12-02 14:47:52 -06:00
S5NC
9e90b4af02
Update variant.h ( #2930 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-02 07:46:25 -06:00
S5NC
2544733ad4
Standardise order for setting GPIO pin default values ( #2942 )
...
* Update SX126xInterface.cpp
* Update GPS.cpp
* Update TFTDisplay.cpp
* Update SX128xInterface.cpp
* Update EInkDisplay2.cpp
* trunk fmt
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2023-12-02 07:40:31 -06:00
Thomas Göttgens
1b6c11c5f1
tryfix crash ( #2964 )
...
* tryfix crash
* only use this when wifi is not enabled. (poking around)
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-02 07:00:20 -06:00
S5NC
4c69d06ac0
Update Power.cpp ( #2979 )
2023-12-02 06:30:00 -06:00
code8buster
85cbde75fe
Merge pull request #2977 from meshtastic/g2-defaults
...
Factory Defaults for Nano G2 Ultra
2023-12-02 00:36:31 +00:00
GUVWAF
5e70fb9851
Distinguish between ACK/NAK by checking for error reason
2023-12-01 18:28:38 +01:00
Thomas Göttgens
6e967421a5
UI/UX: Display delivered message on incoming ACK.
...
Needs more work
2023-12-01 18:28:38 +01:00
Ben Meadors
a05bab35ad
=
2023-12-01 07:17:38 -06:00
Ben Meadors
ac506a581c
Merge branch 'master' into g2-defaults
2023-12-01 07:07:59 -06:00
Ben Meadors
def4ec5822
Always set user (nodeinfo) role to device config's current role ( #2973 )
2023-12-01 07:00:19 -06:00
Ben Meadors
209fb585b0
Default to what G2 comes with
2023-11-30 20:49:00 -06:00
S5NC
fb89482129
Set default LoRa SPI pins individually on ESP32 architecture ( #2971 )
...
* Each pin individually
* Correction
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-30 06:39:46 -06:00
Thomas Göttgens
8e742f2f80
Update portduino.ini
2023-11-30 11:53:47 +01:00
Thomas Göttgens
238cf8cdeb
fix portduino
2023-11-30 11:53:47 +01:00
Thomas Göttgens
5df7f07f95
unpin radiolib
2023-11-30 11:53:47 +01:00
Thomas Göttgens
6fa026a78b
fix radiolib API for 6.3.0 release
2023-11-30 10:59:01 +01:00
Jonathan Bennett
39743832ad
Revert Portduino RadioLib to 6.1.0
2023-11-29 20:19:10 -06:00
Jonathan Bennett
bd2675caf1
Temporarily Pin RadioLib to 6.2.0
2023-11-29 20:19:10 -06:00
Jonathan Bennett
c489c251ab
Pull in Portduino changes for Raspberry Pi support
2023-11-29 20:19:10 -06:00
Jonathan Bennett
14d03a2bda
Initial implementation of I2C
2023-11-29 20:19:10 -06:00
Jonathan Bennett
423b8ad603
Adds real GPS support to Raspberry Pi arch
2023-11-29 20:19:10 -06:00
Jonathan Bennett
ce8342d3e5
Drop Pi HAL
2023-11-29 20:19:10 -06:00
Jonathan Bennett
57227c0f85
Add gpiochip setting
2023-11-29 20:19:10 -06:00
Jonathan Bennett
1ca2923658
Fix missed #if defined() logic
2023-11-29 20:19:10 -06:00
Jonathan Bennett
d10b1e1d00
Add better error reporting for RF95 init failure
2023-11-29 20:19:10 -06:00
Jonathan Bennett
d3e64350d9
Remove RADIOLIB_SPI_PARANOID compile option, as it does nothing
2023-11-29 20:19:10 -06:00
Jonathan Bennett
102efd4954
Move to portduino GPIO, adding user button support
2023-11-29 20:19:10 -06:00
S5NC
18cf8ca4fa
Generalise SPI pin names ( #2970 )
...
* Generalise SPI pin names
* CS not NSS
* trunk fmt
* Update variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-29 15:51:05 -06:00
Ben Meadors
c7f6071f70
Enable IO2 toggling on RAK if the coast is clear ( #2968 )
...
* Enable IO2 toggling on RAK if the coast is clear
* Guard against monteops target which doesn't use 3V3 pin
* Also check for en_gpio = 0 to avoid re-setting the value
2023-11-28 20:40:51 -06:00
Thomas Göttgens
c7e3485dd7
Revert "same change for STM32WL - also update trunk"
...
This reverts commit f9fdb0f98d .
2023-11-26 14:49:11 +01:00
Thomas Göttgens
603e564db3
same change for STM32WL - also update trunk
2023-11-26 14:49:11 +01:00
Thomas Göttgens
ac318a9850
Swapped out crypto engine for one that also works with AES-256
2023-11-26 14:49:11 +01:00
Ben Meadors
1feb74f525
Add number of sats to default position flags ( #2962 )
2023-11-25 19:34:30 -06:00
Thomas Göttgens
d6fc1c314f
WIP: Add battery level for Nimble
2023-11-25 16:03:39 +01:00
Thomas Göttgens
b3852322ef
Add config example for Elecrow Hat
...
NFC
2023-11-24 14:40:20 +01:00
HookdomPonix
cbb8eb65ba
Add USB detection to RAK4631 based boards. ( #2956 )
...
* Add support for the rak10701 board, no touch
* Moved tftblack fillin and changed teh src flags
* Added rak10701 to platformio.ini
* Add USB detection to RAK4631 units.
* Eliminate spurious symbol in comment field.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-22 10:30:55 -06:00
Jonathan Bennett
4712b1ca65
Add manual run option to package_raspbian.yml ( #2954 )
2023-11-22 07:17:48 -06:00
Ric In New Mexico
57542ce9e6
Retain device nodeinfo during reset-nodedb ( #2951 )
...
* INA3221 bugfixes & refinement
Reorganized and refactored some INA3221 code
Added comments
Added missing shunt resistor value (100mΩ)
Added INA3221 Channel 1 to getINAVoltage() for device battery monitoring
modified: src/Power.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/power.h
* reset-nodedb retain device nodeinfo
modified: src/mesh/NodeDB.cpp
* reset-nodedb #2
modified: src/mesh/NodeDB.cpp
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-11-20 06:33:14 -06:00
Jonathan Bennett
1b20a82b55
Update package_raspbian.yml
...
Trunk
2023-11-19 20:28:37 -06:00
Jonathan Bennett
195706e0e5
Update package_raspbian.yml to pull correct code for PR runs
2023-11-19 20:19:43 -06:00
Jonathan Bennett
c1f5878648
Add Raspbian to firmware zip
2023-11-19 17:11:54 -06:00
Jonathan Bennett
7380f3b170
Trunk fmt fix whitespace
2023-11-19 16:53:00 -06:00
Jonathan Bennett
a9d846c1b3
make package_raspbian.yml a reusable workflow
2023-11-19 16:45:06 -06:00
Jonathan Bennett
cfb09ee115
add .deb to release
2023-11-19 16:41:47 -06:00
Jonathan Bennett
8f0ce606db
Update package_raspbian.yml upload .deb as artifact
2023-11-19 16:07:08 -06:00
Jonathan Bennett
d04ff29c2a
Update package_raspbian.yml use ubuntu-latest
2023-11-19 15:56:41 -06:00
Jonathan Bennett
8e92754b59
Update package_raspbian.yml
2023-11-19 15:48:43 -06:00
Jonathan Bennett
dad824c0e9
Update package_raspbian.yml -- add checkout step
2023-11-19 15:16:11 -06:00
Jonathan Bennett
31d7c6826d
Update package_raspbian.yml
...
Properly run build_raspbian as a step
2023-11-19 15:03:46 -06:00
Jonathan Bennett
d33521ee86
Add package-raspbian workflow
2023-11-19 14:53:49 -06:00
Jonathan Bennett
5ad12fed60
Chill out, yamllint
2023-11-19 14:53:49 -06:00
Jonathan Bennett
4af90eeb39
Revamp yaml config for Raspbian
2023-11-19 14:53:49 -06:00
Jonathan Bennett
08297bb0b7
Copy and Paste output file location for workflow
2023-11-18 15:36:41 -06:00
Jonathan Bennett
16ef40b21f
Add even moar workflow debugging
2023-11-18 15:16:36 -06:00
Jonathan Bennett
7ef4abb974
Add debugging output to main workflow
2023-11-18 14:56:40 -06:00
Jonathan Bennett
297267d037
Try harder to find Raspbian binary
2023-11-18 13:26:05 -06:00
Jonathan Bennett
f8e766ebc7
Include Raspbian in release zip
2023-11-18 12:05:51 -06:00
Jonathan Bennett
7bd2b07024
Disable radiolib debug
2023-11-18 12:05:51 -06:00
Jonathan Bennett
b6ddbd0087
More CI work for Raspbian ( #2949 )
...
* More CI work for Raspbian
* Workaround quirks of Arm64/debian runners
2023-11-18 11:04:21 -06:00
Jonathan Bennett
dc8903ec42
Add Raspbian to Main CI ( #2948 )
2023-11-18 08:55:19 -06:00
Ben Meadors
46bd6ca7ba
YAML based config for PI / Portduino ( #2943 )
...
* Add configuration via /etc/meshtastic/config.yaml
* Move example config, support more locations
* Fix config check
* Use access() to check for config file presence
* Throw an error and exit on radio init fail
* Adds error check for reading Bluetooth MAC
* Settle on meshtasticd, add install script
* Shell fixes
* Fine. I'll put it back and then disable you
* Get wrekt, shellchekt
* Firat attempt at adding raspbian CI build
* Tickle the workflow
* Beatings will continue til morale improves
* Permissions are overrated
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-11-18 08:12:34 -06:00
Ric In New Mexico
9d4af1146e
INA3221 bugfixes & refinement ( #2944 )
...
Reorganized and refactored some INA3221 code
Added comments
Added missing shunt resistor value (100mΩ)
Added INA3221 Channel 1 to getINAVoltage() for device battery monitoring
modified: src/Power.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/power.h
2023-11-17 06:46:59 -06:00
Thomas Göttgens
5ce6ca25f2
Merge pull request #2083 from meshtastic/raspi-portduino
...
Start working on RF95 attached to Raspberry Pi
2023-11-16 15:07:02 +01:00
Ben Meadors
f2210d8f8d
Merge branch 'master' into raspi-portduino
2023-11-16 06:57:52 -06:00
Ben Meadors
5d917885df
Added Remove node by nodenum admin message ( #2941 )
...
* Remove node by nodenum
* It were backerds! DERP
2023-11-16 06:57:22 -06:00
Jonathan Bennett
e99ae64ece
Add Pi library only to Raspbian
2023-11-15 21:16:27 -06:00
Jonathan Bennett
61f888e952
Add missed ifdef
2023-11-15 21:01:17 -06:00
Jonathan Bennett
a144d5d6cc
Clean up, fix reboot, minimize changes
2023-11-15 20:33:53 -06:00
Ben Meadors
c3e3569c14
Merge branch 'master' into raspi-portduino
2023-11-15 19:39:19 -06:00
Jonathan Bennett
b1b5bafdda
Add PiHal and get Waveshare SX1262 XXXM working
2023-11-15 17:04:41 -06:00
Ben Meadors
91e399a2b6
Added detection sensor en pin to fix issues with RAK microwave ( #2940 )
2023-11-15 09:26:47 -06:00
HookdomPonix
8b16367597
Add support for the rak10701 board, no touch ( #2933 )
...
* Add support for the rak10701 board, no touch
* Moved tftblack fillin and changed teh src flags
* Added rak10701 to platformio.ini
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-13 06:20:49 -06:00
S5NC
0b9accc3b6
Remove redundant checks for power of 0 ( #2934 )
...
* Add comment explaining necessity for second 0 check
Thank you @GUVWAF
* Update RF95Interface.cpp
* Update STM32WLE5JCInterface.cpp
* Update SX126xInterface.cpp
* Update SX128xInterface.cpp
* remove whitespace...
* Update SX128xInterface.cpp
2023-11-13 06:19:02 -06:00
GUVWAF
590b0bbff4
Merge pull request #2935 from S5NC/add-missing-has-sensor
...
Add missing defaulting for HAS_SENSOR to configuration.h
2023-11-10 09:57:44 +01:00
S5NC
19be230b24
Update configuration.h
2023-11-08 21:58:33 +00:00
Jonathan Bennett
8df16ad6a6
Add ctime include to fix native compile
2023-11-08 14:36:12 -06:00
Ben Meadors
2d62f00ac3
Merge branch 'master' into raspi-portduino
2023-11-08 09:54:18 -06:00
pdxlocations
9f93b9ab9d
fix sizeof error
2023-11-08 12:40:51 +01:00
pdxlocations
fc3200134d
party time
2023-11-08 12:40:51 +01:00
Ben Meadors
470264b7f9
Merge branch 'master' into raspi-portduino
2023-11-07 05:58:42 -06:00
Ben Lipsey
600541ac25
Fix Documentation Links in Comments ( #2929 )
...
* update external notification
* ContentHandler
2023-11-06 22:03:44 +00:00
github-actions[bot]
298b383127
[create-pull-request] automated change ( #2927 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-11-05 06:50:02 -06:00
Ric In New Mexico
f57020412e
INA3221 / Power Telemetry Payload Variant Implementation ( #2916 )
...
* INA3221 / Power Telemetry Variant Implementation
modified: platformio.ini
modified: src/configuration.h
modified: src/detect/ScanI2C.h
modified: src/detect/ScanI2CTwoWire.cpp
modified: src/main.cpp
modified: src/modules/Modules.cpp
new file: src/modules/Telemetry/PowerTelemetry.cpp
new file: src/modules/Telemetry/PowerTelemetry.h
new file: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
new file: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/mqtt/MQTT.cpp
* ifdef for portduino / linux native
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #2
modified: src/modules/Modules.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
deleted: variants/xiao_ble/1.0.0/libraries/SPI/SPI.cpp
* try #3
modified: src/modules/Modules.cpp
* try #4
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #5 ?
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #6
modified: src/modules/Telemetry/PowerTelemetry.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-04 20:07:00 -05:00
Ben Meadors
4a6cc8fd8c
Extend packet history expire time to 10 minutes ( #2921 )
2023-11-03 15:43:26 -05:00
Tyler Jang
45c5e0e730
cleanup disables ( #2924 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-03 06:50:30 -05:00
github-actions[bot]
527bffb7e0
[create-pull-request] automated change ( #2926 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-11-03 06:36:24 -05:00
GUVWAF
4c35a7fb7d
Handle AmbientLighting Module config ( #2923 )
2023-11-03 07:36:36 +00:00
GUVWAF
0f9936a0e0
Change default Coding Rate to 4/5 for <=LongFast ( #2920 )
...
Increases througput at the cost of a little bit of sensitivity
Non-breaking as the CR is sent in the LoRa header
2023-11-02 09:21:07 -05:00
Thomas Göttgens
40395bef01
Merge branch 'master' into raspi-portduino
2023-10-31 14:09:38 +01:00
GUVWAF
8b8fffda81
Drop packets if toPhoneQueue is full, unless it's text/RangeTest ( #2918 )
2023-10-30 06:12:22 -05:00
Ric In New Mexico
4052194dfe
Fix for is_licensed save / reboot ( #2911 )
...
* Fix is_licensed save / reboot
* Revert "Fix is_licensed save / reboot"
This reverts commit 634151b8ec .
* Changed reloadConfig to saveChanges /w reboot
2023-10-26 06:25:06 -05:00
Ben Meadors
b36ffe5200
Trunk fmt fix
2023-10-24 18:52:46 -05:00
S5NC
a60b4d08bf
Hydra variant rectification ( #2903 )
...
* Update variant.h
* Update variant.h
* Update platformio.ini
2023-10-24 18:47:36 -05:00
github-actions[bot]
227467f638
[create-pull-request] automated change ( #2897 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-20 09:52:56 -05:00
Tavis
092e6f2424
add rssi and snr to json output ( #2894 )
...
* add rssi and snr to json output
* explicitly cast to int and float
2023-10-17 06:50:36 -05:00
Andre K
e6b20bff77
refactor: simplify MQTT defaults ( #2893 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-15 18:56:47 -05:00
Andre K
2c625f6ba1
fix: channel routing for decoded MQTT packets ( #2892 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-15 06:41:40 -05:00
Manuel
142d56c663
allow sensors connected to second I2C port ( #2891 )
2023-10-14 19:33:45 -05:00
Ben Meadors
f4b40562d3
Start of TAK role ( #2890 )
...
* Start of TAK role
* Position flags change for CoT friendly altitudes
* Trunk
2023-10-14 06:49:38 -05:00
github-actions[bot]
9e203532d0
[create-pull-request] automated change ( #2889 )
2023-10-13 20:02:59 -05:00
code8buster
8bd7b5e779
Merge pull request #2887 from yupyvovarov/fix-hwids-address
...
Fix typo in tbeam-s3-core hwids address
2023-10-13 10:24:49 +00:00
Yurii Pyvovarov
1af970765f
Fix typo in tbeam-s3-core hwids address
2023-10-13 11:31:10 +03:00
Ben Meadors
def55ec063
Remove specific upload ports from pio
2023-10-11 10:21:58 -05:00
Ben Meadors
092c6cac66
Convert from inline to static class methods ( #2883 )
2023-10-11 06:17:05 -05:00
Ben Meadors
e39f129bd6
More comprehensively clear current position info ( #2881 )
2023-10-10 19:33:58 -05:00
S5NC
9d1fe8c245
Update architecture.h ( #2880 )
2023-10-10 15:35:07 -05:00
Aciid
786248a6b1
Dragino TrackerD wip ( #2324 )
...
* Dragino TrackerD initial variant
* fmt
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-10 06:20:46 -05:00
github-actions[bot]
d1ac2dc6ea
[create-pull-request] automated change ( #2879 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-09 20:43:42 -05:00
Ben Meadors
87396d9105
Refactor away some code duplication in screen frames and display formatter for modem presets ( #2872 )
...
* Refactor away some duplication
* Refactor preset names to display formatter method
* Remove unused screen brightness adjustment and extract wifi disconnect reason name to display formatter method
* Tronk
* Let's be more clear with this naming
* Effed
* DisplayFormatters static class and use native wifi disconnect reason names method
* git mv file so casing should match now
* Include titlecase
* Trunk
2023-10-09 20:43:16 -05:00
Ben Meadors
b388f8edcd
Merge branch 'master' into raspi-portduino
2023-10-09 19:45:08 -05:00
Ben Meadors
10265aabd5
Fix buggy phone positions ( #2876 )
...
* Guard-clause channel util. to reduce nesting
* Try-fix PhoneAPI position not updating
* Trunk
* Missed it
* Really disable GPS when asked to
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-10-09 18:33:04 -05:00
Jonathan Bennett
8780d93941
Remove missed GPS definition ( #2878 )
2023-10-09 13:30:51 -05:00
Sacha Weatherstone
54f0c045e4
Update README.md
2023-10-09 22:30:02 +10:00
github-actions[bot]
3ddad671a5
[create-pull-request] automated change ( #2875 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-08 08:12:42 -05:00
pat-trunk-io
dc6f0b8e0b
mention trunk is beta on windows ( #2871 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-06 15:31:04 -05:00
pat-trunk-io
33f28c3d56
Add trunk githooks to the repo ( #2870 )
2023-10-06 15:02:27 -05:00
github-actions[bot]
ef1d8c8eee
[create-pull-request] automated change ( #2869 )
2023-10-05 17:51:23 -05:00
Ben Meadors
950d5f0946
Power saving sensor ( #2865 )
...
* Trunk
* Again
* This thing just keeps updating itself
* Ignore tools
* Sleepy sensor
* Batrunkadunk
2023-10-05 12:42:03 -05:00
Thomas Göttgens
fc06754e1f
Possibly fix #2704 "Heltec Wireless Tracker screen doesn't display anything" ( #2749 )
...
* fix #2704
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-10-04 22:24:25 -05:00
github-actions[bot]
fbf74fc0b2
[create-pull-request] automated change ( #2863 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-04 10:23:55 -05:00
code8buster
7cebd79475
Use doNotEnterOff flag to prevent GNSS poweroff before fix acquisition ( #2861 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-03 19:50:27 -05:00
Jonathan Bennett
aa38f53aed
Fix for T-Beam 1.2 GPS ( #2858 )
...
* Fix for T-Beam 1.2 GPS, with DEBUG enabled
* Don't break other devices
* Saving GPS data on this breaks on next boot. Fix.
* derp
* disable the extra verbosity
* Try the same sort of factory reset as the Lilygo image
* Catch GPS reboots and squash
* trunk
* GPS
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-03 12:05:40 -05:00
Ben Meadors
2a6c8be684
Avoid problematic sleep state transitions for power saving sensors and trackers ( #2860 )
...
* Avoid problematic sleep state transitions for power saving sensors and trackers
* Line got duped :-|
2023-10-03 10:09:27 -05:00
GUVWAF
37c3d15978
Check if packet is decrypted before using portnum when converting to JSON ( #2857 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-03 06:39:35 -05:00
Manuel
f301e236eb
fix crash during shutdown ( #2859 )
...
* fix null pointer access
* ptr initialize
2023-10-03 06:37:46 -05:00
Manuel
94c2ade272
make esp32 deepsleep button wakeup functional again ( #2854 )
...
* make deepsleep button wakeup functional again
* Remove unused var
* Cleanup comment
* suppress screen wake on button
* add resume screen
* trunk fmt
* added missing #ifdef
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-02 16:16:29 -05:00
Ben Meadors
a6e4402e41
Screen on secs router default ( #2855 )
2023-10-02 06:28:05 -05:00
Jonathan Bennett
50db2d0e9b
Add timeout to ublox PMREQ command ( #2851 )
2023-10-01 20:39:18 -05:00
Ben Meadors
5ecdbd0dbb
Removed non-functional deep sleep button awake functionality (user can RST instead) ( #2852 )
...
* Fixed mask length
* Don't want_response if we're a tracker or sensor
* Fixes
* Removing non-functioning deep sleep button awake
2023-10-01 12:48:12 -05:00
Jonathan Bennett
47c6738c0d
Fix GPS init bug -- power up even when disabled ( #2850 )
2023-09-30 23:38:51 -05:00
Ben Meadors
1552aa0081
Tracker role wakeup and sleep cycle when power.is_power_saving true ( #2846 )
...
* WIP
* Sleepy sleepy low power tracker
* Sleepy tracker clear
* NRF52 PoC
* Simplify NRF52 "sleep"
* Trackers aren't polite
* Remove unnecessary include
* Removed accidental commit
* Fixed not-so-sleepy T-Beam due to button gpio mask precendence
* Added sleepOnNextExecution for allowing fulfillment of pending messages before shutting down
* Cleanup
* Don't wantResponse for trackers
* Heltec wireless tracker doesn't like the button interrupt (maybe all s3 because user button press doubles as bootloader mode trigger?)
2023-09-30 21:09:17 -05:00
github-actions[bot]
6ebec8fcd9
[create-pull-request] automated change ( #2849 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-30 20:40:04 -05:00
Manuel
e9215a5d70
revert KB_POWERON changes ( #2847 )
2023-09-30 06:43:36 -05:00
Thomas Göttgens
5075849ec0
Add missing endif
2023-09-28 10:50:26 +02:00
Thomas Göttgens
7f16b6b342
Merge branch 'master' into raspi-portduino
2023-09-28 09:29:45 +02:00
S5NC
4e3576ae48
Simplify SX126x variant configuration ( #2813 )
...
* Update SX126xInterface.cpp
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update SX126xInterface.cpp
* Update SX126xInterface.cpp
* Update variant.h
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update pins_arduino.h
* Update pins_arduino.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
Specify behavior
* Update variant.h
Maintain behavior
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-27 16:01:40 -05:00
Tavis
98290e5d7b
Re issue: #2496 Populate the position log entries from PositionModule with data fields ( #2839 )
...
* Populate the position log entries with data fields
includes datafields with no data as 0
* trunk check formatted.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-27 16:00:56 -05:00
Ben Meadors
ad529924f1
Code duplication cleanup for smart position logic ( #2840 )
2023-09-27 10:32:35 -05:00
github-actions[bot]
07d51a2ca4
[create-pull-request] automated change ( #2837 )
2023-09-26 14:54:35 -05:00
github-actions[bot]
47301a5ac0
[create-pull-request] automated change ( #2836 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-26 11:11:54 -05:00
Ben Meadors
0d023ea215
Revert "Fix compression ( #2806 ) ( #2819 )" ( #2835 )
...
This reverts commit cdac643749 .
2023-09-26 07:02:06 -05:00
Ben Meadors
b5e952db24
No more goober traffic on public mqtt ( #2831 )
...
* No more goober traffic on public mqtt
* Oops
2023-09-26 06:19:17 -05:00
GUVWAF
a1c433748a
RP2040: Add SerialModule support ( #2830 )
...
* Support for SerialModule on RP2040
* Remove one !defined too many
* Increase serial RX_BUFFER: more reliable for long packets
Even results into an error for ESP32
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-26 05:45:34 -05:00
Jonathan Bennett
04b2ab82dc
Add GPS pin definitions missed in revamp ( #2834 )
2023-09-26 05:44:08 -05:00
github-actions[bot]
e96ba7cbcf
[create-pull-request] automated change ( #2827 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-25 06:31:22 -05:00
Andre K
61f6fb22c5
move STATE_SEND_METADATA to beginning of wantConfig ( #2820 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-24 07:22:54 -05:00
github-actions[bot]
db7b77c76e
[create-pull-request] automated change ( #2823 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-24 07:01:46 -05:00
Andre K
350090ec0d
remove residual code for mesh_sds_timeout_secs ( #2821 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-24 06:49:35 -05:00
GUVWAF
cdac643749
Fix compression ( #2806 ) ( #2819 )
...
* Fix compression: encode to bytes after `decoded` is modified
* Change payload size to decompressed length
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-24 06:49:21 -05:00
Jonathan Bennett
1a2c7f00e1
Gps cleanup and powersave ( #2807 )
...
* Refactor GPS to not probe if pins not defined
* Use Named Constructor to clean up code
* Move doGPSPowerSave to GPS class
* Make sure to set GPS awake on triple-click
* Cleanup and remove dead code
* Rename GPS_PIN_WAKE to GPS_PIN_STANDBY
* Actually put GPS to sleep between fixes
* add GPS_POWER_TOGGLE for heltec-tracker and t-deck
* Change GPS_THREAD_INTERVAL to 200 ms
* More dead code, compiler warnings, and add returns
* Add Number of sats to log output
* Add pgs enable and triple-click config
* Track average GPS fix time to judge low-power time
* Feed PositionModule on GPS fix
* Don't turn off the 3v3_s line on RAK4631
when the rotary is present.
* Add GPS power standbyOnly option
* Delay setting time currentQuality
to avoid strange log message.
* Typos, comments, and remove unused variable
* Short-circuit the setAwake logic on GPS disable
* heltec-tracker 0.3 GPS power saving
* set en_gpio to defined state
* Fix fixed_position logic with GPS disabled
* Don't process GPS serial when not isAwake
* Add quirk for Heltec Tracker GPS powersave
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: mverch67 <manuel.verch@gmx.de >
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com >
2023-09-23 23:45:35 -05:00
Jonathan Bennett
7eff5e7bcb
Fix for Pi Pico hang ( #2817 )
...
* Fix for Pi Pico hang
* Pi Pico fix part 2: Electric Boogaloo
2023-09-20 19:34:45 -05:00
Jonathan Bennett
17207681ef
Remove GPS pins from devices lacking built-in GPS ( #2812 )
2023-09-19 10:55:14 -05:00
Thomas Göttgens
94f7c7e472
Merge pull request #2814 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2023-09-19 12:46:26 +02:00
caveman99
0a12d67d19
[create-pull-request] automated change
2023-09-19 10:45:28 +00:00
Thomas Göttgens
3175a3d630
Merge pull request #2811 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2023-09-19 10:48:41 +02:00
thebentern
4e9bf75340
[create-pull-request] automated change
2023-09-18 19:49:42 +00:00
Thomas Göttgens
762166495f
Merge branch 'master' into raspi-portduino
2023-08-17 10:06:34 +02:00
Ben Meadors
00ea6ef5ad
Merge branch 'master' into raspi-portduino
2023-08-12 09:40:26 -05:00
Thomas Göttgens
b5b66f43f2
Merge branch 'master' into raspi-portduino
2023-08-09 11:19:23 +02:00
Thomas Göttgens
1e71d346ae
Merge branch 'master' into raspi-portduino
2023-08-03 21:36:43 +02:00
Ben Meadors
919b2d1e48
Merge branch 'master' into raspi-portduino
2023-07-31 19:00:00 -05:00
Thomas Göttgens
171cca435e
Merge branch 'master' into raspi-portduino
2023-07-24 11:00:58 +02:00
Thomas Göttgens
e878f55ed3
Merge branch 'master' into raspi-portduino
2023-06-27 18:13:24 +02:00
Thomas Göttgens
d74cbdaa8b
update platform def
2023-05-23 21:55:12 +02:00
Ben Meadors
3a5b79e4c1
Merge branch 'master' into raspi-portduino
2023-05-23 07:51:32 -05:00
Ben Meadors
9bee35118f
Merge branch 'master' into raspi-portduino
2023-05-18 06:47:56 -05:00
Thomas Göttgens
80f029aa32
Merge branch 'master' into raspi-portduino
2023-05-10 17:13:32 +02:00
Thomas Göttgens
b75aa79da5
Merge branch 'master' into raspi-portduino
2023-05-08 10:32:36 +02:00
Thomas Göttgens
49febc0d9d
Merge branch 'master' into raspi-portduino
2023-04-24 14:58:20 +02:00
Thomas Göttgens
85818b8dfd
Merge branch 'master' into raspi-portduino
2023-04-21 16:50:48 +02:00
Thomas Göttgens
7d299b06a7
Merge branch 'master' into raspi-portduino
2023-04-04 15:00:31 +02:00
Thomas Göttgens
14080d4667
Merge branch 'master' into raspi-portduino
2023-04-02 21:24:49 +02:00
Thomas Göttgens
8a806efb95
Merge branch 'master' into raspi-portduino
2023-03-27 15:30:05 +02:00
Thomas Göttgens
ef2d0cb830
Merge branch 'master' into raspi-portduino
2023-03-21 09:31:49 +01:00
Ben Meadors
5e779bfb33
Merge branch 'master' into raspi-portduino
2023-03-16 14:43:23 -05:00
Thomas Göttgens
498964e04e
Merge branch 'master' into raspi-portduino
2023-03-04 17:24:37 +01:00
Thomas Göttgens
7d0bea267a
Merge branch 'master' into raspi-portduino
2023-02-22 10:08:20 +01:00
Thomas Göttgens
ed1aa9ddb0
Merge branch 'master' into raspi-portduino
2023-02-17 12:34:00 +01:00
Thomas Göttgens
97a0b164be
Merge branch 'master' into raspi-portduino
2023-02-10 00:21:47 +01:00
Ben Meadors
82706a961f
Merge branch 'master' into raspi-portduino
2023-02-08 07:40:36 -06:00
Thomas Göttgens
06a1b079da
even more cleanup-ing and revert-ing
2023-02-02 11:47:47 +01:00
Thomas Göttgens
56afed84df
revert some more
2023-02-02 11:35:30 +01:00
Thomas Göttgens
945fd7a05c
revert readprops change
2023-02-02 11:32:00 +01:00
Thomas Göttgens
e9a55fc296
revert them trunk shite
2023-02-02 11:29:55 +01:00
Thomas Göttgens
472c43aace
Merge remote-tracking branch 'remotes/origin/master' into raspi-portduino
2023-02-02 10:49:45 +01:00
Thomas Göttgens
8b5937892b
Merge pull request #2100 from meshtastic/develop
...
Update Raspi branch
2023-01-04 21:11:47 +01:00
Thomas Göttgens
8c20fe5ec4
Start working on RF95 attached to Raspberry Pi
2022-12-30 21:44:51 +01:00