sd_ble_gap_adv_set_configure No Memory for operation

Hi all,

Im working with CODED PHY (Long Range). There was no settings for primary and secondary channel so I added it like below. The previous solution worked with BLE_GAP_PHY_AUTO it means BLE_GAP_PHY_1MBPS as default.

I added the piece of configuration. Before there was only timing related configuration, nothing more and it works fine

nrfAdvertisementParameters.secondary_phy = BLE_GAP_PHY_CODED;
nrfAdvertisementParameters.primary_phy = BLE_GAP_PHY_CODED;
nrfAdvertisementParameters.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED;
nrfAdvertisementParameters.filter_policy = BLE_GAP_ADV_FP_ANY;

Now Im getting the error: "No Memory for operation". 

#define NRF_ERROR_NO_MEM                      (NRF_ERROR_BASE_NUM + 4)  ///< No Memory for operation

Below there is printscreen for debug session. Adv_data and scan_respo_data has a length of 31.

Should I increase the RAM amount for SoftDevice or it is other issue?

I Changed only advertising parameter with no changes for data packets.

Parents Reply Children
Related