public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] BlueZ integration to LINUX kernel (ARM)
@ 2007-10-19  4:55 Robin Gujjar
  2007-10-19 11:35 ` Jon Maber
  0 siblings, 1 reply; 6+ messages in thread
From: Robin Gujjar @ 2007-10-19  4:55 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 179 bytes --]

hi every body

i am newbie to bluetooth .i want to integrate blueZ to my linux kernel
2.6.22 can any body plz give me some basic step to do that .

thanks in advance

Robin Singh

[-- Attachment #1.2: Type: text/html, Size: 203 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BlueZ integration to LINUX kernel (ARM)
  2007-10-19  4:55 [Bluez-devel] BlueZ integration to LINUX kernel (ARM) Robin Gujjar
@ 2007-10-19 11:35 ` Jon Maber
  2007-10-21  7:08   ` Robin Gujjar
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Maber @ 2007-10-19 11:35 UTC (permalink / raw)
  To: BlueZ development

Robin,
the job is already done for you.  Download kernel 2.6.22 and take a look 
in net/bluetooth - you will see that the source code is there already.  
Run menuconfig and you will see bluetooth configuration options under 
the networking heading.  The fact that you are building for ARM 
shouldn't present any additional problems.
Jon

Robin Gujjar wrote:
> hi every body
>
> i am newbie to bluetooth .i want to integrate blueZ to my linux kernel
> 2.6.22 can any body plz give me some basic step to do that .
>
> thanks in advance
>
> Robin Singh
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BlueZ integration to LINUX kernel (ARM)
  2007-10-19 11:35 ` Jon Maber
@ 2007-10-21  7:08   ` Robin Gujjar
  2007-10-21 14:12     ` Jon Maber
  0 siblings, 1 reply; 6+ messages in thread
From: Robin Gujjar @ 2007-10-21  7:08 UTC (permalink / raw)
  To: BlueZ development


[-- Attachment #1.1: Type: text/plain, Size: 2095 bytes --]

hi jon
thanks for the reply .Jon i saw the source code i got it . now i want to
write a bluetooth UART device driver for my board
can you just give me some basic step how to go ahead because i am new to
linux device driver .please help any on

thanks and regrds
Robin Singh

On 10/19/07, Jon Maber <jon@cilnu.com> wrote:
>
> Robin,
> the job is already done for you.  Download kernel 2.6.22 and take a look
> in net/bluetooth - you will see that the source code is there already.
> Run menuconfig and you will see bluetooth configuration options under
> the networking heading.  The fact that you are building for ARM
> shouldn't present any additional problems.
> Jon
>
> Robin Gujjar wrote:
> > hi every body
> >
> > i am newbie to bluetooth .i want to integrate blueZ to my linux kernel
> > 2.6.22 can any body plz give me some basic step to do that .
> >
> > thanks in advance
> >
> > Robin Singh
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Bluez-devel mailing list
> > Bluez-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

[-- Attachment #1.2: Type: text/html, Size: 2887 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BlueZ integration to LINUX kernel (ARM)
  2007-10-21  7:08   ` Robin Gujjar
@ 2007-10-21 14:12     ` Jon Maber
  2007-10-22  8:21       ` [Bluez-devel] Blocking connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) => EINPROGRESS Olivier Le Pogam
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Maber @ 2007-10-21 14:12 UTC (permalink / raw)
  To: BlueZ development

Robin,

once again, the work has been done already.  You really need to study 
the documentation and configure properly.   If you have a bluetooth 
module connected to a UART and it understands one of the supported HCI 
protocols then you don't need to write any kind of driver you just need 
to tell the bluetooth subsystem which UART to talk to, what protocol to 
talk with and the baud rate etc.  Typing 'man hciattach' will explain 
this well enough.  You would also do well to buy a decent book on Bluetooth.

I would advise you to direct further questions to the manufacturer of 
your Bluetooth module.  You will need to know which HCI protocol it 
supports, the baud rate, handshaking etc.

Jon


Robin Gujjar wrote:
> hi jon
> thanks for the reply .Jon i saw the source code i got it . now i want to
> write a bluetooth UART device driver for my board
> can you just give me some basic step how to go ahead because i am new to
> linux device driver .please help any on
>
> thanks and regrds
> Robin Singh
>
> On 10/19/07, Jon Maber <jon@cilnu.com> wrote:
>   
>> Robin,
>> the job is already done for you.  Download kernel 2.6.22 and take a look
>> in net/bluetooth - you will see that the source code is there already.
>> Run menuconfig and you will see bluetooth configuration options under
>> the networking heading.  The fact that you are building for ARM
>> shouldn't present any additional problems.
>> Jon
>>
>> Robin Gujjar wrote:
>>     
>>> hi every body
>>>
>>> i am newbie to bluetooth .i want to integrate blueZ to my linux kernel
>>> 2.6.22 can any body plz give me some basic step to do that .
>>>
>>> thanks in advance
>>>
>>> Robin Singh
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>>       
>> -------------------------------------------------------------------------
>>     
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Bluez-devel mailing list
>>> Bluez-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>>
>>>       
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Bluez-devel mailing list
>> Bluez-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>>     
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* [Bluez-devel] Blocking connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) => EINPROGRESS
  2007-10-21 14:12     ` Jon Maber
@ 2007-10-22  8:21       ` Olivier Le Pogam
  2007-10-22  9:22         ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier Le Pogam @ 2007-10-22  8:21 UTC (permalink / raw)
  To: BlueZ development

Hi,

I am trying to perform RFCOMM connection to a mobile phone thanks to a 
blocking "connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)" (Blocking is 
the only way for me to get a "Connection Refused" return status !), and if 
the phone is still asking for the authorization when the connect times out, 
the connect and leaves with a EINPROGRESS status.

Could you please tell me :
- If there is a way to extend the blocking "connect" timeout ?
- When a connect exists with a "EINPROGRESS" status, does it make sense to 
try another "connect" on the same socket without doing a complete retry 
(close / socket / bind / connect) ?

Thanks a lot,
Oli 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Blocking connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) => EINPROGRESS
  2007-10-22  8:21       ` [Bluez-devel] Blocking connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) => EINPROGRESS Olivier Le Pogam
@ 2007-10-22  9:22         ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2007-10-22  9:22 UTC (permalink / raw)
  To: Olivier Le Pogam, BlueZ development

Hi Oli,

> I am trying to perform RFCOMM connection to a mobile phone thanks to a 
> blocking "connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)" (Blocking is 
> the only way for me to get a "Connection Refused" return status !), and if 
> the phone is still asking for the authorization when the connect times out, 
> the connect and leaves with a EINPROGRESS status.

I have no idea what you are trying to achieve here. Anyway, the RFCOMM
socket behaves like every other TCP socket. So in the non-blocking case
apply the same stuff you use when programming TCP.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2007-10-22  9:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19  4:55 [Bluez-devel] BlueZ integration to LINUX kernel (ARM) Robin Gujjar
2007-10-19 11:35 ` Jon Maber
2007-10-21  7:08   ` Robin Gujjar
2007-10-21 14:12     ` Jon Maber
2007-10-22  8:21       ` [Bluez-devel] Blocking connect(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) => EINPROGRESS Olivier Le Pogam
2007-10-22  9:22         ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox