Bluetooth EASession open error
Bluetooth EASession open error
- Subject: Bluetooth EASession open error
- From: Vincent Song <email@hidden>
- Date: Thu, 08 Oct 2015 09:52:16 +1100
- Acceptlanguage: en-US
- Thread-topic: Bluetooth EASession open error
Hi Guys
I got an error when I called initialiser of EASession with connected Device and the first protocol string. Then I got a 0x000000 EASession instance, but the EASession initialiser return an instance like below, not an optional or throw errors
public init(accessory: EAAccessory, forProtocol protocolString: String)
after I restarted my iPhone everything worked well. Mine is iOS9, the console output is:
2015-10-07 16:17:22.543 XXXXApp[2341:1150778] /BuildRoot/Library/Caches/com.apple.xbs/Sources/IAPFramework/iapd-1746.1.3/IAP/IPC_Client/IAPApp.mm:IAPAppCreateSessionForAccessory-636 connection = 0x0, not valid!
2015-10-07 16:17:22.543 XXXXApp[2341:1150778] ERROR - opening session failed
2015-10-07 16:17:22.543 XXXXApp[2341:1150778] ERROR - /BuildRoot/Library/Caches/com.apple.xbs/Sources/ExternalAccessory/ExternalAccessory-329/EASession.m:-[EASession dealloc] - 141 unable to close session for _accessory=0x105b39ce0 and sessionID=65536
fatal error: unexpectedly found nil while unwrapping an Optional value
Anyone know this?
Thanks
> On 6 Oct 2015, at 6:00 AM, email@hidden wrote:
>
> Send Bluetooth-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/bluetooth-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Bluetooth-dev digest..."
>
>
> Today's Topics:
>
> 1. Pairing fails with BM3 status 705 (Nick Brook)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 05 Oct 2015 16:44:11 +0100
> From: Nick Brook <email@hidden>
> To: "email@hidden" <email@hidden>
> Subject: Pairing fails with BM3 status 705
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> I’ve build a Bluetooth LE HID device and specifically iPad 3’s running iOS 9 are having trouble connecting. From BTServer logs:
>
> 2015-10-05T09:27:32.737 LeDeviceManager.cpp:455 uuidForDevice Info LE Already tracking address "Public 00:07:80:XX:XX:XX" as device "803F5824-14F7-7924-5992-562AE314C6E9"
> 2015-10-05T09:27:32.737 LeDeviceCache.mm:495 -[LeDeviceCache writeDevice:] Info LE Writing device "803F5824-14F7-7924-5992-562AE314C6E9" to 'other devices' cache
> 2015-10-05T09:27:32.737 LeSecurityManager.cpp:1774 pairingCompleted Error LE Pairing failed to device "803F5824-14F7-7924-5992-562AE314C6E9" with error BM3 STATUS 705
>
> Any ideas? Should I just create a bug report?
>
> Nick
>
> M: +44 (0)7986 048 141
> W: http://nickbrook.me <http://nickbrook.me/>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/bluetooth-dev/attachments/20151005/3a42bd02/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> Bluetooth-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/bluetooth-dev
>
> End of Bluetooth-dev Digest, Vol 12, Issue 98
> *********************************************
Warning: Copyright ResMed. Where the contents of this email and/or attachment includes materials prepared by ResMed, the use of those
materials is subject exclusively to the conditions of engagement between ResMed and the intended recipient.
This communication is confidential and may contain legally privileged information.
By the use of email over the Internet or other communication systems, ResMed is not waiving either confidentiality of, or legal
privilege in the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call ResMed immediately on +61 2 8884 1000 Sydney, Australia.
_______________________________________________
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