Hi. I would like to convert float32_t to uint8_t array for transmission using the ble_nus_string_send function. Can you guys please suggest the method to convert the same ?.
Hi. I would like to convert float32_t to uint8_t array for transmission using the ble_nus_string_send function. Can you guys please suggest the method to convert the same ?.
You mean like this?
float32_t my_array[XXX];
//...
send_byte_array((uint8_t *)my_array, (XXX * sizeof(float32_t)));
Why not (if you can read it again on the other side and reconstruct).
Thanks. This is exactly what I wanted to do.
Thanks. This is exactly what I wanted to do.