This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trying to merge ble_app_uart code with ble_beacon ,getting stuck with ble_advertising init function with error 7[NRF_INVALIDE_PARAM]

Hello,

We are using Nordic sdk 17.1.0, with segger studio of 5.70a.

Here we are trying to merge ble_app_uart example with ble_app_beacon example.

Actually ble_app_uart section run properly, but while staring ble_app_beacon example after initialization of all parameters  it getting stuck with advertising_init() function with error 

ERROR 7[NRF_INVALIDE_PARAM].

Hope will get solution from support team.

Best Regards,

Embel Technologies,

Parents
  • Hi Neha, 
    Could you let me know what exactly you want to achieve by merging ble_app_uart with ble_app_beacon ? 
    Please note that the softdevice only allow to advertise one set of advertising data at a time. 

    Could you provide the full code of your application  ? 

    Have you checked which exact function inside advertising_init() that is throwing error / ? 

  • Above mentioned function stuck  

    when used  parameter  #define NON_CONNECTABLE_ADV_INTERVAL MSEC_TO_UNITS(30000, UNIT_0_625_MS) 

    but  code works fine when  used  #define NON_CONNECTABLE_ADV_INTERVAL MSEC_TO_UNITS(10000, UNIT_0_625_MS) 

    Dont know why???

Reply
  • Above mentioned function stuck  

    when used  parameter  #define NON_CONNECTABLE_ADV_INTERVAL MSEC_TO_UNITS(30000, UNIT_0_625_MS) 

    but  code works fine when  used  #define NON_CONNECTABLE_ADV_INTERVAL MSEC_TO_UNITS(10000, UNIT_0_625_MS) 

    Dont know why???

Children
No Data
Related