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
  • Hi Shahar

    Sorry about the delayed reply, but we're in the middle of the summer vacation period here in Norway, and I just got back into the office today. The S113 SoftDevice was designed for the nRF52811 which has a rather limited amount of Flash memory space. Therefore minimizing the Flash memory required by the SoftDevice was prioritized rather than adding support (and this check) for a TX power that the nRF52811 doesn't support. 

    Best regards,

    Simon

Reply
  • Hi Shahar

    Sorry about the delayed reply, but we're in the middle of the summer vacation period here in Norway, and I just got back into the office today. The S113 SoftDevice was designed for the nRF52811 which has a rather limited amount of Flash memory space. Therefore minimizing the Flash memory required by the SoftDevice was prioritized rather than adding support (and this check) for a TX power that the nRF52811 doesn't support. 

    Best regards,

    Simon

Children
Related