Hi
i can received my BLE Data on b4i debug , but i build release app on my
iphone , always can not received BLE Data,but conect to ble is ok.
ex:ble chip:nrf51822 b4i ver 3.6
this is my code:
Sub Manager_DataAvailable (Service As String, Characteristics As Map)
manager.SetNotify("FFF0","FFF1",True)
Log("------ Manager_DataAvailable ------")
Dim bc As ByteConverter
Dim sData As String
For Each id As String In Characteristics.Keys
sData = bc.HexFromBytes(Characteristics.Get(id))
If sData.Length<14 Then Return
Log("sData:" & sData)
hd.ToastMessageShow(sData,False)
Next
End Sub
btw: i test cc2541 chip and nrf51822 again,this is very strange
chip myapp(debug) myapp(release ) lightblue
cc2541 ok ok ok
nfr51288 ok fail ok