Commit Graph

24 Commits

Author SHA1 Message Date
zhongzhijie1 17f572ca9a fix build waring when CONFIG_BLUETOOTH_BLE_SUPPORT not enable
bug: v/84604

if ble not support, return 0.

Signed-off-by: zhongzhijie1 <zhongzhijie1@xiaomi.com>
2026-04-27 23:14:54 +08:00
zhongzhijie1 9c4b086364 implement get addrtype api
bug: v/84604

original return 0 default, now use adapter_get_le_remote_address_type

Signed-off-by: zhongzhijie1 <zhongzhijie1@xiaomi.com>
2026-04-27 23:14:54 +08:00
liuxiang18 35619721a7 bluetooth: implement bt_device_set_bondable_le API to change bond mode.
bug: v/67335

Signed-off-by: liuxiang18 <liuxiang18@xiaomi.com>
2026-04-27 23:14:52 +08:00
liuxiang18 9d7ddc49be bluetooth: implement bt_device_set_security_level API to change bond security level.
bug: v/67009

Signed-off-by: liuxiang18 <liuxiang18@xiaomi.com>
2026-04-27 23:14:52 +08:00
openvela-robot 9d0c825cbb Merge commit
Change-Id: If26995eebd18a82ac4cd827e6801458e57a6ead3
2026-04-27 23:14:50 +08:00
Kai Cheng 4d1a30d7fe blueototh: add connection mgr config
add BLUETOOTH_CONNECTION_MANAGER config.openvela:
b042d370fa

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-04-20 14:52:42 +08:00
liuxiang18 4baa13a8d1 bluetooth: implement bt_device_set_bondable_le API to change bond mode.
Signed-off-by: liuxiang18 <liuxiang18@xiaomi.com>
2026-04-20 14:52:41 +08:00
liuxiang18 55147e63ba bluetooth: implement bt_device_set_security_level API to change bond security level.
Signed-off-by: liuxiang18 <liuxiang18@xiaomi.com>
2026-04-20 14:52:40 +08:00
liuxiang18 26713e976d bluetooth:connect/disconnect profile API
Signed-off-by: liuxiang18 <liuxiang18@xiaomi.com>
2026-04-20 14:51:35 +08:00
chejinxian1 489bf05c8a Bluetooth: Add API for supplying enhanced mode for application calling.
Rootcause: Due to the diversity of application scenarios, the API for invoking the Connection Enhanced Mode is provided for applications to call. Applications can enable or disable specific enhanced modes according to their own needs.

Signed-off-by: chejinxian1 <chejinxian1@xiaomi.com>
2026-04-20 14:51:24 +08:00
chejinxian1 901f11ef41 Bluetooth: Remove API about getting ACL handle.
Rootcause: Application does not need to know the Bluetooth ACL handle. Therefore, the corresponding API needs to be removed.

Signed-off-by: chejinxian1 <chejinxian1@xiaomi.com>
2026-04-20 14:51:14 +08:00
shenyangsi 6720de665c BLE: support LE OOB pairing
Signed-off-by: shenyangsi <shenyangsi@xiaomi.com>
2026-04-20 14:50:59 +08:00
Haishen Zhang 19bc307ac2 Clang-format: Update format of all files based on new .clang-format
1. Update format of all files based on new .clang-format

Signed-off-by: Haishen Zhang <zhanghaishen@xiaomi.com>
2026-04-20 14:50:50 +08:00
fangzhenwei 8942bceb4c Merge dev-bt and rel-4.0 --> dev
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:36 +08:00
chao an 1c6e65c4bb service/socket: add lightweight socket ipc layer
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:30 +08:00
fangzhenwei 6e6e279ab1 bluetooth framework re-implement adv & scan
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:23 +08:00
fangzhenwei 24ac7f15c0 bluetooth framework re-implement base
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:23 +08:00
shenyangsi 568dd80610 bluetooth: add le_set_oob_data feature
Signed-off-by: shenyangsi <shenyangsi@xiaomi.com>
2026-04-20 14:50:16 +08:00
shenyangsi 8b22660e92 support get identity address of bonded ble device
Signed-off-by: shenyangsi <shenyangsi@xiaomi.com>
2026-04-20 14:50:15 +08:00
shenyangsi 66f7070963 gap: add link connect request callback and reply
Signed-off-by: shenyangsi <shenyangsi@xiaomi.com>
2026-04-20 14:50:10 +08:00
fangzhenwei 348cb134dd Interface optimization
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:08 +08:00
chao an 08eef4e8fe service/socket: add lightweight socket ipc layer
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 14:50:05 +08:00
gaozihao 0bf5172373 bttool: allow to check device type at bttool.
Signed-off-by: gaozihao <gaozihao@xiaomi.com>
2026-04-20 14:49:55 +08:00
fangzhenwei a493f47581 bluetooth framework re-implement base
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:49:51 +08:00