J. Nick Koston
30c4b91697
Remove parsed advertisement support from bluetooth_proxy to save memory ( #9489 )
2025-07-16 13:19:03 +12:00
J. Nick Koston
2e11e66db4
Optimize bluetooth_proxy memory usage on ESP32 ( #9114 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-19 13:11:13 +12:00
J. Nick Koston
2e534ce41e
Reduce CPU overhead by allowing components to disable their loop() ( #9089 )
2025-06-18 21:49:25 +12:00
J. Nick Koston
6f2bf4ec4c
Fix bluetooth race when disconnect called while still connecting ( #8297 )
2025-02-26 09:13:30 +13:00
tomaszduda23
45beea68eb
[ble_client, bluetooth_proxy, esp32_ble_client, esp32_ble_tracker] fix ble proxy stop working ( #7901 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-12-22 19:49:04 -10:00
Jesse Hills
cefbfb75bd
[esp32_ble] Add disconnect as a virtual function to `ESPBTClient
` ( #7705 )
2024-10-31 05:46:35 -05:00
Clyde Stubbs
5ebb68f4ff
Ble client additions and fixes ( #5277 )
...
* Add config to disable auto-connect of BLE client.
Correct initialise MAC address of BLE client.
* Checkpont
* Fixes for automation progress.
* Fixes for automation progress.
* Checkpoint;
fix notify for ble_client
* Fix BLE client binary_output
* Various fixes
* Consider notifications on when receiving REG_FOR event.
* Add testing branch to workflow
* Add workflow
* CI changes
* CI changes
* CI clang
* CI changes
* CI changes
* Add comment about logging macros
* Add test, sanitise comment
* Revert testing change to ci config
* Update codeowners
* Revert ci config change
* Fix some state changes
* Add default case.
* Minor fixes
* Add auto-connect to logconfig
2023-12-29 01:35:44 -06:00
Oxan van Leeuwen
14e38f0469
Upgrade clang-format to v13 ( #4535 )
...
* Upgrade clang-format to v13
* Apply clang-format-13 formatting changes
* Format
* Format bme_680
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-20 03:38:41 +00:00
Fredrik Gustafsson
29571a1acd
implement pairing for bluetooth proxy ( #4475 )
...
* default to just-works encryption
This patch will turn on encryption when making active connections in order to comply with just-works BLE encryption.
* Revert "default to just-works encryption"
This reverts commit 05bc9e9f1c
.
* implement pair method
* adhere to clang formatter
* fix oopsie
* bump bluetooth_proxy_version
* add auth callback
* generate new protos
* fix another oopsie
* add pairing status to connection
* clear paired on connect()
* lint
* add unpair ("forget") ble method
* compile protos
* fix oopsie
* add missing unpairing method
* add unpairing
* fix get_paired return type
* remove unused memcpy
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
* change to is_paired
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
* Update bluetooth_proxy.cpp
* actually add missing method
* send auth cb on set_encryption failure
* cleanup from havin the worst test setup
* lint
* match auth events to bd_addr
* add second addr check to auth cb
* add addr check to third auth cb
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-06 18:04:35 +00:00
J. Nick Koston
a59ce7bfa2
Avoid parsing services with v3 connections without cache ( #4117 )
...
Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com >
Co-authored-by: Maurice Makaay <account+github@makaay.nl >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-11-30 09:40:31 +13:00
J. Nick Koston
8414bb9a7a
Active BLE connection v3 ( #4113 )
...
Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com >
Co-authored-by: Maurice Makaay <account+github@makaay.nl >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-11-30 07:53:32 +13:00
Jesse Hills
120327866f
Send device address type alongside ble advertisements ( #4115 )
2022-11-29 17:24:21 +13:00
J. Nick Koston
75573a3ed1
Fix descriptors not being deleted ( #4104 )
2022-11-29 07:49:41 +13:00
J. Nick Koston
cee45c1221
Make sure all BLE address strings are uppercase ( #4097 )
2022-11-28 13:33:17 +13:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
Jesse Hills
0e66c899ce
Allow multiple bluetooth proxy connections ( #3971 )
2022-11-02 23:02:33 +13:00
Jesse Hills
ed443c6153
Bluetooth Proxy active connections ( #3817 )
2022-10-04 10:45:06 +13:00