键合/配对问题
•加密特性导致一些设备上围绕键合状态的一系列问题。•如果你试图读或写一个加密的特征,但你没有绑定(即使API说你绑定了),特征操作可能会无声地失败,并隐式地启动一个绑定操作,而不重新尝试操作。但有时它会自动重试操作。管理这是一个非常令人头痛的问题。•一些Android设备上的Bonding状态不能在多个连接会话中重用。每次重新连接时,你都必须通过程序清除连接状态并重新连接。如果你尝试使用公共的BluetoothDevice.createBond()方法,一些手机,即LG G4和三星S6,会有主观的绑定问题。 Instead you should use a private equivalent that must be called through reflection that forces low-energy transport mode.
This can was confirmed by us yesterday as for example HTC M8 (which I experienced in LocationApp and Gtag1App a device with quite well implemented BT) could not bond to SmartTag2 at all (other device, Smasung S5 could do that easily). This will also lead to UI complication and redesign as we have to deal with this, new to us, flow with pairing a.k.a. bonding:.
Are there any solutions available or known?