Continueous Direct Advertise on NCS

How do I use Continueous Direct Advertise? The advertisement stops after one time.
I think that the reason is the BT_LE_ADV_CONN_DIR macro has the option BT_LE_ADV_OPT_ONE_TIME,
but It had nothing to do with that.

  • Hi Yoshihiro, 

    Could you let me know how did you check that the directed advertising stopped after one time ? 
    Are you doing directed advertising with high duty cycle or low duty cycle ? By spec directed high duty cycle advertising has timeout of 1.28 second (Please see BT_GAP_ADV_HIGH_DUTY_CYCLE_MAX_TIMEOUT ) 

    Low duty cycle directed advertising has flexible timeout. You can do low duty cycle using BT_LE_ADV_OPT_DIR_MODE_LOW_DUTY

  • I misunderstood that this BT_LE_ADV_CONN_DIR macro is for using high duty directed advertising. And I did not know that high duty directed advertising stops after around 1 second.
    I realize for the first time that directde advertising I used on nRF SDK is low duty advertising.
    I have confirmed that low duty directed advertising can be used for continuous directed advertising.
    Thank you very much.

Related