linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iOS 8 can't discover device
@ 2015-09-06 14:23 Kyle Shneider
  2015-09-07  7:25 ` Andrejs Hanins
  0 siblings, 1 reply; 7+ messages in thread
From: Kyle Shneider @ 2015-09-06 14:23 UTC (permalink / raw)
  To: linux-bluetooth

Hello again.

I'm testing bluez 5.33 on raspberry pi. After successfully launching
bluetoothd, powering hci-device up and setting it 'Discoverable' (done
through DBus API) iPad mini can't see it. In other way shitty android
4.1.1 tablet finds raspberry in a moment.
Have i missed something?
Did anyone have successful experience of pairing apple devices and
latest versions of bluez?
BTW ble adapter: cambridge silicon radio.

-- 
Kyle Shneider

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: iOS 8 can't discover device
  2015-09-06 14:23 iOS 8 can't discover device Kyle Shneider
@ 2015-09-07  7:25 ` Andrejs Hanins
  2015-09-07 16:47   ` Kyle Shneider
  0 siblings, 1 reply; 7+ messages in thread
From: Andrejs Hanins @ 2015-09-07  7:25 UTC (permalink / raw)
  To: Kyle Shneider, linux-bluetooth

Hi Kyle,

On 09/06/2015 05:23 PM, Kyle Shneider wrote:
> Hello again.
> 
> I'm testing bluez 5.33 on raspberry pi. After successfully launching
> bluetoothd, powering hci-device up and setting it 'Discoverable' (done
> through DBus API) iPad mini can't see it. In other way shitty android
> 4.1.1 tablet finds raspberry in a moment.
> Have i missed something?
iOS will only show you devices which implement at least one of the Bluetooth profiles supported by iOS (https://support.apple.com/en-us/HT204387).
So you need to have appropriate SDP record with supported profile. I would suggest to start with org.bluez.ProfileManager1 D-Bus interface.
> Did anyone have successful experience of pairing apple devices and
> latest versions of bluez?
> BTW ble adapter: cambridge silicon radio.
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: iOS 8 can't discover device
  2015-09-07  7:25 ` Andrejs Hanins
@ 2015-09-07 16:47   ` Kyle Shneider
  2015-09-08  5:47     ` Andrejs Hanins
  0 siblings, 1 reply; 7+ messages in thread
From: Kyle Shneider @ 2015-09-07 16:47 UTC (permalink / raw)
  To: Andrejs Hanins, linux-bluetooth

2015-09-07 10:25 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
>
> Hi Kyle,
>
> On 09/06/2015 05:23 PM, Kyle Shneider wrote:
> > Hello again.
> >
> > I'm testing bluez 5.33 on raspberry pi. After successfully launching
> > bluetoothd, powering hci-device up and setting it 'Discoverable' (done
> > through DBus API) iPad mini can't see it. In other way shitty android
> > 4.1.1 tablet finds raspberry in a moment.
> > Have i missed something?
> iOS will only show you devices which implement at least one of the Bluetooth profiles supported by iOS (https://support.apple.com/en-us/HT204387).
> So you need to have appropriate SDP record with supported profile. I would suggest to start with org.bluez.ProfileManager1 D-Bus interface.
> > Did anyone have successful experience of pairing apple devices and
> > latest versions of bluez?
> > BTW ble adapter: cambridge silicon radio.
> >


Thanks for the answer Andrejs.
I don't understand. What about GATT profile? Can iOS device initialize
pairing via GATT profile?

-- 
Kyle Shneider

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: iOS 8 can't discover device
  2015-09-07 16:47   ` Kyle Shneider
@ 2015-09-08  5:47     ` Andrejs Hanins
  2015-09-30 17:43       ` Kyle Shneider
  0 siblings, 1 reply; 7+ messages in thread
From: Andrejs Hanins @ 2015-09-08  5:47 UTC (permalink / raw)
  To: Kyle Shneider, linux-bluetooth

Hi,

On 09/07/2015 07:47 PM, Kyle Shneider wrote:
> 2015-09-07 10:25 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
>>
>> Hi Kyle,
>>
>> On 09/06/2015 05:23 PM, Kyle Shneider wrote:
>>> Hello again.
>>>
>>> I'm testing bluez 5.33 on raspberry pi. After successfully launching
>>> bluetoothd, powering hci-device up and setting it 'Discoverable' (done
>>> through DBus API) iPad mini can't see it. In other way shitty android
>>> 4.1.1 tablet finds raspberry in a moment.
>>> Have i missed something?
>> iOS will only show you devices which implement at least one of the Bluetooth profiles supported by iOS (https://support.apple.com/en-us/HT204387).
>> So you need to have appropriate SDP record with supported profile. I would suggest to start with org.bluez.ProfileManager1 D-Bus interface.
>>> Did anyone have successful experience of pairing apple devices and
>>> latest versions of bluez?
>>> BTW ble adapter: cambridge silicon radio.
>>>
> 
> 
> Thanks for the answer Andrejs.
> I don't understand. What about GATT profile?
I think, it is the same - you need to advertise a service supported by iOS in order for the BLE device to appear in standard iOS Bluetooth device list. However, if you write your own app, there is an access to all BLE devices seen around.
Can iOS device initialize
> pairing via GATT profile?
Yes. It worked for me when I tried something like kernel 3.19 and BlueZ 5.32 or so. I was using LightBlue app for my testing.
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: iOS 8 can't discover device
  2015-09-08  5:47     ` Andrejs Hanins
@ 2015-09-30 17:43       ` Kyle Shneider
  2015-10-03 16:06         ` Fwd: " Kyle Shneider
  0 siblings, 1 reply; 7+ messages in thread
From: Kyle Shneider @ 2015-09-30 17:43 UTC (permalink / raw)
  To: Andrejs Hanins, linux-bluetooth

2015-09-08 8:47 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
> Hi,
>
> On 09/07/2015 07:47 PM, Kyle Shneider wrote:
>> 2015-09-07 10:25 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
>>>
>>> Hi Kyle,
>>>
>>> On 09/06/2015 05:23 PM, Kyle Shneider wrote:
>>>> Hello again.
>>>>
>>>> I'm testing bluez 5.33 on raspberry pi. After successfully launching
>>>> bluetoothd, powering hci-device up and setting it 'Discoverable' (done
>>>> through DBus API) iPad mini can't see it. In other way shitty android
>>>> 4.1.1 tablet finds raspberry in a moment.
>>>> Have i missed something?
>>> iOS will only show you devices which implement at least one of the Bluetooth profiles supported by iOS (https://support.apple.com/en-us/HT204387).
>>> So you need to have appropriate SDP record with supported profile. I would suggest to start with org.bluez.ProfileManager1 D-Bus interface.
>>>> Did anyone have successful experience of pairing apple devices and
>>>> latest versions of bluez?
>>>> BTW ble adapter: cambridge silicon radio.
>>>>
>>
>>
>> Thanks for the answer Andrejs.
>> I don't understand. What about GATT profile?
> I think, it is the same - you need to advertise a service supported by iOS in order for the BLE device to appear in standard iOS Bluetooth device list. However, if you write your own app, there is an access to all BLE devices seen around.
> Can iOS device initialize
>> pairing via GATT profile?
> Yes. It worked for me when I tried something like kernel 3.19 and BlueZ 5.32 or so. I was using LightBlue app for my testing.
>>

So after installing latest kernel 4.1.8 problem doesn't solved for me.
On raspberry i launch:
- bluetoothd -nE
- bluez-5.34/test/test-gatt-profile
- bluez-5.34/test/example-gatt-server
- bluez-5.34/test/simple-agent

Neither iOS LightBlue application can't see raspberry nor Android BLE
scanner. Have i missed something?

-- 
Kyle Shneider

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Fwd: iOS 8 can't discover device
  2015-09-30 17:43       ` Kyle Shneider
@ 2015-10-03 16:06         ` Kyle Shneider
  2015-10-03 20:55           ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 7+ messages in thread
From: Kyle Shneider @ 2015-10-03 16:06 UTC (permalink / raw)
  To: linux-bluetooth

2015-09-08 8:47 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
> Hi,
>
> On 09/07/2015 07:47 PM, Kyle Shneider wrote:
>> 2015-09-07 10:25 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
>>>
>>> Hi Kyle,
>>>
>>> On 09/06/2015 05:23 PM, Kyle Shneider wrote:
>>>> Hello again.
>>>>
>>>> I'm testing bluez 5.33 on raspberry pi. After successfully launching
>>>> bluetoothd, powering hci-device up and setting it 'Discoverable' (done
>>>> through DBus API) iPad mini can't see it. In other way shitty android
>>>> 4.1.1 tablet finds raspberry in a moment.
>>>> Have i missed something?
>>> iOS will only show you devices which implement at least one of the Bluetooth profiles supported by iOS (https://support.apple.com/en-us/HT204387).
>>> So you need to have appropriate SDP record with supported profile. I would suggest to start with org.bluez.ProfileManager1 D-Bus interface.
>>>> Did anyone have successful experience of pairing apple devices and
>>>> latest versions of bluez?
>>>> BTW ble adapter: cambridge silicon radio.
>>>>
>>
>>
>> Thanks for the answer Andrejs.
>> I don't understand. What about GATT profile?
> I think, it is the same - you need to advertise a service supported by iOS in order for the BLE device to appear in standard iOS Bluetooth device list. However, if you write your own app, there is an access to all BLE devices seen around.
> Can iOS device initialize
>> pairing via GATT profile?
> Yes. It worked for me when I tried something like kernel 3.19 and BlueZ 5.32 or so. I was using LightBlue app for my testing.
>>

So after installing latest kernel 4.1.8 problem doesn't solved for me.
On raspberry i launch:
- bluetoothd -nE
- bluez-5.34/test/test-gatt-profile
- bluez-5.34/test/example-gatt-server
- bluez-5.34/test/simple-agent

Neither iOS LightBlue application can't see raspberry nor Android BLE
scanner. Have i missed something?

--
Kyle Shneider


-- 
Kyle Shneider

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: iOS 8 can't discover device
  2015-10-03 16:06         ` Fwd: " Kyle Shneider
@ 2015-10-03 20:55           ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 7+ messages in thread
From: Luiz Augusto von Dentz @ 2015-10-03 20:55 UTC (permalink / raw)
  To: Kyle Shneider; +Cc: linux-bluetooth@vger.kernel.org

Hi Kyle,

On Sat, Oct 3, 2015 at 7:06 PM, Kyle Shneider <shneiderkyle@gmail.com> wrote:
> 2015-09-08 8:47 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
>> Hi,
>>
>> On 09/07/2015 07:47 PM, Kyle Shneider wrote:
>>> 2015-09-07 10:25 GMT+03:00 Andrejs Hanins <andrejs.hanins@ubnt.com>:
>>>>
>>>> Hi Kyle,
>>>>
>>>> On 09/06/2015 05:23 PM, Kyle Shneider wrote:
>>>>> Hello again.
>>>>>
>>>>> I'm testing bluez 5.33 on raspberry pi. After successfully launching
>>>>> bluetoothd, powering hci-device up and setting it 'Discoverable' (done
>>>>> through DBus API) iPad mini can't see it. In other way shitty android
>>>>> 4.1.1 tablet finds raspberry in a moment.
>>>>> Have i missed something?
>>>> iOS will only show you devices which implement at least one of the Bluetooth profiles supported by iOS (https://support.apple.com/en-us/HT204387).
>>>> So you need to have appropriate SDP record with supported profile. I would suggest to start with org.bluez.ProfileManager1 D-Bus interface.
>>>>> Did anyone have successful experience of pairing apple devices and
>>>>> latest versions of bluez?
>>>>> BTW ble adapter: cambridge silicon radio.
>>>>>
>>>
>>>
>>> Thanks for the answer Andrejs.
>>> I don't understand. What about GATT profile?
>> I think, it is the same - you need to advertise a service supported by iOS in order for the BLE device to appear in standard iOS Bluetooth device list. However, if you write your own app, there is an access to all BLE devices seen around.
>> Can iOS device initialize
>>> pairing via GATT profile?
>> Yes. It worked for me when I tried something like kernel 3.19 and BlueZ 5.32 or so. I was using LightBlue app for my testing.
>>>
>
> So after installing latest kernel 4.1.8 problem doesn't solved for me.
> On raspberry i launch:
> - bluetoothd -nE
> - bluez-5.34/test/test-gatt-profile
> - bluez-5.34/test/example-gatt-server
> - bluez-5.34/test/simple-agent
>
> Neither iOS LightBlue application can't see raspberry nor Android BLE
> scanner. Have i missed something?

Have you tried example-advertising? iirc we are not adding any name to
scan response thus it might show with just the address.


-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-03 20:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-06 14:23 iOS 8 can't discover device Kyle Shneider
2015-09-07  7:25 ` Andrejs Hanins
2015-09-07 16:47   ` Kyle Shneider
2015-09-08  5:47     ` Andrejs Hanins
2015-09-30 17:43       ` Kyle Shneider
2015-10-03 16:06         ` Fwd: " Kyle Shneider
2015-10-03 20:55           ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).