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

sd_ble_gatts_value_set

nrf52832.

SDK14.2

Segger ES V3.34a

I would like to send a struct to a characteristic value, 

typedef struct
{
int8_t test1_array[30];
int8_t test2_array[30];
uint16_test3_array[30];
uint32_t test4_array[30];
}data_t;

maybe using...

sd_ble_gatts_value_set

but how to set  ble_gatts_value_t gatts_value;  with the mixed data type?

Does anyone have an example or suggest a better way to pass mixed datatypes to the same characteristic value.

Thanks

Parents Reply Children
No Data
Related