hi All!
I'm trying to use new SD140-6 function sd_ble_gap_adv_set_configure() , according to spec. if last PARAM is NULL, function behavior : "When this function is used to update advertising data while advertising, this parameter must be NULL. See @ref ble_gap_adv_params_t."
to UPDATE advertising data in realtime:
// UPDATE the data during advertising!
if(m_adv_handle[server_0]!=BLE_GAP_ADV_SET_HANDLE_NOT_SET)
{
ret = sd_ble_gap_adv_set_configure(&m_adv_handle[server_0], &advdata_raw , NULL /*&advparam*/);
APP_ERROR_CHECK(ret);
}
But ERROR (8) returns. WHY ?
thx!