
Fredrik GustafssonandJesse Hills
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 05bc9e9f1cca9c41cbc7434379cbd5eb6dbb1034.
* 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
..
2021-10-22 12:12:07 +02:00
2023-03-06 18:04:35 +00:00
2022-11-24 13:12:55 +13:00
2023-01-16 13:24:32 +13:00
2022-09-15 11:53:02 +12:00
2021-09-24 18:02:28 +02:00
2019-06-18 19:31:22 +02:00
2023-03-06 18:04:35 +00:00
2023-03-06 18:04:35 +00:00
2023-03-06 18:04:35 +00:00
2023-03-06 18:04:35 +00:00
2023-03-06 18:04:35 +00:00
2023-03-06 18:04:35 +00:00
2023-03-06 18:04:35 +00:00
2022-02-09 14:57:00 +01:00
2021-09-13 11:31:02 +02:00
2022-11-24 13:12:55 +13:00
2022-06-02 17:00:17 +12:00
2022-06-02 17:00:17 +12:00
2022-03-23 09:45:05 +13:00
2022-11-24 13:12:55 +13:00
2022-06-02 17:00:17 +12:00
2022-06-02 17:00:17 +12:00
2021-07-20 11:12:22 +02:00
2022-11-24 13:12:55 +13:00