Ben Meadors
0ae4622393
Admin message to delete file ( #3144 )
...
* Protos
* Delete file admin message
2024-01-29 06:10:48 -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
Ben Meadors
59253d9c78
Don't reboot after removing node from DB ( #3065 )
2024-01-07 07:37:13 -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
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
Thomas Göttgens
86475a1719
admin getters and setters
2023-12-17 18:30:38 +01:00
Thomas Göttgens
1af3e0ddaa
ESP32-S2 fix
...
ESP32-S2 does not have bluetooth
2023-12-14 13:40:22 +01: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
GUVWAF
4c35a7fb7d
Handle AmbientLighting Module config ( #2923 )
2023-11-03 07:36:36 +00: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
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
74650ca276
Words are important
2023-07-27 13:23:18 -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
41b07de5a2
Merge branch 'master' into neighborinfo
2023-07-17 09:21:08 -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
GUVWAF
e60a5f1cf2
Setter for NeighborInfo
2023-06-25 15:41:19 +02:00
Thomas Göttgens
e5b049d2e2
trunk
2023-05-24 02:48:48 +02:00
Thomas Göttgens
52df85c338
tryfix cppcheck errors
...
also ignore temporary files
2023-05-24 02:44:30 +02:00
Ben Meadors
4f0922ec2b
Concat remote hardware pins ( #2508 )
2023-05-23 16:18:14 -05:00
Ben Meadors
1b68408f2f
Remote hardware overhaul ( #2495 )
...
* Update protos
* WIP
* Param
* Has remote hardware
* Protos
* Initializer
* Added new admin message for node remote hardware pins
* Badunkatrunk
* Init and memcpy
2023-05-22 07:00:20 -05:00
Ben Meadors
7ef12c77a8
Add initial screen for receiving waypoints ( #2452 )
2023-05-01 16:10:27 -05:00
Ben Meadors
fddc49273e
Reboot seconds bump
2023-03-09 16:08:18 -06:00
Ben Meadors
3ae1fdf661
Add metadata to phone api want config messages
2023-02-16 10:21:03 -06:00
Ben Meadors
7100416142
Add short_name
2023-02-09 19:32:32 -06:00
Ben Meadors
aaba99f792
Add changed back
2023-02-09 10:48:17 -06:00
Ben Meadors
4375a0101e
Remove setOwner's business logic for licensed operation
2023-02-09 08:58:28 -06:00
Ben Meadors
b1677e0312
Rebroadcast mode to local_only for hams
2023-02-09 07:51:41 -06:00
Ben Meadors
b24376b1fc
Well it helps if I commit the thing
2023-02-08 20:21:33 -06:00
Ben Meadors
1c3970efab
Default node info broadcast secs for ham operation
2023-02-08 15:36:23 -06:00
Ben Meadors
79850c6d03
Set open psk for ham mode
2023-02-08 15:29:33 -06:00
Ben Meadors
405430fd96
Whoops
2023-02-04 15:15:32 -06:00
Ben Meadors
b70af5cc78
Set ham mode admin message
2023-02-04 15:11:36 -06:00
Ben Meadors
6a2583e872
Trunk you mothertrunker
2023-02-03 14:10:19 -06:00
Ben Meadors
3a3451129a
Init gooder?
2023-02-03 13:59:54 -06:00
Ben Meadors
81d2486cf4
Init defaults
2023-02-03 13:17:39 -06:00
Ben Meadors
9d420f403a
Try this
2023-02-03 13:05:25 -06:00
Ben Meadors
c82d1de9ce
Check
2023-02-03 12:43:16 -06:00
Ben Meadors
9a950afd2a
Trunk fmt
2023-02-03 11:30:36 -06:00
Ben Meadors
ab77772e0c
Bugger
2023-02-03 11:11:09 -06:00
Ben Meadors
ac90c27ae8
Macros
2023-02-03 11:03:12 -06:00
Ben Meadors
d6de042783
Assume portduino is always connected
2023-02-03 11:00:05 -06:00
Ben Meadors
2b15d951cf
Trunk
2023-02-03 10:50:03 -06:00
Ben Meadors
0414ca2dc0
Fixed it
2023-02-03 10:49:44 -06:00
Ben Meadors
1fa2ca6a14
Trunk it
2023-02-03 09:50:49 -06:00
Ben Meadors
51521462c4
Eh
2023-02-03 09:18:53 -06:00
Ben Meadors
4aaf162700
Getting tired of looking at code
2023-02-03 09:17:28 -06:00
Ben Meadors
5794a9ae06
Bad copy pasta
2023-02-03 09:04:22 -06:00
Ben Meadors
835e6ab85e
Missed RSSI
2023-02-03 08:52:32 -06:00
Ben Meadors
d9031610ab
Connection status admin message
2023-02-03 08:50:10 -06:00
Ben Meadors
a8dd497575
Contain it
2023-02-02 14:40:18 -06:00
Ben Meadors
971ecd117c
Whoooosh before my battery dies
2023-02-02 14:11:48 -06:00
Ben Meadors
e8e04d23d7
WIP
2023-02-02 14:05:58 -06:00
Ben Meadors
171c1df3fa
Role based defaults
2023-01-28 14:32:57 -06:00
Thomas Göttgens
6f30a84afc
dayum!
2023-01-21 21:23:24 +01:00
Thomas Göttgens
6fdb93cd16
re-add namespacing in protobufs. Let's see what i missed. Portduino likely ...
...
Checking in generated on purpose.
2023-01-21 21:23:24 +01:00
Ben Meadors
9cda2e9058
Add role and position flags to metadata
2023-01-18 15:15:02 -06:00
Thomas Göttgens
2b9f01f0e4
fix cppcheck
2023-01-16 11:08:48 +01:00
Thomas Göttgens
aca1241a7f
Having a first stab at flawfinder errors
2023-01-16 10:55:40 +01:00
Ben Meadors
f1cdfd163d
Replaced all of the logging with proper log levels
2022-12-30 10:27:07 -06:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Thomas Göttgens
45e6e86ff9
- add RemoteHardware (and the missing S&F config) in
...
- make the config boundaries automatic
2022-12-29 21:35:32 +01:00
Thomas Göttgens
2ac2b6d1b6
replace PB03 compat macros with the real deal.
2022-12-23 10:00:34 +01:00
Thomas Göttgens
1a0d51495d
show appropriate message when going into OTA mode
2022-12-08 17:17:48 +01:00
Thomas Göttgens
0dff05e881
Merge pull request #1998 from GUVWAF/dutyCycleLimit
...
Completely refrain from transmitting if duty cycle limit exceeded
2022-11-29 11:06:31 +01:00
GUVWAF
7ca104cef6
Override duty cycle if user is_licensed
2022-11-27 16:53:02 +01:00
GUVWAF
c45a85547e
Send 'ACK' response for admin message
2022-11-25 20:33:24 +01:00
Ben Meadors
2fedb6b774
Add reset nodedb handler back
2022-11-23 14:12:44 -06:00
Ben Meadors
24244e8474
Update AdminModule.cpp
2022-11-21 12:24:05 -06:00
Ben Meadors
b1ba807ec9
Only save and reboot while a transaction isnt open
2022-11-20 19:50:45 -06:00
Ben Meadors
32223a818c
Updated admin module and protobufs
2022-11-08 15:04:24 -06:00
Ben Meadors
311835a231
Implement extended device metadata ( #1874 )
...
* Implement extended device metadata
* HAS_BLUETOOTH should be global
2022-10-30 10:02:11 -05:00
Ben Meadors
d4ea9568ac
Save devicestate (nodedb) on position config change ( #1829 )
2022-10-20 13:14:53 -05:00
Ben Meadors
056a93f0c9
Consolidate reboots ( #1827 )
2022-10-19 19:19:04 -05:00
Thomas Göttgens
20eaddee58
- fix conditional include for nRF52 (no OTA there)
...
- fix compiler warning in Canned Messages
2022-10-09 11:35:19 +02:00
Thomas Göttgens
30b1bd85d9
fix build for non-esp32
2022-10-09 11:19:33 +02:00
Thomas Göttgens
b591e35442
Switch to OTA firmware
2022-10-08 11:10:29 +02:00
Thomas Göttgens
3597685b23
Only save the changed parts of config to disk.
2022-10-04 14:32:07 +02:00
Ben Meadors
ac235bcabb
Reset nodedb wiring ( #1724 )
2022-09-28 16:47:26 -05:00
Ben Meadors
8ef510035d
Owner reboot ( #1716 )
2022-09-22 08:02:58 -05:00
Ben Meadors
0e2ab75bb0
Set tx_enabled upon initial region assignment ( #1700 )
2022-09-17 14:49:09 -05:00
Ben Meadors
0f87adad7b
Power state lies and other fixes ( #1698 )
...
* Power interval defaults and factory reset
* Ternary
* Fixes
2022-09-16 11:00:05 -05:00
Ben Meadors
7f18c0fb77
Init default intervals ( #1688 )
...
* Init default intervals
* Spacing
* move isrouter check
* Line break
* Oops
2022-09-10 12:35:36 -05:00
Thomas Göttgens
e05e888fca
Update admin config field
2022-09-09 13:14:15 +02:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
Ben Meadors
e87ecc210a
Wifi enabled plumbed in ( #1677 )
...
* Wifi enabled
* Wifi requires reboot
* Increment DEVICESTATE_CUR_VER
2022-09-06 14:06:44 -05:00
Ben Meadors
b54073a8a1
Bluetooth mode unification and behavior tweaks ( #1636 )
...
* Esp32 bluetooth modes
* Comment
* Gutting bluetooth
* Cleanup
* Security
* Testing
* NRF bluetooth security
* Reboot on saved lora or bluetooth settings
* Cleanup
* Fixes
* Stub for platforms without screens
* Fixed just-works in esp32
* Cleanup
* Display device name in boot screen
* Added waypoint module routing
* chmod
* Words
* Protos
* Backing out partition changes for testing
* Revert "Backing out partition changes for testing"
This reverts commit 191ed6489c
.
* Chmod PR artifacts
* Trying setInitialState again
* Revert "Trying setInitialState again"
This reverts commit 703eac7277
.
* External notification module
* Cleanup
* Pin display formatting
2022-08-22 16:41:23 -05:00
Ben Meadors
86d3759f55
New bluetooth config protos and canned messages consolidation ( #1632 )
...
* Bluetooth and canned messages refactor
* More can of worms messages
* Set has_bluetooth and default pin
* Defaults
2022-08-15 21:06:55 -05:00
Ben Meadors
572f9f9295
Get device metadata admin message ( #1607 )
...
* Get device metadata admin message
* Bump device state version
2022-08-08 07:19:04 -05:00
majbthrd
ade32b1827
lay groundwork for a possible future architecture ( #1571 )
...
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* fix USE_RTC in variant.h for rak4631_epaper and t-echo
* ensure Screen.h is not included without configuration.h
Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-07-31 07:11:47 -05:00
Ben Meadors
5106433572
Removed phone_timeout_secs pref references ( #1503 )
2022-06-12 09:44:23 -05:00
Ben Meadors
4ab831c103
Fix nagging bool linter warnings ( #1491 )
2022-06-04 07:28:58 -05:00
Thomas Göttgens
b88e75cf2a
Fixed Typo in get Config
2022-05-29 16:31:30 +02:00
Thomas Göttgens
800a4200ef
make sure all segments are enabled and saved
2022-05-22 13:54:24 +02:00
Thomas Göttgens
6bb3861e95
Moduleconfig also changed to localConfig Model.
2022-05-22 13:27:56 +02:00
Thomas Göttgens
53e9f4df46
Segemented config works for me (TM)
...
Small GPS Fix that cropped up while testing included.
2022-05-21 22:38:33 +02:00
Sacha Weatherstone
38913bb661
Consistency fixes & repo cleanup
2022-05-12 20:45:30 +10:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Sacha Weatherstone
ea86f76393
Move LoRa config out of primary channel
2022-05-07 13:34:06 +10:00
Sacha Weatherstone
211273cc08
Fix expected values in config setters
2022-05-04 12:52:44 +10:00
Sacha Weatherstone
8ba0a9bf87
Fix config switch
2022-05-03 22:16:50 +10:00
Sacha Weatherstone
f84286d138
Split config structure in two
2022-05-02 22:00:24 +10:00
Sacha Weatherstone
7ae8601ba5
fix warnings
2022-05-02 10:24:28 +10:00
Sacha Weatherstone
8f038ced15
add handleSetConfig, remove team
2022-05-02 08:53:44 +10:00
Sacha Weatherstone
3a1f20821e
Remove team and provision set_config
2022-05-02 08:35:31 +10:00
Ben Meadors
2ca0290662
Admin message implementation
2022-05-01 15:35:01 -05:00
Sacha Weatherstone
c0d40895f8
Config rework - Init GetConfigResponse
2022-05-01 16:12:48 +10:00
Sacha Weatherstone
50326fbb6b
Config rework - Init getConfig
2022-05-01 12:41:26 +10:00
Sacha Weatherstone
f33cd4081e
Implement getOwner
2022-03-10 09:14:56 +11:00
Sacha Weatherstone
6bee95d6b2
Rename MeshPlugin, SinglePortPlugin and ProtobufPlugin
2022-03-09 19:01:43 +11:00
Jm Casler
e53abbfb2b
more rename plugin to module
2022-02-27 02:21:02 -08:00
Jm Casler
86e767eec2
Update filenames from plugins to modules
2022-02-27 00:18:35 -08:00