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

how to ble advertising with RTC ?

i make a project

Every 5 minutes, beacon advertising should be repeated for 30 seconds.

Using the RTC example, LED lights and turns off every 3 seconds were realized.
Combining this RTC example with the Beacon example does not work properly.

//ble_stack_init();
//advertising_init();
The above two functions seem to be causing conflicts with RTC somewhere, but I don't know why.

I sincerely ask you to tell me what to do.

i use nrf52840 dongle

  • The above two functions seem to be causing conflicts with RTC somewhere

    Would you care to be a little less vague ?

    I think these 2 functions are going to be required by any application which uses BLE and does advertising - so it can't anything specific to those 2 functions.

    i use nrf52840 dongle

    do you have a debugger to use with it?

    If not, it is strongly recommended that you do your development on a Development Kit - DK - where you do have a debugger, and other facilities to make development far easier. The clue is in the name ...

Related