hvx_params.type = BLE_GATT_HVX_NOTIFICATION; uint32_t err_code = sd_ble_gatts_hvx(p_nus->conn_handle, &hvx_params); return err_code; but this results in a NRF_ERROR_INVALID_PARAM every time: uint32_t ble_nus_string_send(ble_nus_t * p_nus, uint8_t * p_string, uint16_t l...
调用 sd_ble_gatts_hvx发送数据的时候发现,数据长度最大只能是4个bytes,再大就返回000C的error code...
As I'm new to the BLE, I'm trying to make use of examples enclosed in the nRF5 SDK. Now, I found that there exist several functions that seem like do similar things and they make me confusing... Is there any difference betweensd_ble_gatts_hvx()andble_nus_data_send()? I think ...