public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] BlueZ protocol stack on microcontroller
@ 2007-12-07 14:22 gpolack
  2007-12-07 14:37 ` Andrew Kohlsmith
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gpolack @ 2007-12-07 14:22 UTC (permalink / raw)
  To: bluez-devel

Hello,

I'm new to using Bluetooth modules and would appreciate some guidance.  
I'm connecting a Bluetooth module that has a UART interface to a  
microcontroller, and I wish to use the BlueZ protocol stack to talk to  
the module but I know nothing about how the protocol works. Can it be  
configured to talk via UART to the module? Also, what is the minimal  
set of functions one would need for simple data transfer between two  
Bluetooth modules, no stereo audio, or other fancy stuff? My questions  
will get more specific as I start understanding how this all works.

Thank you,
Jorge




-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BlueZ protocol stack on microcontroller
  2007-12-07 14:22 [Bluez-devel] BlueZ protocol stack on microcontroller gpolack
@ 2007-12-07 14:37 ` Andrew Kohlsmith
  2007-12-07 14:40 ` Peter Wippich
  2007-12-08 12:40 ` 迎宾 高
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Kohlsmith @ 2007-12-07 14:37 UTC (permalink / raw)
  To: bluez-devel

On Friday 07 December 2007 09:22:40 gpolack@engmail.uwaterloo.ca wrote:
> I'm new to using Bluetooth modules and would appreciate some guidance.
> I'm connecting a Bluetooth module that has a UART interface to a
> microcontroller, and I wish to use the BlueZ protocol stack to talk to
> the module but I know nothing about how the protocol works. Can it be
> configured to talk via UART to the module? Also, what is the minimal
> set of functions one would need for simple data transfer between two
> Bluetooth modules, no stereo audio, or other fancy stuff? My questions
> will get more specific as I start understanding how this all works.

You want to use the hciattach.  I have used this on one of my MCF5282 designs 
when talking to A7eng's bluetooth modules.

hciattach creates an hci device and brokers all requests over the UART to the 
bluetooth module.  From that point on you use everyday standard utilities to 
manipulate the hci device that was created.

-A.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BlueZ protocol stack on microcontroller
  2007-12-07 14:22 [Bluez-devel] BlueZ protocol stack on microcontroller gpolack
  2007-12-07 14:37 ` Andrew Kohlsmith
@ 2007-12-07 14:40 ` Peter Wippich
  2007-12-08 12:40 ` 迎宾 高
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Wippich @ 2007-12-07 14:40 UTC (permalink / raw)
  To: BlueZ development


Jorge,

> Hello,
> 
> I'm new to using Bluetooth modules and would appreciate some guidance.  
> I'm connecting a Bluetooth module that has a UART interface to a  
> microcontroller, and I wish to use the BlueZ protocol stack to talk to  
> the module but I know nothing about how the protocol works. Can it be  
> configured to talk via UART to the module? Also, what is the minimal  
> set of functions one would need for simple data transfer between two  
> Bluetooth modules, no stereo audio, or other fancy stuff? My questions  
> will get more specific as I start understanding how this all works.
> 
> Thank you,
> Jorge

when your micro runs linux, then you should use Bluez. But from your mail
I suggest it doesn't. Than BlueZ won't be an real option because it
heavily depends on the operating system.
 
In the latter case you may
a) buy a commercial BT stack which is not OS dependend.
b) write your own stack (I don't think to use BlueZ as a base would be a  
good idea)
c) use a BT chip / modul with build in stack

Ciao, 

Peter 




|       Peter Wippich                   Voice: +49 30 46776411          |
|       G&W Instruments GmbH            fax:   +49 30 46776419          |
|       Gustav-Meyer-Allee 25, Geb. 12  Email: pewi@gw-instruments.de   |
|       D-13355 Berlin  / Germany                                       |


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BlueZ protocol stack on microcontroller
  2007-12-07 14:22 [Bluez-devel] BlueZ protocol stack on microcontroller gpolack
  2007-12-07 14:37 ` Andrew Kohlsmith
  2007-12-07 14:40 ` Peter Wippich
@ 2007-12-08 12:40 ` 迎宾 高
  2 siblings, 0 replies; 4+ messages in thread
From: 迎宾 高 @ 2007-12-08 12:40 UTC (permalink / raw)
  To: BlueZ development


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


Hi, 
mebay you should know which protocols and which profile the Bluetooth module is working. If you plan to define a simple spec yourself, you can just use  l2cap layer or hci layer interface. 
> Date: Fri, 7 Dec 2007 09:22:40 -0500> From: gpolack@engmail.uwaterloo.ca> To: bluez-devel@lists.sourceforge.net> Subject: [Bluez-devel] BlueZ protocol stack on microcontroller> > Hello,> > I'm new to using Bluetooth modules and would appreciate some guidance. > I'm connecting a Bluetooth module that has a UART interface to a > microcontroller, and I wish to use the BlueZ protocol stack to talk to > the module but I know nothing about how the protocol works. Can it be > configured to talk via UART to the module? Also, what is the minimal > set of functions one would need for simple data transfer between two > Bluetooth modules, no stereo audio, or other fancy stuff? My questions > will get more specific as I start understanding how this all works.> > Thank you,> Jorge> > > > > -------------------------------------------------------------------------> SF.Net email is sponsored by:> Check out the new SourceForge.net Marketplace.> It's the best place to buy or sell services for
 > just about anything Open Source.> http://sourceforge.net/services/buy/index.php> _______________________________________________> Bluez-devel mailing list> Bluez-devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bluez-devel
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

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

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

[-- 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] 4+ messages in thread

end of thread, other threads:[~2007-12-08 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 14:22 [Bluez-devel] BlueZ protocol stack on microcontroller gpolack
2007-12-07 14:37 ` Andrew Kohlsmith
2007-12-07 14:40 ` Peter Wippich
2007-12-08 12:40 ` 迎宾 高

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