This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_nus_data_send data length information

Hello.

I am testing UART using ble_nus_data_send function.

However, it has different length data was sending from each trial.(ex. 0, 4095...)

In the ble_nus_data_send API, it has p_length parameter which represents the string length.

But, the received value is just string value (sometimes with different length each trial).

So, I want to send the length information in the ble_nus_data_send. Is it possible to include this information?

or it already possible? (if it cannot be used, why this parameter is include the function parameter?)

Thank you

Best Regards,

Yclee.

Related