Good Morning, this is Pavan, I have doubts in corebluetooth. I am using the bluetooth LE device. i wrote the sample code in Using core bluetooth frameworking in objective c , I got the bluetooth name, UUID, RRSI value. I used central manager, peripheral manager, and periheral delegate methods.MY code does not execute the CBPeripheralManager delegate methods. it give only one UUID kCBAdvDataServiceUUIDs = "00001C00-D102-11E1-9B23-00025B00A5A5", unable to get remaining services.
Here I need to get Alarm settings, bettery levels, date and time settings. I used your sample project I got the below result . Peripheral found with name: Optional("name")
UUID: 48D98C88-4FAC-A584-839D-D06D953B941D
RSSI: -71
Advertisement Data: ["kCBAdvDataServiceUUIDs": (
"00001C00-D102-11E1-9B23-00025B00A5A5"
), "kCBAdvDataTxPowerLevel": 8, "kCBAdvDataIsConnectable": 1]
Failed to disconnect from peripheral with error: Error Domain=CBErrorDomain Code=7 "The specified device has disconnected from us." UserInfo=0x165d4000 {NSLocalizedDescription=The specified device has disconnected from us.}
Peripheral:
I am unable to get what is the issue. Please help me.
We tried code here:http://www.filedropper.com/btbackground-master