Linux bluetooth development
 help / color / mirror / Atom feed
From: Arthur LAMBERT <lambertarthur22@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: issue since bluez 48 with ios pairing only
Date: Tue, 20 Mar 2018 12:27:49 +0100	[thread overview]
Message-ID: <20180320112749.GB21933@arthur-bzh> (raw)

We used bluez in a firmware on a device used as peripheral with custom services and characteristics.
We are able to connect to this device with ios/android mobile app application and homemade linux client

We have an issue since bluez 48 and also on bluez 49 concerning pairing process with IOS.

After the pairing process, a pop up appears on IOS :

<<<<
Bluetooth Pairing Request
"XXXX" would like to pair with your Iphone

Cancel 	     Pair
>>>>

Before bluez 48, we did not see this pop up. Users have to click on Pair button to finish
the pairing process; Then in IOS side, a Disconnect trigger in code is no more able
to disconnect properly the device.

Are we doing something wrong to get this issue on bluez 48 ?

Current way to init our hci device :

btmgmt -i hci0 power off
btmgmt -i hci0 le on
btmgmt -i hci0 connectable on
btmgmt -i hci0 bredr off
btmgmt -i hci0 name XXXX
btmgmt -i hci0 advertising on
btmgmt -i hci0 power on

# btmgmt -i hci0 info
hci0:   Primary controller
addr XX:XX:XX:XX:XX:XX version 6 manufacturer 15 class 0x000000
supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr hs le advertising secure-conn debug-keys privacy static-addr
current settings: powered connectable bondable le advertising secure-conn
name TESTBENCH-V2
short name

I tried to play with other settings with btmgmt without be able to fix our issue.

Thanks,
Arthur.

             reply	other threads:[~2018-03-20 11:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-20 11:27 Arthur LAMBERT [this message]
2018-03-20 11:48 ` issue since bluez 48 with ios pairing only Luiz Augusto von Dentz
     [not found] ` <CAOVXOEb9kzkYQP1YF5QMS2DBN=FWL0-PkENne8dOVcvbLFta2w@mail.gmail.com>
2018-03-20 11:53   ` Michael Simon
2018-03-20 15:59   ` lambertarthur22

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180320112749.GB21933@arthur-bzh \
    --to=lambertarthur22@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox