Advertising via coded PHY

Hi, i want to use the coded PHY for advertising but cannot get it working. I configure the advertising source with these params:

const struct bt_le_adv_param* ext_adv_param = BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CODED, ext_adv_interval, ext_adv_interval, NULL);

and start the scanning of the sink like this:

err = bt_le_scan_start(BT_LE_SCAN_CODED_ACTIVE, NULL);

The advertising starts without any errors but the sink does not find the advertising. When I confiure the bt_le_adv_params without BT_LE_ADV_OPT_CODED or with BT_LE_ADV_OPT_NO_2M
it works as expected. I am using the nordic softdevice controller.

Am I missing something?

Parents Reply Children
  • Hey, sorry for the late response.

    I used different values for the broadcast parameters where i changed values like .num_subevents, .irc and .pto in the bt_iso_big_create_param and bt_iso_chan_qos structures. 
    On coded phy i only tested values where .irc = .pto = .nse = 1 and .pdu = .pdu is on of 30/40/80.

  • Thanks. I got this feedback from one of the developers in response the parameters you used:

    • Change parameters to BN=2, NSE=2, double their current iso interval (keep SDU interval the same). Note, this will increase the latency but improve amount of air time available. This could be increased further if latency is not an issue e.g. BN=3. NSE=3. triple the current iso_interval, BN=4, NSE=4, four times the iso_interval...
    • Change the advertiser to use coding=s2 if this is acceptable to the customer. Unfortunately, we do not currently support s2 on BIG
Related