Hi!
I want to get the primary service uuid,
How can I do that?
I use nRF52832, SDK 12.1.0, Softdevice 3.0.0.
Thank you..
Hi!
I want to get the primary service uuid,
How can I do that?
I use nRF52832, SDK 12.1.0, Softdevice 3.0.0.
Thank you..
Hi,
Can you please elaborate? Are you doing service discovery using the sd? if that is the case you will get a BLE_UUID_TYPE_UNKNOWN when you are doing a sd_ble_gattc_primary_services_discover.
If that happens you should use sd_ble_gattc_attr_info_discover to fetch with the handle range for the unknown UUID to get this from the peer.
Hi,
Can you please elaborate? Are you doing service discovery using the sd? if that is the case you will get a BLE_UUID_TYPE_UNKNOWN when you are doing a sd_ble_gattc_primary_services_discover.
If that happens you should use sd_ble_gattc_attr_info_discover to fetch with the handle range for the unknown UUID to get this from the peer.
Thank you for your answer!
I found the UUID I was looking for. However, when the iPhone enters the background, the UUID can not be found. Is there a way to find if the iPhone is in the background?
Please check the core Bluetooth programming guide -> Core Bluetooth background processing for iOS Apps.