Ben Meadors and GitHub
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
Ben Meadors and GitHub
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 and GitHub
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 and GitHub
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
Ben Meadors and GitHub
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 and GitHub
a58348369d
Update protos and add new fields to type conversions ( #3315 )
2024-03-02 10:20:27 -06:00
Ben Meadors and GitHub
d20fa6e927
Comment out ReplyModule registration, but leave it in as example ( #3312 )
2024-03-02 07:21:53 -06:00
Ben Meadors and GitHub
bf88773b6b
Don't send anybody to null island ever ( #3308 )
2024-02-28 13:44:15 -06:00
Ben Meadors
2786db499d
Missing include
2024-02-28 08:01:59 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
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
Ben Meadors
880afb9477
Protos
2024-02-22 07:18:53 -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
Ben Meadors and GitHub
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
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
Ben Meadors
4d18bc0658
V1.1
2024-02-12 07:23:52 -06:00
Ben Meadors and GitHub
ce8673b6dc
Added RP2040-LoRA target ( #3195 )
2024-02-10 20:09:51 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
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
Ben Meadors
a3755dfce5
Trunk fmt
2024-02-08 14:56:46 -06:00
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
Ben Meadors and GitHub
84e578323e
Update version.properties
2024-01-31 13:46:48 -06:00
Ben Meadors and GitHub
bdbe42dfd0
Update version.properties
2024-01-31 12:58:04 -06:00
Ben Meadors and GitHub
0ae4622393
Admin message to delete file ( #3144 )
...
* Protos
* Delete file admin message
2024-01-29 06:10:48 -06:00
Ben Meadors and GitHub
2efaaea625
Update oled dep to include RP2040 fix ( #3112 )
2024-01-19 13:14:27 -06:00
Ben Meadors
b489ee08c8
Update radiolib
2024-01-19 10:53:00 -06:00
Ben Meadors and GitHub
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
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
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
Ben Meadors and GitHub
ea651c2f8f
Remove gps_attempt_time and use broadcast interval instead ( #3064 )
2024-01-07 09:35:19 -06:00
Ben Meadors and GitHub
59253d9c78
Don't reboot after removing node from DB ( #3065 )
2024-01-07 07:37:13 -06:00
Ben Meadors and GitHub
674fd32349
RP2040 Enter uf2 DFU mode ( #3062 )
...
* Pico enter dfu mode
* Ungaurd pico
2024-01-06 14:39:27 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
1c6acfd734
Set NRF cpu brownout at 2.4V instead of running down to the limit ( #3016 )
2023-12-16 06:57:01 -06:00
Ben Meadors and GitHub
399b9f8f6d
Merge branch 'master' into esp32s2fix
2023-12-14 07:37:59 -06:00
Ben Meadors and GitHub
4720b2874f
Cpp-check warnings cleanup ( #3014 )
...
* cpp-check warnings cleanup
* Supressions and more fixes
2023-12-14 07:35:46 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
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
Ben Meadors and GitHub
d552ee3556
Add heltec-ht62 to CI ( #3007 )
2023-12-09 19:12:51 -06:00
Ben Meadors and GitHub
14b31d4d14
Fix INA sensor dual use between environment telem and device battery reading ( #3002 )
2023-12-08 19:26:37 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
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 and GitHub
a54e3826e9
Remove truffle-hog tool for now since it's breaking CI
2023-12-07 07:14:41 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
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 and GitHub
28502a762f
Added Known-Only rebroadcast mode behavior ( #2993 )
2023-12-06 14:02:41 -06:00
Ben Meadors and GitHub
31c4693c66
Missed the version bump apparently
2023-12-02 15:50:17 -06:00
Ben Meadors
a05bab35ad
=
2023-12-01 07:17:38 -06:00
Ben Meadors and GitHub
ac506a581c
Merge branch 'master' into g2-defaults
2023-12-01 07:07:59 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
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
Ben Meadors and GitHub
1feb74f525
Add number of sats to default position flags ( #2962 )
2023-11-25 19:34:30 -06:00
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
Ben Meadors and GitHub
f2210d8f8d
Merge branch 'master' into raspi-portduino
2023-11-16 06:57:52 -06:00
Ben Meadors and GitHub
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
Ben Meadors and GitHub
c3e3569c14
Merge branch 'master' into raspi-portduino
2023-11-15 19:39:19 -06:00
Ben Meadors and GitHub
91e399a2b6
Added detection sensor en pin to fix issues with RAK microwave ( #2940 )
2023-11-15 09:26:47 -06:00
Ben Meadors and GitHub
2d62f00ac3
Merge branch 'master' into raspi-portduino
2023-11-08 09:54:18 -06:00
Ben Meadors and GitHub
470264b7f9
Merge branch 'master' into raspi-portduino
2023-11-07 05:58:42 -06:00
Ben Meadors and GitHub
4a6cc8fd8c
Extend packet history expire time to 10 minutes ( #2921 )
2023-11-03 15:43:26 -05:00
Ben Meadors
b36ffe5200
Trunk fmt fix
2023-10-24 18:52:46 -05:00
Ben Meadors and GitHub
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
Ben Meadors
def55ec063
Remove specific upload ports from pio
2023-10-11 10:21:58 -05:00
Ben Meadors and GitHub
092c6cac66
Convert from inline to static class methods ( #2883 )
2023-10-11 06:17:05 -05:00
Ben Meadors and GitHub
e39f129bd6
More comprehensively clear current position info ( #2881 )
2023-10-10 19:33:58 -05:00
Ben Meadors and GitHub
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 GitHub
b388f8edcd
Merge branch 'master' into raspi-portduino
2023-10-09 19:45:08 -05:00
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 and GitHub
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 and GitHub
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 and GitHub
a6e4402e41
Screen on secs router default ( #2855 )
2023-10-02 06:28:05 -05:00
Ben Meadors and GitHub
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 and GitHub
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 and GitHub
ad529924f1
Code duplication cleanup for smart position logic ( #2840 )
2023-09-27 10:32:35 -05:00
Ben Meadors and GitHub
0d023ea215
Revert "Fix compression ( #2806 ) ( #2819 )" ( #2835 )
...
This reverts commit cdac643749 .
2023-09-26 07:02:06 -05:00
Ben Meadors and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
fb23e479ac
Update ESP32 platform ( #2770 )
2023-09-04 20:20:20 -05:00
Ben Meadors and GitHub
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 and GitHub
5bd861f3d8
Merge branch 'master' into nmea-rate
2023-09-01 15:08:32 -05:00
Ben Meadors and GitHub
ecd48db69c
Merge branch 'master' into BBQ10Kb-Fix
2023-08-24 19:57:49 -05:00
Ben Meadors and GitHub
03dc36ea12
Use fixed position regardless of gps lock ( #2744 )
2023-08-24 10:55:49 -05:00
Ben Meadors and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
00ea6ef5ad
Merge branch 'master' into raspi-portduino
2023-08-12 09:40:26 -05:00