Hi,
Currently i am developing BLE communication software for Android and iOS
This software is under Ionic development.
Is there any solution for Ionic/ Javascript development to use SOftDevice API ?
Thanks.
Hi,
Currently i am developing BLE communication software for Android and iOS
This software is under Ionic development.
Is there any solution for Ionic/ Javascript development to use SOftDevice API ?
Thanks.
Hi
Okay, in that case, I think you have misunderstood the SoftDevice (and I can see why, as the information could be misleading). In this instance where the central is a phone (Android/ioS), the SD (SoftDevice) will only be present on the nRF side of things (peripheral in this instance) at the start of the flash memory and will control the radio, as well as some other tasks on the peripheral side.
Your phone will have to send the LL encryption request to the SoftDevice, which handles it and puts in a request in the app to load peripheral keys and send them back to the SoftDevice, which confirms this with an NRF_SUCCESS event before transmitting the keys to the central (phone).
Best regards,
Simon
Hi
Okay, in that case, I think you have misunderstood the SoftDevice (and I can see why, as the information could be misleading). In this instance where the central is a phone (Android/ioS), the SD (SoftDevice) will only be present on the nRF side of things (peripheral in this instance) at the start of the flash memory and will control the radio, as well as some other tasks on the peripheral side.
Your phone will have to send the LL encryption request to the SoftDevice, which handles it and puts in a request in the app to load peripheral keys and send them back to the SoftDevice, which confirms this with an NRF_SUCCESS event before transmitting the keys to the central (phone).
Best regards,
Simon
Hi
Thanks for your info
Do you have any resource or android source code that uses to initiate LL Encrpytion Request?
I'm unsure if it's included in Nordic Android Ble library or should I be viewing another android ble library to complete
this "Peripheral Encryption Establishment using stored keys" flow based on its diagram.