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
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 and Jonathan Bennett
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
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
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
Ben Meadors
a6e4402e41
Screen on secs router default ( #2855 )
2023-10-02 06:28:05 -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
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
Ben Meadors
ad529924f1
Code duplication cleanup for smart position logic ( #2840 )
2023-09-27 10:32:35 -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
Ben Meadors
c608f0ba81
Fix time=0 bug for fixed_position nodes ( #2789 )
2023-09-12 15:54:50 -05:00
Ben Meadors
8255128eae
Trunk finally spilled the beans about what it's upset about
2023-09-09 19:40:57 -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
Ben Meadors
fb23e479ac
Update ESP32 platform ( #2770 )
2023-09-04 20:20:20 -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
Ben Meadors
5bd861f3d8
Merge branch 'master' into nmea-rate
2023-09-01 15:08:32 -05: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
Ben Meadors
e2441c425a
Merge branch 'master' into BBQ10Kb-Fix
2023-08-24 07:06:42 -05: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
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
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
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
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
Ben Meadors
3d6fb13f9a
Stop failing on low severity styling issues
2023-08-12 06:43:13 -05:00
Ben Meadors
f9798b7dda
Bump to 2.2
2023-08-08 08:05:43 -05:00
Ben Meadors
23fb377fd7
Don't cancel sending "seen" messages on MQTT enabled nodes ( #2690 )
2023-08-08 06:27:26 -05:00
Ben Meadors
dc31024764
Merge remote-tracking branch 'origin/master' into 2.2-working-changes
2023-08-07 13:24:10 -05:00
Ben Meadors
5bbcb40f7a
Updated protos
2023-08-07 13:23:21 -05:00
Ben Meadors
04bbdc6b8a
Platform / dep updates ( #2684 )
...
* Update nordic platform
* Update sensor libs
2023-08-06 10:06:08 -05:00
Ben Meadors
cfe5c7f31d
Tweaking Power FSM states ( #2676 )
...
* Tweaking Power FSM states
* Turn bluetooth back on after serial disconnected
* Remove references to deprecated mesh_sds_timeout_secs
2023-08-04 06:01:01 -05:00
Ben Meadors
f1bcc300d9
Merge branch 'master' into 2.2-working-changes
2023-08-02 12:58:32 -05:00
Ben Meadors
11be856507
Merge branch 'master' into 2.2-working-changes
2023-08-01 21:00:58 -05:00
Ben Meadors
191a69dd26
Don't create potential NodeInfo storm on telemetry reponse from Repeater ( #2673 )
...
* Don't create potential NodeInfo storm on telemetry reponse from Repeaters
* Check decoded
2023-08-01 18:24:40 -05:00
Ben Meadors
9eeec6c083
Reply to Repeater in DeviceTelemetry module ( #2661 )
2023-08-01 16:18:10 -05:00
Ben Meadors
c4474a7b99
Merge branch 'master' into picomputer-s3
2023-07-31 18:59:50 -05:00
Ben Meadors
0821cff1c8
Merge remote-tracking branch 'origin/master' into 2.2-working-changes
2023-07-31 18:54:53 -05:00
Ben Meadors
90ec8eae6c
Backmerge master protos
2023-07-31 18:28:27 -05:00
Ben Meadors
8a49221b7f
Update version.properties
2023-07-30 20:17:57 -05:00
Ben Meadors
76dc805184
Add Nano-g2-ultra
2023-07-30 14:07:17 -05:00
Ben Meadors
97d7a89644
Update protobufs
2023-07-30 07:58:11 -05:00
Ben Meadors
04cba45c60
Merge branch 'master' into 2.2-working-changes
2023-07-30 07:54:11 -05:00
Ben Meadors
5aedd84c7d
Merge branch 'master' into 2.2-working-changes
2023-07-29 08:15:17 -05:00
Ben Meadors
3d697f8cf4
Enable SX126X RX Boosted gain by default ( #2663 )
2023-07-28 10:39:40 -05:00
Ben Meadors
38c9a1ea07
neighborInfo->node_broadcast_interval_secs
2023-07-28 10:36:44 -05:00
Ben Meadors
0eefd0912f
Move node_broadcast_interval_secs
2023-07-28 10:28:14 -05:00
Ben Meadors
0cda8e6087
Start plumbing node_broadcast_interval_secs
2023-07-28 06:58:28 -05:00
Ben Meadors
2cf648928a
Add node_broadcast_interval_secs to Neighbor
2023-07-28 06:43:21 -05:00
Ben Meadors
702a83b525
Bumb device state version
2023-07-27 16:03:57 -05:00
Ben Meadors
74650ca276
Words are important
2023-07-27 13:23:18 -05:00
Ben Meadors
0141bbe772
Regen
2023-07-27 12:59:06 -05:00
Ben Meadors
049c587ca2
Add phoneapi plumbing. Need to regen protos on my other machine
2023-07-27 12:51:31 -05:00
Ben Meadors
1a28225cd5
Merge branch 'master' into 2.2-working-changes
2023-07-27 08:55:48 -05:00
Ben Meadors
6bd870c454
I guess we have to use SHAs (lame)
2023-07-27 07:59:39 -05:00
Ben Meadors
c782380373
Fix semgrep errors
2023-07-27 07:04:00 -05:00
Ben Meadors
4fd756acd8
Merge branch 'master' into 2.2-working-changes
2023-07-27 06:42:02 -05:00
Ben Meadors
0b509c7e79
Remove concurrency groups for now. They seem to cause CI hangs
2023-07-27 06:41:39 -05:00
Ben Meadors
f35b422365
Trunk
2023-07-25 20:54:01 -05:00
Ben Meadors
08f1ac785a
Gut NodeDb and remove deprecated protos
2023-07-25 19:13:19 -05:00
Ben Meadors
146ed067a1
Merge branch 'master' into neighborinfo
2023-07-25 16:14:50 -05:00
Ben Meadors
bdcf17a3f7
Add T-Deck to S3 ota logical branch ( #2644 )
...
* Add T-Deck to S3 ota logical branch
* Revert "Add T-Deck to S3 ota logical branch"
This reverts commit d0aef9dc26d6caadadf5769d8a3535f322ad5eed.
* Add targets
* Get the bat file too
2023-07-25 16:13:32 -05:00
Ben Meadors
96c6a20e03
Ensure that MQTT is enabled and log initialization ( #2643 )
2023-07-24 12:33:01 -05:00
Ben Meadors
3fbe2d771c
Hopefully this cancels previous CI runs for a branch ( #2642 )
2023-07-24 09:47:16 -05:00
Ben Meadors
2e7c95a110
Merge branch 'master' into neighborinfo
2023-07-24 07:24:34 -05:00
Ben Meadors
490abdac96
Whoops
2023-07-24 07:22:04 -05:00
Ben Meadors
b17436a023
Patch gather-artifacts
2023-07-24 06:54:05 -05:00
Ben Meadors
470363d294
Update Hydra to use new TXEN->DIO2 macro ( #2636 )
2023-07-22 18:59:33 -05:00
Ben Meadors
0739bc0cea
T-Watch S3 Support ( #2632 )
...
* T-Watch WIP
* Updates
* Temp
* Update screen spi bus and and backlight en
* Peripherals progress
* Fixes
* Fixes
* Updates
* DRV scaffolding
* Fixed touch-screen driver selection. WIP on DRV haptic feedback
* DRV2605 pmu channel
* Trunk
* Fixes and defaults
* Dropped an s
* Move PMU and turn off screen that way
* Add t-deck and t-watch-s3 to CI and cleanup
* More cleanup
2023-07-22 09:26:54 -05:00
Ben Meadors
3a24882e76
Merge branch 'master' into neighborinfo
2023-07-22 08:46:27 -05:00
Ben Meadors
eb7025f1b1
Add Hydra specific target to define GPS EN pin and limit tx power ( #2608 )
...
* Use DIO2 bridged to TXEN and remove TX/RXEN pin switching altogether
* Add Hydra specific target to limit tx power and define GPS EN
* Whoops
2023-07-18 07:09:55 -05:00
Ben Meadors
41b07de5a2
Merge branch 'master' into neighborinfo
2023-07-17 09:21:08 -05:00
Ben Meadors
e4e26a819b
Check if hasSensor an run if not initialized ( #2613 )
2023-07-16 15:23:31 -05:00
Ben Meadors
6d97d5dfa2
Bump PR artifacts github action
2023-07-16 15:18:42 -05:00
Ben Meadors and Mark Trevor Birss
4ace59fc18
Partial Heltec Wireless Paper and Wireless Tracker support ( #2594 )
...
* WIP
* Comment
* WIP
* TFT_CTRL
* Update platformio.ini
update to current latest version available
* Update EInkDisplay2.cpp
Is the e-ink Display a DEPG0213BN ?
* Logging
* trunk fmt
---------
Co-authored-by: Mark Trevor Birss <markbirss@gmail.com >
2023-07-14 16:12:30 -05:00
Ben Meadors
d3e7e45ded
Append alpha to release name
2023-07-09 06:17:17 -05:00
Ben Meadors
de53280ffc
PIN_GPS_EN power toggling ( #2592 )
...
* PIN_GPS_EN
* Remove extra digitalWrite
* GPS_POWER_TOGGLE macro enabled. Added WSLv3 too
* Update variant.h
* Update variant.h
* Fixed macro guard
2023-07-08 21:01:00 -05:00
Ben Meadors
65aafe7ea1
Update protos
2023-07-08 20:46:34 -05:00
Ben Meadors
6e96216ba3
MQTT client proxying ( #2587 )
...
* WIP on MQTT proxy message queue
* Fix copy paste goof
* Progress on uplink
* Has packets
* Avoid trying to connect if we're proxying
* Pointer correctly
* Remove wifi guards
* Client proxy subscribe
* Fixed method that got bababababorked somehow... personally I blame CoPilot
* Short circuit logic
* Remove canned settings
* Missed some stuff in the move
* Guard pubsub client for non-networked variants
* Has networking guard
* else
* Return statement for fall-thru
* More gaurd removals
* Removed source filters. No wonder I was confused
* Bounding
* Scope guard around else and fix return
* Portduino
* Defs instead
* Move macro up to actually fix portduino
* Size_t
* Unsigned int
* Thread interval
* Protos
* Protobufs ref
2023-07-08 20:37:04 -05:00
Ben Meadors
97606cd382
New platform updates ( #2593 )
2023-07-07 18:58:49 -05:00
Ben Meadors
849599cd8e
Merge branch 'master' into picomputer-s3
2023-06-27 15:40:13 -05:00
Ben Meadors
eb0a96a79e
Default ext. notification output for RAK to LED #2 ( #2570 )
...
* Default ext. notification output for RAK to LED #2
* Enabled by default
* Update
* Wrong macro
* Output and nag
2023-06-27 12:21:06 -05:00
Ben Meadors
9e2b86b92c
Bump RadioLib to 6.1.0 ( #2577 )
...
* Bump RadioLib to 6.1.0
* RP2040
* More excludes
* Jan added a lot of stuff apparently
* Stay back a version on portduino for now
* It wasn't this. I need to remove the docker build from ci
2023-06-27 07:08:32 -05:00
Ben Meadors
d0cf70c8b3
Remove docker steps from PR build process
2023-06-27 06:59:28 -05:00
Ben Meadors
bbfd62c47e
Merge branch 'master' into neighborinfo
2023-06-21 21:11:06 -05:00
Ben Meadors
e677a02273
Map built-in LED on RAK-11310 ( #2568 )
2023-06-21 12:11:42 -05:00
Ben Meadors
a07e30544d
Merge branch 'master' into neighborinfo
2023-06-19 06:16:42 -05:00
Ben Meadors
a2c5b92840
NodeDB Lite migration ( #2554 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
* WIP conversion
* Lots of type conversions between Lite versions and new NodeDB methods
* Trunk
* Conversion
* NULL
* Init
* Rename
* Position
* Reworked conversion to NodeInfo for PhoneAPI
2023-06-17 09:10:09 -05:00
Ben Meadors
9716bd8bec
Merge branch 'master' into neighborinfo
2023-06-13 05:44:48 -05:00
Ben Meadors
c2168dd450
Merge branch 'master' into neighborinfo
2023-06-09 19:51:22 -05:00
Ben Meadors
f71869215d
Set pin for RAK-12039 to allow I2C auto-detect ( #2555 )
...
* SET pin for RAK-12039 and put back macaddr for now
* Guard against epaper RAK variant
* Update main.cpp
* Add these back
2023-06-09 05:58:58 -05:00
Ben Meadors
81f80546b4
Remove deprecated MyNodeInfo fields ( #2552 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
2023-06-08 08:07:32 -05:00
Ben Meadors
44a54278b3
Skadoosh ( #2549 )
2023-06-07 12:59:01 -05:00
Ben Meadors
5c438ae792
Merge branch 'master' into neighborinfo
2023-06-06 19:29:59 -05:00
Ben Meadors
b42ead4400
Merge branch 'master' into neighborinfo
2023-06-02 06:46:45 -05:00