* Creation of AF_BLUETOOTH socket with HCI_DEV__REG
@ 2008-10-30 20:00 pavan_savoy
2008-10-30 23:22 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: pavan_savoy @ 2008-10-30 20:00 UTC (permalink / raw)
To: linux-bluetooth
Hi,
Can there be a scenario where an application can do a hci_open_dev and use the Bluetooth Socket, without actually the HCID recieving the HCI_DEV_REG ?
Say a scenario where in only hciattach has been done [UART device] and HCID isn't run at all. Then would any other application make use of the hci_open_dev calls ?
Thanks & Regards,
Pavan Savoy.
--
Hyundai to launch the i20 in India. Catch the exclusive preview on ZigWheels.com
http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Creation of AF_BLUETOOTH socket with HCI_DEV__REG
2008-10-30 20:00 Creation of AF_BLUETOOTH socket with HCI_DEV__REG pavan_savoy
@ 2008-10-30 23:22 ` Marcel Holtmann
2008-11-03 16:26 ` pavan_savoy
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2008-10-30 23:22 UTC (permalink / raw)
To: pavan_savoy; +Cc: linux-bluetooth
Hi Pavan,
> Can there be a scenario where an application can do a hci_open_dev
> and use the Bluetooth Socket, without actually the HCID recieving
> the HCI_DEV_REG ?
>
> Say a scenario where in only hciattach has been done [UART device]
> and HCID isn't run at all. Then would any other application make use
> of the hci_open_dev calls ?
I have really no idea what you are trying to achieve here. hciattach
and hcid are not tight together at all.
Regards
Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Creation of AF_BLUETOOTH socket with HCI_DEV__REG
2008-10-30 23:22 ` Marcel Holtmann
@ 2008-11-03 16:26 ` pavan_savoy
2008-11-30 10:35 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: pavan_savoy @ 2008-11-03 16:26 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: linux-bluetooth
Hi,
I have an application that does a hci_open_dev, and what I am trying to understand from the stack code is why can't [and further on how can..] my application do the hci_open_dev [basically the socket(AF_BLUETOOTH)], without the hcid service being On.
note: I have to do hciattach because I need to use UART.
----- Original Message -----
From: Marcel Holtmann <marcel@holtmann.org>
To: pavan savoy <pavan_savoy@indiatimes.com>
Cc: linux-bluetooth@vger.kernel.org
Sent: Fri, 31 Oct 2008 04:52:26 +0530 (IST)
Subject: Re: Creation of AF_BLUETOOTH socket with HCI_DEV__REG
Hi Pavan,
> Can there be a scenario where an application can do a hci_open_dev
> and use the Bluetooth Socket, without actually the HCID recieving
> the HCI_DEV_REG ?
>
> Say a scenario where in only hciattach has been done [UART device]
> and HCID isn't run at all. Then would any other application make use
> of the hci_open_dev calls ?
I have really no idea what you are trying to achieve here. hciattach
and hcid are not tight together at all.
Regards
Marcel
--
Hyundai to launch the i20 in India. Catch the exclusive preview on ZigWheels.com
http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Creation of AF_BLUETOOTH socket with HCI_DEV__REG
2008-11-03 16:26 ` pavan_savoy
@ 2008-11-30 10:35 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2008-11-30 10:35 UTC (permalink / raw)
To: pavan_savoy; +Cc: linux-bluetooth
Hi,
> I have an application that does a hci_open_dev, and what I am trying to understand from the stack code is why can't [and further on how can..] my application do the hci_open_dev [basically the socket(AF_BLUETOOTH)], without the hcid service being On.
>
> note: I have to do hciattach because I need to use UART.
it still makes no sense. And you don't need hcid to make Bluetooth work.
However you will be fairly limited to what you can do when it you run a
system without hcid or bluetoothd for that matter.
Regards
Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-30 10:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 20:00 Creation of AF_BLUETOOTH socket with HCI_DEV__REG pavan_savoy
2008-10-30 23:22 ` Marcel Holtmann
2008-11-03 16:26 ` pavan_savoy
2008-11-30 10:35 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox