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

integrate BLE scan from example to other example code without adding the s132 softdevie

Hello

I am working on Nordic nrf52832

I am using the "ble_app_blinky_c_pca10040_s132"

I want to use ble for scanning a beacon (eddystone TLM) and collect its data.

No Advertising or pairing is needed.

I want to integrate the ble scan functionality from this example to the "pwm_driver" example that I have been working on and integrated UART to it.

My question is - Is there an easy way to integrate without adding the s132 to the "pwm_driver" modified example code, maybe just copy few functions from the s132, instead of adding the whole SoftDevice to my code (which will also change some configuration in my currently working code) ?

Also, if there is a better ble axample please let me know. maybe even example without the s132 but that does scaning without all the rest ??? 

  • Hi

    There is no easy way of implementing BLE for an example without using the SoftDevice I'm afraid. It would be way easier adding the PWM_driver code you want to implement to an already existing BLE example with the SoftDevice. Otherwise, you'll have to write the BLE protocol yourself. All Nordic BLE examples include a SoftDevice, and it's part of the package when using our products. I strongly suggest using the SoftDevice for your application.

    Best regards,

    Simon

Related