Giter Club home page Giter Club logo

indancsclient's Issues

Errror pairing iPhone

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

iPhone disconnected with error

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.

Empty characteristics array

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

Finding Nearby Devices without pairing approval

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 )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.