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]
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
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
caveman99
0a12d67d19
[create-pull-request] automated change
2023-09-19 10:45:28 +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
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
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]
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
Manuel
d6d51bc3f4
T-Deck/T-Watch: enhancements/fixes ( #2786 )
...
* T-Deck: enhancements/fixes
* trunk fmt
* T-Watch board update
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-09-10 06:54:25 -05:00
github-actions[bot]
e256520336
[create-pull-request] automated change ( #2782 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-09-08 14:34:58 -05:00
Ben Meadors
fcf798df98
Experiment with moving gps init ( #2780 )
...
* Move it move it
* Moving to the end of the main setup method
* NimBLE version
2023-09-07 16:01:35 -05:00
Ben Meadors
dcdf9b64de
Ambient lighting ( #2779 )
...
* This was already defined and throwing a ton of warnings
* Ambient lighting module feature
* Use local instance type
2023-09-07 12:24:47 -05:00
Jonathan Bennett
fd563e41f1
Add ubx-cfg-rxm and cfg-pm2 for ublock 6 powersave ( #2777 )
2023-09-07 12:24:21 -05:00
Jonathan Bennett
0fa3685161
Fix crash in GPS setup when GPS is disabled
2023-09-06 12:38:58 -05:00
GUVWAF
9af4ecf48f
Remove unnecessary line when disabled
2023-09-05 21:42:39 +02:00
GUVWAF
cfb6a1394c
Only update neighbors when module is enabled
2023-09-05 19:56:42 +02:00
code8buster
c91e306659
Move packet scratch declaration to header
2023-09-05 11:59:34 -04:00
code8buster
4ff343b20f
no byte... just 8 unsigned bits please
2023-09-05 00:32:53 -04:00
code8buster
134fc75b67
UBX-RXM-PMREQ soft-off implemented
2023-09-05 00:26:42 -04:00
github-actions[bot]
3bcab0e223
[create-pull-request] automated change ( #2768 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-09-04 18:38:58 -05:00
GUVWAF
17617ce031
Fix possible memory leak in NeighborInfo Module ( #2765 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-09-04 18:38:16 -05:00
Jonathan Bennett
97f0c734e0
Fix Neighborinfo crash
...
neighbors object wasn't initialized when module disabled, this
initializes it to a safe, empty object.
2023-09-04 18:15:27 -05:00
Jonathan Bennett
e943fffe8c
GPS fixes
...
Work aroung Serial reset issue on ESP32
Don't send unsupported command to G60xx GPS
2023-09-04 15:00:05 -05:00
Ben Meadors
ad40493a39
Add speed, heading, and DOP to default position flags ( #2759 )
...
* Add speed and heading
* Add DOP
2023-09-04 06:46:27 -05:00
Jonathan Bennett
ac62330e1c
Found lost byte dropped from moduleinfo
...
Attempt to fix CFG-GNSS for neo-6m
2023-09-03 22:38:03 -05:00
Jonathan Bennett
7ad94da1c6
Add more to GPS_DEBUG and fix ubx7 CFG-GNSS
2023-09-03 16:20:01 -05:00
Jonathan Bennett
ecdb75aae0
Correct UBX-CFG-PMS message
2023-09-03 02:16:29 -05:00
Jonathan Bennett
7c98445ca3
Cleanup in prep for commiting
...
Fix some compilation warnings
gate debug code behind GPS_DEBUG
minor fix in u-blox protocol detection
Begin to gate GPS messages based on protover
2023-09-03 01:50:11 -05:00
Jonathan Bennett
b21368ecfa
Add delay and debug code for GPS probe
2023-09-02 20:35:38 -05:00
Jonathan Bennett
1a178c7d33
Add check for GPS Frame Errors message
2023-09-02 04:29:48 -05:00
Jonathan Bennett
5d6f0ea6c4
Fix possible edge case in GPS detection
2023-09-01 16:24:28 -05:00
Ben Meadors
5bd861f3d8
Merge branch 'master' into nmea-rate
2023-09-01 15:08:32 -05:00
GUVWAF
6d93fab495
Add neighbor IDs to MQTT JSON ( #2756 )
...
* Add neighbor IDs to JSON
* Limit #neighbors to what we can actually save
* Put neighbor IDs in an array
* Add SNR to neighbors in nested objects
2023-09-01 14:35:57 -05:00
Jonathan Bennett
6803fd7949
More fixes for GPS chips with unexpected baud
2023-09-01 12:11:39 -05:00
Jonathan Bennett
a61f969773
Increase GPS detection timeout slightly
2023-08-31 22:19:50 -05:00
Jonathan Bennett
79cfc4b725
Avoid Serial output mangling with RTOS.
2023-08-31 20:40:01 -05:00
Jonathan Bennett
cf762bbd42
Cut down delay times for GPS probe and init
2023-08-31 20:39:23 -05:00
code8buster
3d2c419d0d
Remove leftover debug msg
2023-08-30 16:24:56 -04:00
Jonathan Bennett
903f619609
Add GPS serial speed scan
2023-08-28 19:01:14 -05:00
Jonathan Bennett
2e3f762d3d
Catch a nullptr return rather than crash
2023-08-28 04:05:45 -05:00
Jonathan Bennett
a42266f74b
GPS: Fix checksum and remove spurious returns
2023-08-28 04:05:45 -05:00
Thomas Göttgens
4ab67f3668
IGOR! Fetch me the brain!
2023-08-25 16:44:39 +02:00
Thomas Göttgens
312028b161
Possble fix ESC
2023-08-25 09:27:09 +02:00
Ben Meadors
ecd48db69c
Merge branch 'master' into BBQ10Kb-Fix
2023-08-24 19:57:49 -05:00
Ben Meadors
03dc36ea12
Use fixed position regardless of gps lock ( #2744 )
2023-08-24 10:55:49 -05:00
Mark Trevor Birss
c2ae38405e
Update architecture.h ( #2746 )
2023-08-24 07:58:24 -05:00
Thomas Göttgens
2a1d8c40b4
add TAB and ESC handling
2023-08-24 14:24:26 +02:00
Thomas Göttgens
3355019de3
Merge branch 'master' into BBQ10Kb-Fix
2023-08-23 09:45:06 +02:00
Thomas Göttgens
5bb207d88b
reset sym after second keypress
...
also remove debug print and non-working scancodes.
2023-08-23 09:44:20 +02:00
github-actions[bot]
5453e4d123
[create-pull-request] automated change ( #2742 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-08-22 17:11:22 -05:00
Thomas Göttgens
7f1b58a222
trunk fmt
2023-08-22 21:23:37 +02:00
Thomas Göttgens
d6b629ae04
update SYM Scancode
2023-08-22 21:19:51 +02:00
Thomas Göttgens
7b1aeb60cd
Try manual scancode for SYM
2023-08-22 21:19:51 +02:00
Thomas Göttgens
5c7c1cd253
silence compiler warnings
2023-08-22 21:19:51 +02:00
Thomas Göttgens
5f3a8b4924
fix crash and Debug logging in NeighbourInfo
2023-08-22 15:43:21 +02:00
Thomas Göttgens
ecceb10910
different debug print
2023-08-19 21:28:02 +02:00
Thomas Göttgens
6fc76103a0
temporarily Enable debug print
2023-08-19 20:55:50 +02:00
Ben Meadors
f35c7be917
Just putting back DELAYED_INTERVAL for reliability. Ran into problems
2023-08-19 09:45:48 -05:00
Ben Meadors
364364263b
Remove range_test goalie from drawing frames
2023-08-19 09:44:40 -05:00
Manuel
ef957bfac5
support BB Q10 keyboard ( #2703 )
...
* support BB Q10 keyboard
* remove debug code
* fix wrong logic
* fix left/right keys for cardkb
* Try to enable Q10 kb after all
* cppcheck
* Only fire on Key release and assume 0x0a is a enter as well
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2023-08-19 08:37:42 -05:00
Ben Meadors
5d78795065
Portnum promiscuity for text messages from other modules ( #2732 )
...
* Add interested portnums to TextMessageModule
* Send Detection Sensor Module messages on its own portnum
* Add to Ext. Notification and consolidate logic
* RANGE_TEST_APP portnum for RangeTestModule
2023-08-19 07:46:34 -05:00
github-actions[bot]
2dbdda204f
[create-pull-request] automated change ( #2731 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-08-18 10:17:55 -05:00
Jonathan Bennett
4767bd5497
Rename utils.h to avoid collision with library. ( #2730 )
2023-08-17 20:22:34 -05:00
Thomas Göttgens
762166495f
Merge branch 'master' into raspi-portduino
2023-08-17 10:06:34 +02:00
Ben Meadors
929b8f6209
Fix thread to use getConfiguredOrDefaultMs ( #2727 )
...
* WIP
* Updates
* Move it out of the macro guard so portduino can build
* Changes from feedback
* Use minimum_broadcast_secs as interval if we just broadcasted to avoid wasting cpu cycles
* Fmt
* Merge conflict resolution boogered me up
* Missed a spot
* getConfiguredOrDefaultMs
* Get the minimum interval
2023-08-16 15:08:06 -05:00
Thomas Göttgens
5d76771fab
Permanently Enable Canned Messages on T-Deck and Picomputer ( #2728 )
...
* - Permanently Enable Canned Messages on T-Deck and Picomputer
- picomputer has a really dark TFT; switch color to white for better UX.
* well, you know... bullock...
2023-08-16 15:07:22 -05:00
Thomas Göttgens
91eb64d7b7
Fix warning about init order ( #2725 )
2023-08-15 20:17:15 -05:00
Ben Meadors
03fe4c629a
Dection Sensor module duty cycle interval optimization ( #2723 )
...
* WIP
* Updates
* Move it out of the macro guard so portduino can build
* Changes from feedback
* Use minimum_broadcast_secs as interval if we just broadcasted to avoid wasting cpu cycles
* Fmt
* Merge conflict resolution boogered me up
* Missed a spot
2023-08-15 12:23:07 -05:00
Ben Meadors
144dfe9805
Initial Detection sensor module feature ( #2722 )
...
* WIP
* Updates
* Doh!
* Move it out of the macro guard so portduino can build
* Changes from feedback
2023-08-14 19:00:51 -05:00
code8buster
fcfd83bc89
Remove auto GPS shutoff for fixed position nodes ( #2720 )
2023-08-13 15:56:49 -05:00
Manuel
fb5f2e48a5
fix T-Deck trackball crashes ( #2714 )
...
* try-fix: nodenum crash during boot
* Revert "try-fix: nodenum crash during boot"
This reverts commit 632012e197
.
* fix/workaround: trackball interrupt crashes
* trunk fmt
* add OSThread to trackballInterrupt
2023-08-12 19:44:05 -05:00
Jonathan Bennett
d29c975e3c
Comment out extra-chatty debug message ( #2715 )
2023-08-12 13:51:31 -05:00
Ben Meadors
00ea6ef5ad
Merge branch 'master' into raspi-portduino
2023-08-12 09:40:26 -05:00
Jonathan Bennett
c44986127e
More GPS work ( #2711 )
...
Increase GPS buffer on esp32
Check for and flush GPS buffer when overfilled and corrupted.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-08-12 09:29:44 -05:00
Ben Meadors
6e0b6684ee
Extend node max to 100 and remove mesh_sds_timeout_secs ( #2713 )
...
* Extend node max to 100 and remove mesh_sds_timeout_secs
* Const pointers for you and you and you
* Fixes and supressions
* Missed it
* uint
* Resize
* Derp
2023-08-12 09:29:19 -05:00
Manuel
84ddfea491
try-fix: max nodes crash during boot ( #2712 )
...
* try-fix: nodenum crash during boot
* Revert "try-fix: nodenum crash during boot"
This reverts commit 632012e197
.
* try-fix: max nodes crash during boot
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-08-12 09:28:58 -05:00
mverch67
ede31a2080
fix repeater crash
2023-08-11 19:41:21 +02:00
Jonathan Bennett
9470d4694b
Pickier parsing of NMEA to detect an L76K chip ( #2699 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-08-10 11:21:35 -05:00
Thomas Göttgens
b5b66f43f2
Merge branch 'master' into raspi-portduino
2023-08-09 11:19:23 +02:00
mverch67
dd69de9f32
trunk fmt
2023-08-08 20:21:20 +02:00
mverch67
616553ed72
doing the math :)
2023-08-08 20:14:12 +02:00
mverch67
1986267d65
check payload size
2023-08-08 20:02:29 +02:00
Manuel
9a7777dbdb
Merge branch 'master' into t-watch-fixes
2023-08-08 18:21:57 +02:00
mverch67
0fe99b0caa
T-Watch fixes
2023-08-08 18:06:39 +02:00