Files
esphome/esphome/components
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
..
2022-11-24 13:12:55 +13:00
2023-01-26 17:20:45 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-01-17 10:36:44 +13:00
2022-08-11 13:57:42 +12:00
2023-01-18 10:42:43 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-12-06 23:25:19 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-02-23 02:05:33 +00:00
2022-11-24 13:12:55 +13:00
2023-01-18 10:42:47 +13:00
2023-02-23 01:31:35 +00:00
2022-11-24 13:12:55 +13:00
2023-02-09 07:30:00 +13:00
2023-02-13 15:53:40 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-01-08 21:35:55 +13:00
2023-02-09 10:25:44 +13:00
2022-11-24 13:12:55 +13:00
2022-02-21 12:23:26 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-12-22 18:39:25 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-01-04 10:35:15 +13:00
2022-11-24 13:12:55 +13:00
2023-02-23 17:38:34 +00:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-03-05 18:45:54 +00:00
2022-11-24 13:12:55 +13:00
2021-09-26 21:34:06 +13:00
2021-09-26 21:34:06 +13:00
2021-09-26 21:34:06 +13:00
2022-11-24 13:12:55 +13:00
2022-06-07 22:43:46 +12:00
2022-11-24 13:12:55 +13:00
2022-10-05 20:09:27 +13:00
2022-09-06 12:57:21 +12:00
2022-04-13 10:19:48 +12:00
2022-05-19 12:47:33 +12:00
2023-02-03 07:53:46 +13:00
2022-10-28 12:33:15 +13:00
2023-02-22 01:47:50 +00:00
2022-04-26 09:50:36 +12:00
2022-04-13 10:19:48 +12:00
2022-11-24 13:12:55 +13:00
2023-01-18 10:43:16 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-01-18 10:17:31 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-09-14 16:51:20 +12:00
2023-02-07 12:17:17 +13:00
2023-02-22 23:40:20 +00:00
2022-10-19 13:44:26 +13:00
2022-11-24 13:12:55 +13:00