标签: android bluetooth bluetooth-lowenergy android-bluetooth bluetooth-gatt
我想将要连接到自定义Android硬件的蓝牙设备的最大数量限制为2或3。为此,我将宏从/system/bt/include/bt_target.h更改为:
#define GATT_MAX_PHY_CHANNEL 2
和
#define MAX_L2CAP_LINKS 7
但是我的设备仍然可以连接2个以上的设备。我正在连接的设备配置文件是:
HID