Ben Meadors
f769c50fa5
More reduction ( #5256 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Now with even fewer ings
* Ye
* Mo
* QMA6100PSensor
2024-11-04 19:15:59 -06:00
Ben Meadors
50dac38a1b
Pass#2: Lots more savings in logs and string reduction surgery ( #5251 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Pass#2: Lots more savings in logs and string reduction surgery
* Don't need Thread suffix either
* Warn
2024-11-04 12:16:25 -06:00
Thomas Göttgens
05e4a639a1
remove newline from logging statements. ( #5022 )
...
remove newline from logging statements in code. The LOG_* functions will now magically add it at the end.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-14 15:11:43 +11:00
Ben Meadors
8efc15f4d9
Ignore seen phoneapi packets ( #4888 )
...
* Ignore PhoneAPI packet if it's been seen
* ignoramus
* Also keep track of the last 20 packet IDs
* Fill
* Make this match the nimble one
* Add the log too
* Ignore zero ID packets
* Remove message entirely
* TRunkt
2024-09-27 20:09:53 -05:00
Ben Meadors
9cbabb0468
Teardown bluetooth phoneAPI better and fix client notification issue ( #4834 )
...
* Teardown bluetooth phoneAPI better and fix client notification issue
* Fix client notification draining
2024-09-23 15:51:05 -05:00
Ben Meadors
9c46bdad1a
New new BLE logging characteristic with LogRecord protos ( #4220 )
...
* New UUID
* New log radio characteristic with LogRecord protobuf
* LogRecord
* Merge derp
* How did you get there
* Trunk
* Fix length
* Remove assert
2024-07-03 16:29:07 -05:00
Jonathan Bennett
0425551341
Display alerts ( #4170 )
...
* Move static functions into Screen.h, show compass during calibration
* Move to _fontHeight macro to avoid collision
* Move some alert functions to new alert handler
* Catch missed reboot code
* ESP32 fixes
* Bump esp8266-oled-ssd1306
* Fixes for when a device has no screen
* Use new startAlert(char*) helper class
* Add EINK bits back to alert handling
* Add noop class for no-display devices
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-06-25 11:26:02 -05:00
Ben Meadors
f5098dc6d8
Explicitly set characteristic
2024-06-23 14:47:25 -05:00
Ben Meadors
eb6bd3a06f
Update NimBLE to 1.4.2 ( #4163 )
2024-06-22 08:49:55 -05:00
Ben Meadors
0bcc60d535
BLE based logging ( #4146 )
...
* WIP log characteristic
* Bluetooth logging plumbing
* Characteristic
* Callback
* Check for nullptr
* Esp32 bluetooth impl
* Formatting
* Add thread name and log level
* Add settings guard
* Remove comments
* Field name
* Fixes esp32
* Open it up
* Whoops
* Move va_end past our logic
2024-06-20 16:14:55 -05:00
Mike
0c9da9aec7
Update platformio/espressif32 to the latest 6.7.0 ( #3899 )
...
* Bump platfomio/espressif32 version to latest 6.7.0
* Fix deprecated constants
* Remove pin defs already defined by the framework
* ESP_EXT1_WAKEUP_ALL_LOW is deprecated for any target except esp32
* Enable LTO and use newlib nano flavor
* Make trunk happy
* Respect build_unflags of base env
* Recover float printfing
* Disable BLE_SM_PAIR_AUTHREQ_SC
* Distribute BLE_SM_PAIR_KEY_DIST_ID too
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-05-21 21:02:09 -05:00
todd-herbert
747c713ba9
(ESP32) Fix bluetooth after light-sleep; de-init for deep sleep ( #3655 )
2024-04-18 07:27:18 -05:00
todd-herbert
1d97544041
Wireless Paper: Fix BLE after Lightsleep ( #3629 )
...
* NimBLE deinit for deep-sleep only
* Optionally disable blink during light-sleep
* Advised to revert "blink disable"
This reverts commit 66347ce19b
.
2024-04-15 06:50:42 -05:00
Manuel
5047468d9f
fix/enhancement: TFT device powersave (part 3) ( #3600 )
...
* fix: device TFT powersave (part 3)
* trunk fmt
* trunk fmt
* undo bluetooth deinit from #3596
* revert code for heltec tracker
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-14 09:11:27 -05:00
Manuel
927d07e2c6
fix: device PMU shutdown (part 2) ( #3596 )
...
* fix: device PMU shutdown (part 2)
* fix error + enable nimble deinit
2024-04-11 19:39:07 -05:00
Todd Herbert
eb0e705ba9
de-init bluetooth
2024-04-04 17:04:10 +13:00
Jim Whitelaw
acc32916c3
Add multiple configuration options for a minimized build (GPS,WiFi,BT,MQTT,Screen). ( #3469 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-25 06:33:57 -05:00
Ben Meadors
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
Thomas Göttgens
1b6c11c5f1
tryfix crash ( #2964 )
...
* tryfix crash
* only use this when wifi is not enabled. (poking around)
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-12-02 07:00:20 -06:00
Thomas Göttgens
d6fc1c314f
WIP: Add battery level for Nimble
2023-11-25 16:03:39 +01:00
Ben Meadors
d9031610ab
Connection status admin message
2023-02-03 08:50:10 -06: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
Thomas Göttgens
51b2c431d9
trunk roundhouse kick
2023-01-21 21:23:24 +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
Ben Meadors
761804b17a
Send network ping on triple-click ( #1852 )
...
* Send network ping on multi-press
* Refresh myNodeInfo before sending
* Cleanup and screen print
* Update ButtonThread.h
2022-10-24 11:03:54 -05:00
Ben Meadors
c47401d729
Remove setting fixed pin on double-click ( #1851 )
...
* Remove setting fixed pin on double-click
* Remove disablePin method
2022-10-24 07:16:13 -05:00
Thomas Göttgens
3597685b23
Only save the changed parts of config to disk.
2022-10-04 14:32:07 +02:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
Ben Meadors
1013aff9b6
Screen changes and fixes ( #1651 )
...
* Fixed bluetooth reinit bug
* Remove screen transition ms
* Whoops
* hasScreen is smarter now
* Oops
2022-08-25 11:25:05 -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
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
Joshua Pirihi
6c17626132
Use NimBLE API for ESP32 bluetooth
2022-02-15 06:52:00 +13:00
Mike Kinney
6883bc7afc
fix more warnings; add to CI; suppress some warnings
2022-01-24 19:58:07 +00:00
Jm Casler
6506d54859
Erase NVS as part of factory reset & new triple click behavior.
2022-01-08 11:54:02 -08:00
Jm Casler
2d8bf4d684
Fix for SoftAP bugs
2021-12-23 18:18:07 -08:00
Ben Meadors
f119555c12
Convert to NimBLE Arduino ( #985 )
2021-12-12 07:44:56 -06:00
Jm Casler
623b846713
Fix for: Wifi admin mode no longer works #939
...
Fix for: Wifi admin mode no longer works #939
2021-11-28 21:56:34 -08:00
Kevin Hester
0e91d39b27
don't shutdown bluetooth if we didn't start it
2021-08-17 20:40:13 -07:00
Kevin Hester
189889489b
disable bluetooth while using wifi (esp32 drops networks otherwise)
2021-08-17 16:58:21 -07:00
Kevin Hester
bc76c79e1e
oops my latest change busted android connection detection
2021-05-03 15:37:37 +08:00
Kevin Hester
d179bda728
serious bug: connection to phones not being properly tracked
2021-05-03 14:46:30 +08:00
Kevin Hester
0261c243e0
PhoneAPIs shouldn't register for messages until they have clients
2021-03-25 07:51:54 +08:00
Jm
2561742683
#664 - Blink the LED when we enter disablePin()
2021-01-27 18:56:09 -08:00
Kevin Hester
3598c91c29
fix @mc-hamster build to work on linux/nrf52
2021-01-15 13:30:40 +08:00
Jm
0c06d8db3c
maybe this will fix the linux build?
2021-01-09 19:31:16 -08:00
Jm
0a40d920e3
Update BluetoothUtil.cpp
...
yet another linux fix?
2021-01-09 18:36:23 -08:00
Jm
9cd24a5646
is linux fixed now?
2021-01-09 18:27:03 -08:00
Jm
d458f673be
Web server is now treaded and moved to mesh/wifi/*
2021-01-08 22:25:44 -08:00
Jm Casler
d82aaaa806
#560 - Partial work for Charles.
2020-12-12 18:33:52 -08:00