I use PCA 10040 as a Central, and PCA 10028 as a peripheral. I want the central to connect and pair and bond with the peripheral.
I use S130 for PCA10028, s132 for PCA10040, both use sdk12.2.0
I appreciate the help.
I use PCA 10040 as a Central, and PCA 10028 as a peripheral. I want the central to connect and pair and bond with the peripheral.
I use S130 for PCA10028, s132 for PCA10040, both use sdk12.2.0
I appreciate the help.
Hi Mustafa!
The Central BLE Heart Rate Collector Example implements bonding. This is the example you should flash to your nRF52 DK (PCA10040). You will find the example in the folder:
<SDK_InstallFolder>\examples\ble_central\ble_app_hrs_c
.
For your nRF51 DK (PCA10028) you should use the Heart Rate Application. This you will find in the folder:
<SDK_InstallFolder>\examples\ble_peripheral\ble_app_hrs
In order to initiate bonding the Central calls the function pm_conn_secure().
Best regards,
Joakim.
Thanks for the answer
Happy to help :)
How do I do with SDK v10, SD120?
You should be able to do this with the same examples in SDK v10. What are you having trouble with?