• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unknown error 1309 in didFailToConnectToPeripheral
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unknown error 1309 in didFailToConnectToPeripheral


  • Subject: Unknown error 1309 in didFailToConnectToPeripheral
  • From: Moe Aboulkheir <email@hidden>
  • Date: Wed, 19 Feb 2014 18:21:18 +0000

Hey,

Long time listener, first time caller.

I have seen a post or two about 1309, and a couple of SO questions, with no real result, mostly due to lack of information from the asker.  To clarify:

When connecting to a peripheral, didFailToConnectToPeripheral is sometimes passed "Unknown Error: 1309".  The aggravating precondition seems to be that either the peripheral or the central is running in the background (with the appropriate UIBackgroundModes key).  This error is inevitable with long running background processes and requires turning bluetooth off and on to resolve.  

I have opened a bug with Apple, but have not heard back.  

Take care,
Moe

More info:

This happens with peripherals which have previously (sometimes immediately previous) been successfully connected to.  The application on both sides of the connection is one which cycles between peripheral and central modes, however I have reproduced this issue with trivial sample code - one peripheral application and a central.  The only requirement is repeated reconnections and backgrounding.

The error object has no description, and nobody on the internet seems to have any information about what the error could mean, even vaguely, let alone how to fix it.  I know this error code is used elsewhere to indicate a file position/seek/read error, but that's very little to go on. 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Unknown error 1309 in didFailToConnectToPeripheral
      • From: Etan Kissling <email@hidden>
    • Re: Unknown error 1309 in didFailToConnectToPeripheral
      • From: András Kövi <email@hidden>
  • Prev by Date: Re: Device Info Characteristics with an OLS425 and Mac OS X
  • Next by Date: Re: Unknown error 1309 in didFailToConnectToPeripheral
  • Previous by thread: Re: Device Info Characteristics with an OLS425 and Mac OS X
  • Next by thread: Re: Unknown error 1309 in didFailToConnectToPeripheral
  • Index(es):
    • Date
    • Thread