Based on sdk12.3, use 51-dk (51822) to run the ble_app_hrs routine.
Use ios mobile phone to connect the device, it will automatically disconnect after 30 minutes, the disconnection reason is 13 (0x80).
How can this be solved?
Based on sdk12.3, use 51-dk (51822) to run the ble_app_hrs routine.
Use ios mobile phone to connect the device, it will automatically disconnect after 30 minutes, the disconnection reason is 13 (0x80).
How can this be solved?
If it times out after 30 second there is probably a LL procedure timeout. For instance that the nRF51 is not answering a DLE request, or a connection update request. If you are able to post the BLE sniffer log, we can identify the response timeout and figure out what needs to be implemented on the nRF51 side.
Attached the BLE sniffer log, the timeout disconnection is at line 55797, please help analyze, thank you.51822_ios_Disconnected_reason_8.pcapng
51822 log output:
Not every time is 30 minutes; it will be disconnected within 10-30 minutes.
This phenomenon occurs when the distance between the mobile phone and the device is greater than 3 meters, and the disconnection problem will not occur within 3 meters.
I have also tested Android phones. No matter what distance it is, it will not disconnect within the signal range.
LFRC is used, and the configuration is as follows:
And the internal clock calibration is added at the beginning of the program, this problem still occurs.
The clock is automatically calibrated by the softdevice. Are you calling that function in intervals, or is it just at the beginning of main? In any case, it is not really necessary. Anyways, if it always works fine within 3 meters I think we can rule out any clock drifting problems.You can of course try to set the clock accuracy to 500ppm and see if the problem improves.
Since it is working on the Android phones I think we can maybe rule out that the problem lies with the nRF51. So it sounds to me like there are some issues with the receiver on the iPhone. Can you please let me know the model number of the iPhone you are testing with, and I can check if we have experienced similar issues before.
Phone model: iPhone 5s
ios version: 10.2
Changing to 500ppm still has this problem.
Hi
Are there any updates?
Hi
Are there any updates?
Hi, We have not heard about this before. Maybe there is something wrong with this exact phone? Can you try with another one?
You can try to download nRF connect for iOS and check the signal strength, RSSI. You can compare with nRF connect for Android, and see if the RSSI is much lower on the iPhone.
I have also tested iPhone 8, system 13.5.1, and still have the same problem.
ios rssi: -74dBm, Android rssi: -79dBm
Both ios and Android fluctuate in the range of -70 to -80.
Hello,
Are you testing the connection with our nRF connect app? I just tested this here and have not been able to replicate the disconnect issue here. It has been connected for more than an hour.
My setup:
Iphone 8
iOS 13.5.1
nRF connect v.2.3.2
nRF51 DK
ble_app_hrs from SDK 12.3.0
Board placed about 3 meters from DK.