Is it safe to pass a data address in flash to sd_ble_gatts_hvx()? ble_gatts_hvx_params_t::p_data doesn't have the const keyword.
Is it safe to pass a data address in flash to sd_ble_gatts_hvx()? ble_gatts_hvx_params_t::p_data doesn't have the const keyword.
In the definition of sd_ble_gatts_hvx(..), the address of p_hvx_params is declared as const:
uint32_t sd_ble_gatts_hvx ( uint16_t conn_handle,
ble_gatts_hvx_params_t const * p_hvx_params
)