Adverting is started, stopped and started ... over and over

Hi,

My advertising initial is as follow.

But, 10~11 packet are sent and stop.
After 7~8 sec. resent advertisement packet again.... and 10~10 packet send, 7~8 sec stop...

What is the problem?

BR
Paul

  • Hi Paul,

    I do not see anything here that should cause advertising to stop. Can you share all your advertising related code, or perhaps the whole application?

    Einar

  • Hi,

    I attached full source file here.

  • I remove all uart part and did test, but same result.

  • Hi,

    I do not see anything in your code that explains the described behavior where the device sends a short burst of advertising packets, then pausing for some seconds before sending a burst again.

    Have you checked (for instance by enabling logging) to see if the device resets and that is how advertising is re-started? If not, can you check? Also, what else have you learned by debugging?

    If you don't make progress, perhaps you can make a project that reproduce this on a DK so that I can test on mye end?

  • Hi,

    I'm testing on nrf52840 DK board, not custom board.
    I insert the LED blink test part in next of port_init(); call as follow.


    After starting the DK board, I found only once executed this. so, It looks no reset is occurred during running.

    I am testing on s140_nrf52_7.2.0_softdevice.hex.

1 2 3