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

1.) Interval/Timouts only taken from _fast_? 2.) SoftDevice s113 limited to 4dbm TX power on nRF52840?

Hi Forum,

1.) The APP_ADV_... parameters in ble_advertising (SDK 16.0) are taken only from _fast_  , is this intended?

    init.config.ble_adv_slow_enabled = true;
    init.config.ble_adv_slow_interval = APP_ADV_INTERVAL; // Ignored in ble_advertising_init(?)
    init.config.ble_adv_slow_timeout = APP_ADV_DURATION; // Ignored in ble_advertising_init(?)
    /* Error in ble_advertising.c: interval/timeout only from _fast_ ? */
    init.config.ble_adv_fast_enabled = false; // (false by default)
    init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;
    init.config.ble_adv_fast_timeout = APP_ADV_DURATION;

    init.evt_handler = NULL; // on_adv_evt; (removed)

    err_code = ble_advertising_init(&m_advertising, &init);

2.) s113 allows only TX_POWER of 4dbm, although the nRF52840 has 8dbm?

Best regards,
Jo

(BTW.: the nRF52840 is really an incredible good product!!! If only the documentation was a little bit better..)

Parents Reply
  •  as the SoftDevice can access register INFO.PART (Address offset 0x100 on the FICR registers) and check for the value of 0x52840 to allow the ability to set the TX power to +8db...

    what is the limitation of adding this if/then case to the S113 SoftDevice?

    Regarding the S140 suggestion, S140 (AFAIK) does perform this check, as it can run on chips which do not have +8db (like the nRF52811 you mentioned)

Children
No Data
Related