Using the S120 soft-device in the Central role, there does not appear to be an example or documentation describing how to scan for a 128 bit UUID service.
Has anyone tried it?
Thanks
Using the S120 soft-device in the Central role, there does not appear to be an example or documentation describing how to scan for a 128 bit UUID service.
Has anyone tried it?
Thanks
There is currently no example of doing this, but it shouldn't be very tricky to do on your own. Summarized, you'd have to do this:
There is currently no example of doing this, but it shouldn't be very tricky to do on your own. Summarized, you'd have to do this:
I am having a similar issue, as I am pretty much doing exactly what you have said by altering the S120 ble_app_hrs_c example app. When I find that the 128 bit UUID is a match for the advertised one I do the following:
sd_ble_gap_connect(&p_gap_evt->params.adv_report.
peer_addr,
&m_scan_param,
&m_connection_param);
But it seems to still be using the 16 bit UUID for the heart rate service. I am not sure how to change this as I don't want to be altering the code that is in the SDK, but rather the code in this project.