Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to connect #3

Open
dnsBlah opened this issue Feb 26, 2016 · 3 comments
Open

unable to connect #3

dnsBlah opened this issue Feb 26, 2016 · 3 comments

Comments

@dnsBlah
Copy link

dnsBlah commented Feb 26, 2016

Hi I'm always unable to connect to the bluetooth peripheral..
2016-02-26 07:29:29.288 CoreBluetoothOSXCentral[79244:1802752] Scanning ... 2016-02-26 07:29:29.288 CoreBluetoothOSXCentral[79244:1802752] No connected services for peripheralat all. Unable to subscribe 2016-02-26 07:29:29.379 CoreBluetoothOSXCentral[79244:1802752] didDiscoverPeripheral: Peripheral CFUUID: <CFUUID 0x600000028080> EB5883E4-2C69-4E31-A5BD-B36D74584C0E 2016-02-26 07:29:29.380 CoreBluetoothOSXCentral[79244:1802752] didDiscoverPeripheral: Peripheral CBUUID: Unknown (<eb5883e4 2c694e31 a5bdb36d 74584c0e>) 2016-02-26 07:29:29.380 CoreBluetoothOSXCentral[79244:1802752] didDiscoverPeripheral: Name: Test 2016-02-26 07:29:29.380 CoreBluetoothOSXCentral[79244:1802752] didDiscoverPeripheral: Advertisment Data: { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = Test; kCBAdvDataServiceUUIDs = ( "Unknown (<7e57>)" ); } 2016-02-26 07:29:29.380 CoreBluetoothOSXCentral[79244:1802752] didDiscoverPeripheral: RSSI: -52 2016-02-26 07:29:29.381 CoreBluetoothOSXCentral[79244:1802752] Connecting ... Unknown (<eb5883e4 2c694e31 a5bdb36d 74584c0e>) 2016-02-26 07:29:39.382 CoreBluetoothOSXCentral[79244:1802752] connectionDidTimeout: <CFUUID 0x600000028080> EB5883E4-2C69-4E31-A5BD-B36D74584C0E 2016-02-26 07:29:39.383 CoreBluetoothOSXCentral[79244:1802752] Error: Error Domain=net.liquidx.LXCBCentralClient Code=-1 "Unable to connect to BTLE device." UserInfo={NSLocalizedDescription=Unable to connect to BTLE device.}

I'm using a macbook pro retina late 2015 model.

@sunuslee
Copy link

sunuslee commented Apr 7, 2016

me too:(

@dnsBlah
Copy link
Author

dnsBlah commented Apr 8, 2016

So I'm not the only one :)
Can't find a proper example which does work.

@EugeneKiyv
Copy link

EugeneKiyv commented May 26, 2016

You need make some changes in OS X version :
in LXCBAppDelegate
replace self.central.serviceUUIDs = fitBitOneServiceUUIDs;
to
self.central.serviceUUIDs = coreBluetoothiOSPeripheralServiceUUIDs;

it helped me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants