This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Soft Device API for javascript

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.

Parents
  • 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

Reply
  • 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

Children
Related