Here is an odd thing, though: If I do anything with that length variable, sd_ble_gatts_hvx() fails every single time. For example, this works uint32_t ble_nus_string_send(ble_nus_t * p_nus, uint8_t * p_string, uint16_t length){ ble_gatts_hvx_params_t hvx_params; VERIFY_PA...
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 the former gets input as ble_gatts_hvx_params_t struct and the latter gets ble_nus_t struct...
用的S110,8.0的协议栈,调用 sd_ble_gatts_hvx发送数据的时候发现,数据长度最大只能是4个bytes,再...