I met this issue on some Android devices. GATT connection is disconnected before before service discovery finished. The issue is reporeted in following link.
I'd like to know the workaround of this issue.
I met this issue on some Android devices. GATT connection is disconnected before before service discovery finished. The issue is reporeted in following link.
I'd like to know the workaround of this issue.
@Kenta: By default the ble_app_hrm buttonless example in SDK v11 does support bond forwarding. Do you follow what implemented there to call the SVC call to send bond information to the noinit data area ? If no bonding is forwarded, the phone will terminate the connection because it can't re-encrypt with the device.
If you want simply to keep bonding on the application, but OK to have non-bonding for DFU, then you can change the address of DFU bootloader to something else (suggest to be +1 of original address) so that no bonding will be used when doing DFU.
@Kenta: By default the ble_app_hrm buttonless example in SDK v11 does support bond forwarding. Do you follow what implemented there to call the SVC call to send bond information to the noinit data area ? If no bonding is forwarded, the phone will terminate the connection because it can't re-encrypt with the device.
If you want simply to keep bonding on the application, but OK to have non-bonding for DFU, then you can change the address of DFU bootloader to something else (suggest to be +1 of original address) so that no bonding will be used when doing DFU.