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
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
github-actions[bot]
e8970ad66b
[create-pull-request] automated change ( #2810 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-09-18 13:26:09 -05:00
code8buster
f737ee59ec
Deny maxhops to anyone who sets >7 ( #2808 )
...
* Deny maxhops to anyone who sets >7
* Use reliable hop count instead of 3
2023-09-18 12:58:09 -05:00
Ric In New Mexico
6d211815d9
Temp fix for S3 bluetooth ( #2809 )
...
Need to roll back espressif to v6.3.2
2023-09-18 14:26:19 +02:00
Manuel
1bae926576
fix: nodenum 4 ( #2798 )
...
* tryfix: nodenum 4
* trunk fmt
* rename vars and fix brackets
* purge invalid db entries
* trunk fmt
2023-09-18 06:16:37 -05:00
Thomas Göttgens
a1514b8b64
Enable (new) ADC and GPS capability. ( #2792 )
...
* Enable (new) ADC and GPS capability.
* Make Picomputer a canon device and define ADC for new board revision
2023-09-18 11:38:33 +02:00
Jonathan Bennett
8b82ae6fe3
refactor and avoid needless probe ( #2799 )
...
* Use UINT32_MAX to indicate no configured GPS
* Refactor GPS to not probe if pins not defined
* Minor cleanups related to rework
* Use Named Constructor to clean up code
* Actually disable the GPS thread
* Don't actually disable the GPS thread
* Move doGPSPowerSave to GPS class
* Make sure to set GPS awake on triple-click
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-09-16 23:10:10 -05:00
Ric In New Mexico
822c150e0d
Fixing typo in src/mesh/mesh-pb-constants.cpp logging ( #2800 )
...
* Update variant.h
Add second i2c channel on external connector for Station G1
* Create trunk-check.yml
* Fix typo in logging
Corrected typo in pb_msgdesc logging for packets failing to be decoded.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-09-16 15:24:59 -05:00
github-actions[bot]
0731902744
[create-pull-request] automated change ( #2791 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-09-12 18:00:29 -05:00
github-actions[bot]
b53cb38a09
[create-pull-request] automated change ( #2790 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-09-12 16:50:52 -05:00
Jonathan Bennett
b02dd0e964
Move partial GPS initialization earlier in boot ( #2788 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-09-12 16:46:46 -05:00
Ben Meadors
c608f0ba81
Fix time=0 bug for fixed_position nodes ( #2789 )
2023-09-12 15:54:50 -05:00
Jonathan Bennett
e1839e33f2
Lazy probe of GPS ( #2781 )
...
* First attempt at lazy config of GPS
* More GPS rework
Break GPS init into smaller, interruptable steps
Move more GPS commands into ubx.h
Combine Setup functions
* Move the rest of UBX messages to ubs.h
2023-09-10 22:21:14 -05:00