SOLVED: Cannot pair to our accessory from Ipad
Had the wrong Service UUID- was using the Ipad's UUID vs the accessory version. Thanks to Ephram and all who helped! Thanks, Paul -----Original Message----- From: bluetooth-dev-bounces+paul_stuart=seektech.com@lists.apple.com [mailto:bluetooth-dev-bounces+paul_stuart=seektech.com@lists.apple.com] On Behalf Of Paul Stuart Sent: Wednesday, June 27, 2012 1:44 PM To: Ephram Cohen; bluetooth-dev@lists.apple.com Subject: RE: Cannot pair to our accessory from Ipad - [SPAM] - Bayesian Filter detected spam Hi Ephram, Thanks for your response. As far as I can tell, this is failing before I even have an RFCOMM channel up, so it's way pre-authentication. I've also found that by tweaking the services I advertise, for instance, adding a generic Serial Port service, I can get it to give me a "Make sure device is on and in range" error instead of the unrecognized device error. I've also noticed that I get the "Make sure the device is on and in range" error right after the ipad asks if we have a link key and we say no, we do not have a link key. My assumption here is that when we respond by saying we do not have a preexisting link key for that BD addr, then negotiations will begin, but it looks like the pairing process is just canceled with a disconnect message. Perhaps I'm making a fundamental mistake about how pairing works? I am able to initiate pairing and authentication from our accessory with no problems. Thanks, Paul -----Original Message----- From: bluetooth-dev-bounces+paul_stuart=seektech.com@lists.apple.com [mailto:bluetooth-dev-bounces+paul_stuart=seektech.com@lists.apple.com] On Behalf Of Ephram Cohen Sent: Tuesday, June 26, 2012 1:46 PM To: bluetooth-dev@lists.apple.com Subject: RE: Cannot pair to our accessory from Ipad - [SPAM] - Bayesian Filter detected spam Paul, If the message you are getting is the message I think it is... It means that Authentication was attempted and failed three times in a row. This is strictly an MFI issue. Something is wrong with your authentication process. I hope that I can say that here without getting into trouble. Ephram
-----Original Message----- From: bluetooth-dev-bounces+ecohen=soundid.com@lists.apple.com [mailto:bluetooth-dev-bounces+ecohen=soundid.com@lists.apple.com] On Behalf Of Joakim Linde Sent: Tuesday, June 26, 2012 12:32 AM To: Paul Stuart Cc: bluetooth-dev@lists.apple.com Subject: Re: Cannot pair to our accessory from Ipad
Paul,
You might want to check the Apple Bluetooth Guidelines and make sure your device follows them.
https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.p df
Thanks, Joakim
On Jun 25, 2012, at 2:52 PM, Paul Stuart <paul_stuart@seektech.com> wrote:
Hello, We are part of the MFI program working on a linux-based imaging accessory. Running the bluez stack on the linux side, I am able to initiate , and successfully pair with an Ipad. I can also pair both ways with an Android device with no issues.
However, I am not able to successfully pair when I initiate the process from the Ipad: it fails with "Device is not supported" and I don't know why.
Our device class is 'Imaging, camera' and we advertise the 'Wireless iAP' service. Any suggestions or insight much appreciated.
This is a dump of my hciconfig
hci0: Type: BR/EDR Bus: UART BD Address: 00:18:34:26:4E:40 ACL MTU: 1021:4 SCO MTU: 180:4 UP RUNNING PSCAN ISCAN RX bytes:1130 acl:5 sco:0 events:58 errors:0 TX bytes:1091 acl:5 sco:0 commands:40 errors:0 Features: 0xff 0xff 0x2d 0xfe 0x9b 0xff 0x79 0x83 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'dm365-evm-0'
Class: 0x080620
Service Classes: Capturing Device Class: Imaging, Camera HCI Version: 2.1 (0x4) Revision: 0x0 LMP Version: 2.1 (0x4) Subversion: 0x1d1f Manufacturer: Texas Instruments Inc. (13)
This is a dump from sdptool browse of our accessory bluetooth from my PC
Browsing 00:18:34:26:4E:40 ... Service Name: Wireless iAP Service Description: iAP over RFCOMM Service Provider: Company Inc Service RecHandle: 0x10000 Service Class ID List: UUID 128: 00000000-deca-fade-deca-deafdecacafe Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 1 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Serial Port" (0x1101) Version: 0x0100
thanks, Paul
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth- dev/ecohen%40soundid.com
This email sent to ecohen@soundid.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2180 / Virus Database: 2437/5094 - Release Date: 06/26/12
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/paul_stuart%40seektech... This email sent to paul_stuart@seektech.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/paul_stuart%40seektech... This email sent to paul_stuart@seektech.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Stuart