Hi,
I´m working on a project to send measurement data over ble and receive it. This worked for me, but I want to send the message in my own struct.
What I found in the ble.nus is that the struct is like this
uint32_t ble_nus_data_send(ble_nus_t * p_nus,
uint8_t * p_data,
uint16_t * p_length,
uint16_t conn_handle);
I do have 4 values of measurement and want to send and receive it as: value1, value2, value3, value4.
The values will be put in a graph that's why I want it in my own struct as an integer. Is this possible? I did tryed some ways, but it didn't worked out fine.
Can someone help me out?