NRF_SDH_BLE_OBSERVER Why Not Run

It appears that "NRF_SDH_BLE_OBSERVER" will not be run. Why?

This project ↓

"\examples\ble_central_and_peripheral\experimental\ble_app_hrs_rscs_relay\pca10056\s140\arm5_no_packs\ble_app_hrs_rscs_relay_pca10056_s140.uvprojx/main.c"

SDK: 17
IDE: Keil
SoftDevice: 7.2
Computer platform: Windows 11
Device: nRF52840 Dongle

Parents
  • Hi

    From what SDK version are you trying to port your program from? It seems like you maybe call ble_cfg_set and nrf_sdh_ble_app_ram_start_get in the wrong order. Are you able to see what exactly is the last to run before failing/rebooting? Some debugging is most likely required here is my guess, so if you have an nRF52840 DK that would be the best.

    Best regards,

    Simon

  • Hi

    Thanks for your response.

    1. My ble_cfg_set() function don't have nrf_sdh_ble_app_ram_start_get(), and i look for the nrf_sdh_ble_default_cfg_set() function it have app_start_get(), so i add this function before ble_cfg_set().

    2. My previous project utilized the pc-ble-driver for development, which appeared to be based on SDK 15. This project employed connectivity firmware; however, I did not build the firmware myself. Instead, it was programmed onto the dongle through 'nRF Connect for Desktop Bluetooth Low Energy'. Currently, I am attempting to migrate my previous code to the SDK, but I am encountering difficulties in capturing BLE events.

    3. Sorry, I don't have the nRF52840 DK.

    Best regards,

    Genfeng

Reply
  • Hi

    Thanks for your response.

    1. My ble_cfg_set() function don't have nrf_sdh_ble_app_ram_start_get(), and i look for the nrf_sdh_ble_default_cfg_set() function it have app_start_get(), so i add this function before ble_cfg_set().

    2. My previous project utilized the pc-ble-driver for development, which appeared to be based on SDK 15. This project employed connectivity firmware; however, I did not build the firmware myself. Instead, it was programmed onto the dongle through 'nRF Connect for Desktop Bluetooth Low Energy'. Currently, I am attempting to migrate my previous code to the SDK, but I am encountering difficulties in capturing BLE events.

    3. Sorry, I don't have the nRF52840 DK.

    Best regards,

    Genfeng

Children
No Data
Related