Commit Graph

19 Commits

Author SHA1 Message Date
fangzhenwei d61b5cf1be ipc: socket ipc support async call
bug: v/46316

1.add api bt_socket_client_send_with_reply

Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-27 23:14:51 +08:00
openvela-robot 9d0c825cbb Merge commit
Change-Id: If26995eebd18a82ac4cd827e6801458e57a6ead3
2026-04-27 23:14:50 +08:00
chejinxian1 3b35c54322 IPC: Update the include for RPMSG
Rootcause: Within the Android build system, the RPMSG service is inaccessible. Consequently, the corresponding library path has been added to Android.bp, and the include header file for the source file utilising RPMSG has been updated.

Signed-off-by: chejinxian1 <chejinxian1@xiaomi.com>
Signed-off-by: miot-robot <miot-robot@xiaomi.com>
2026-04-20 14:52:40 +08:00
Lu Jia 1d7a5117e9 bluetooth: Add bluetooth_get_async_instance()
Signed-off-by: jialu <jialu@xiaomi.com>
2026-04-20 14:52:01 +08:00
fangzhenwei af74910e2d ipc: socket ipc support async call
1.add api bt_socket_client_send_with_reply

Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:51:31 +08:00
Zihao Gao 78b1433a40 Bluetooth: Add null pointer check for Bluetooth interface.
Signed-off-by: Zihao Gao <gaozihao@xiaomi.com>
2026-04-20 14:51:08 +08:00
zhangyuan20 ca33c55fbf bluetooth:fix build warning in sim/m64
Signed-off-by: zhangyuan20 <zhangyuan20@xiaomi.com>
2026-04-20 14:51:06 +08:00
Haishen Zhang 6ed1e5e080 Vela-Android: Porting Vela Bluetooth Framework Socket Client to Android x86_64
1. Port Vela Bluetooth Framework Socket Client onto Android.
2. For Socket Server, Service, SAL, we didn't port them onto Android.
3. For bttool, the function is not ready yet.
4. With this libbt-framework-client.so, we can start working on BTIF wrapper over Vela BT Framework Socket Client API.
5. And, we can also start working on bttool over Vela BT Framework Socket Client API later.

Signed-off-by: Haishen Zhang <zhanghaishen@xiaomi.com>
2026-04-20 14:51:00 +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
duqunbo e4ed2ec2d9 Modify the incorrect api description and add an api that is the same as the original description
Signed-off-by: duqunbo <duqunbo@xiaomi.com>
2026-04-20 14:50:41 +08:00
gaozihao 5ab4dc6f8c Bluetooth: Code formatted without head file sorted.
Signed-off-by: gaozihao <gaozihao@xiaomi.com>
2026-04-20 14:50:21 +08:00
fangzhenwei 1db4b91dd5 add ipc instance check
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:15 +08:00
fangzhenwei 56326d4cb4 fix bluetooth_delete_instance crash
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:13 +08:00
xuwenjie fd39fddcb5 bug fix
Signed-off-by: xuwenjie <xuwenjie1@xiaomi.com>
2026-04-20 14:50:09 +08:00
fangzhenwei 96937e9aff ipc: support async callback to external loop
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:06 +08:00
chao an 19de3d48d8 service/socket: compile socket client alone
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 14:50:06 +08:00
fangzhenwei d4e57ac58e ipc: manager/adv/scan/spp/pan socket ipc impl
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:05 +08:00
gaozihao 0a54342d13 HFP: add socket interfaces for HFP HF.
Signed-off-by: gaozihao <gaozihao@xiaomi.com>
2026-04-20 14:50:05 +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