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

device not scanning

Hi,

 I programmed nrf51822 development board as central device, with the s120_nrf51822_1.0.0-3.alpha_softdevice and ble_app_hrs_c profile on top of it, i am using nrf51_sdk_v5_2_0_39364.

 Development kit is not scanning(scanning led is not lit), it is not printing anything on LCD.
 
 What may be the cause, i tried to debug, it is hanging in device_manager_init() funtion, still i am not able to get what is the problem, is there any problem with the Softdevice or application?

  when i tested the s120 of older version it is working fine, today again i tested with the newer version it is not scanning. Any help appreciated.

Thanks & Regards, Rangineni Balasubramanyam

Parents
  • Hi

    I can understand your confusion. However, the s120_nrf51822_1.0.0-3.alpha_softdevice is not plug and play compatible with the nRF51 SDK v5.2.0. If you look at the release notes of the nRF51 SDK 5.2.0, you can see it is compatible with S120 1.0.0-1.alpha. There has apparently been some API changes between S120 v1.0.0 alpha versions, making the nRF51 SDK v5.2.0 not compatible with s120_nrf51822_1.0.0-3.alpha API. However, there is a set of header files that comes with the s120_nrf51822_1.0.0-3.alpha softdevice archieve that represents its API, under \s120_nrf51822_1.0.0-3.alpha\s120_nrf51822_1.0.0-3.alpha_API\include. Include these header files instead of the header files at the \Include\s120\ path in the ble_app_hrs_c project, then it should work.

Reply
  • Hi

    I can understand your confusion. However, the s120_nrf51822_1.0.0-3.alpha_softdevice is not plug and play compatible with the nRF51 SDK v5.2.0. If you look at the release notes of the nRF51 SDK 5.2.0, you can see it is compatible with S120 1.0.0-1.alpha. There has apparently been some API changes between S120 v1.0.0 alpha versions, making the nRF51 SDK v5.2.0 not compatible with s120_nrf51822_1.0.0-3.alpha API. However, there is a set of header files that comes with the s120_nrf51822_1.0.0-3.alpha softdevice archieve that represents its API, under \s120_nrf51822_1.0.0-3.alpha\s120_nrf51822_1.0.0-3.alpha_API\include. Include these header files instead of the header files at the \Include\s120\ path in the ble_app_hrs_c project, then it should work.

Children
Related