Hi, The function sd_ble_enable(ble_enable_params_t * p_ble_enable_params, uint32_t * p_app_ram_base) requires now the application RAM base address! Is it 0x20002800?
Hi, The function sd_ble_enable(ble_enable_params_t * p_ble_enable_params, uint32_t * p_app_ram_base) requires now the application RAM base address! Is it 0x20002800?
I might be wrong , please wait, i will verify
I am sorry, just verified, you should be able to do observing and broadcasting with all roles set to 0. The assert which you are seeing is a known issue and it is documented in the release notes for this softdevice revision
GAP
Specifying a total connection count of 0 (0 peripheral connections and 0 central connections) in sd_ble_enable() leads to a SoftDevice assert (DRGN-6613).
Oh... thanks for the feedback. And sorry for not attentively reading the release notes...
no problem, even i missed to see it before answering you. We are after all humans :)
I am having trouble with this similar issue however I cannot find the ble_enable_params.gap_enable_parms structure. I just redownloaded the nRF52 0.9.2 SDK and looked through all of the headers for this structure but I cannot find it. In softdevice/s132/headers, there is a file name ble.h which contains this structure:
typedef struct
{
ble_gatts_enable_params_t gatts_enable_params; /**< GATTS init options @ref ble_gatts_enable_params_t. */
} ble_enable_params_t;
It seems like there should be a different version of this structure available base on the above conversation. Current, when I call sd_ble_enable(), I get an error return of 0x0C. This happens in my code and with the Nordic provided examples.