Hi guys,
i asked a similar question [1] few days ago, but yesterday i stumbled over the "service_data" type when advertising packages.
I've written a custom service (uuid: 0x1004) with a custom base-uuid (i don't know if its necessary to mention :). Is it now possible to send additional information corresponding to this custom service? Or is the usage of the service_data just allowed for registered services of Bluetooth SIG?
ble_advdata_service_data_t srv_data;
uint8_array_t data_array;
uint8_t data[1];
data[0] = 0x01
data_array.p_data = data;
data_array.size = sizeof(data);
srv_data.service_uuid = SERVICE_UUID;
srv_data.data = data_array;
[...]
advdata.p_service_data_array = &srv_data;
advdata.service_data_count = 1;
apparently it will be send, but in service data nothing shows up:
Thanks in advance, cheers!