indragiek / indancsclient Goto Github PK
View Code? Open in Web Editor NEWObjective-C Apple Notification Center Service Client
License: MIT License
Objective-C Apple Notification Center Service Client
License: MIT License
Whenever I click 'Pair' on my iPhone I get: Unknown error: -536870212
2014-02-09 12:26:44.198 INDANCSMac[2668:303] Service discovery failed for (null) with error Error Domain=CBErrorDomain Code=3 "The specified device is not connected." UserInfo=0x608000275f00 {NSLocalizedDescription=The specified device is not connected.}
2014-02-09 12:27:20.490 INDANCSMac[2668:1003] Found device: Richard's iPhone
2014-02-09 12:27:40.739 INDANCSMac[2668:2007] CoreBluetooth[WARNING] Unknown error: -536870212
2014-02-09 12:28:00.989 INDANCSMac[2668:2007] CoreBluetooth[WARNING] Unknown error: -536870212
2014-02-09 12:28:21.373 INDANCSMac[2668:2007] CoreBluetooth[WARNING] Unknown error: -536870212
2014-02-09 12:28:41.622 INDANCSMac[2668:1003] CoreBluetooth[WARNING] Unknown error: -536870212
2014-02-09 12:28:53.169 INDANCSMac[2668:303] Richard's iPhone disconnected with error: (null)
Mac: Macbook Pro OS X 10.9.3
Phone: iPhone 5 iOS 7.0.4
Hello Indragie,
With some iPhones (got the problem with a 4S, a 5 and a 6), the Bluetooth devices enter a connect/disconnect loops:
Found device: Victor's iPhone
Victor's iPhone disconnected with error: Error Domain=CBErrorDomain Code=6 "The connection has timed out unexpectedly." UserInfo=0x60000006c040 {NSLocalizedDescription=The connection has timed out unexpectedly.}
This is repeated infinitely, with both Bluetooth icons (on the Mac and on the iPhone) blinking, indicating that the connection is indeed established for a few milliseconds.
I tried unpairing, turn off and on the Bluetooth, rebooting, resetting the iPhone. Nothing changes.
Any idea what is happening there ?
I'm running both INDANCSMac (on a MacBook Pro 15'' mid-2014, OS X 10.10) and INDANCSiPhone (on an iPhone 4S, 5 and 6, iOS 8.1.3) applications.
In INDANCSClient.m didDiscoverCharacteristicsForService the array returned here...
NSArray *characteristics = service.characteristics;
...is empty, causing a crash.
Mac: Macbook Pro OS X 10.9.3
Phone: iPhone 5 iOS 7.0.4
Were looking to create a service that finds nearby users using bt autonomously , your lib looks on the surface like something that might solve our problem , is it possible to use this lib to find nearby devices ( all we need is a single unique identifier )
When I run the mac app, I get the error 'ObjectiveKVDB/ObjectiveKVDB.h' file not found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.