蓝牙

(4)

Android 12 扫描蓝牙设备 Need android.permission.BLUETOOTH_SCAN permission

## 报错信息 在 Android 12 系统上真机执行 BLE 蓝牙设备扫描时,APP 直接崩溃,Logcat 中报错: java.lang.SecurityException: Need android.permis

经典蓝牙接口规范 HFP HSP A2DP 的区别

Profile 可以理解为接口规范。 经典蓝牙 Profiles 包括 HFP, HSP, A2DP, AVRCP, PBAP, MAP 等。 ## HFP HFP 英文全称是 Hands-Free Profile。

Android API 无法获取蓝牙 BLE Attribute Handle 值

最近写了一个 [Android APP 用于快速配置蓝牙网关(已上架 Google Play)](https://play.google.com/store/apps/details?id=com.sunzhongwei.ble),但是基本

BLE Indications 与 Notifications 的区别

BLE 的一个特性可能包含五种 property: - Read - Write - Write No Response - Notify - Indicate Notify 和 Indicate 都是订阅蓝牙设备的推送