linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to get service name and how to connect through it
@ 2006-06-14  5:01 Gloria Saripah Patara
  2006-06-17 10:27 ` [Bluez-devel] " Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Gloria Saripah Patara @ 2006-06-14  5:01 UTC (permalink / raw)
  To: bluez-users, bluez-devel, marcel, ashuang, albert

Hallo guys!!!!
i want to try to write some scratch code about how to get service name
from a certain phone (i.e xx:xx:xx:xx:xx:xx) and how to connect
through it? what function should i use?

------------------------------------

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

* Re: [Bluez-devel] how to get service name and how to connect through it
  2006-06-14  5:01 how to get service name and how to connect through it Gloria Saripah Patara
@ 2006-06-17 10:27 ` Marcel Holtmann
  2006-06-18  9:16   ` Jan Benes
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2006-06-17 10:27 UTC (permalink / raw)
  To: Gloria Saripah Patara; +Cc: bluez-devel

Hi Gloria,

stop cross posting. There is no need for it at all. Pick one mailing
list.

And don't include personal email addresses. You either get your answers
on the mailing or you don't.

Read this document first before you post the next time:

http://www.catb.org/~esr/faqs/smart-questions.html

> i want to try to write some scratch code about how to get service name
> from a certain phone (i.e xx:xx:xx:xx:xx:xx) and how to connect
> through it? what function should i use?

Check the source code of hcitool, sdptool and rfcomm.

Regards

Marcel




_______________________________________________
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] how to get service name and how to connect through it
  2006-06-17 10:27 ` [Bluez-devel] " Marcel Holtmann
@ 2006-06-18  9:16   ` Jan Benes
  2006-06-18  9:30     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Benes @ 2006-06-18  9:16 UTC (permalink / raw)
  To: BlueZ development

Hi Marcel and Gloria,
gloria, try also googling for "albert huang bluetooth" he's got some
useful stuff in his thesis.

marcel: i've already written that but I must reiterate that the main
reason people keep asking is that there's quite a big lack of
documentation. Even if you just want to write a small utility, you
have to study quite a lot of source code. Seems to me like some kind
of sport or what under linux (I'm more of a Windows guy). Or that's my
point of view at least. I know you try, to me writing a BlueZ app
seemed much like building a new car from parts where my only reference
is an already completed car. You can peak inside, see how they did it,
but in the end, you have to do a lot of tweaking and trying of
different combinations to make it work. And for example, I never got
an answer to why the HCI scanning routine (and the hctitool utility =>
BlueZ) ignores my timeout value...also, there's lots of error codes
and nobody tells me what went wrong or why.

On 6/17/06, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Gloria,
>
> stop cross posting. There is no need for it at all. Pick one mailing
> list.
>
> And don't include personal email addresses. You either get your answers
> on the mailing or you don't.
>
> Read this document first before you post the next time:
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> > i want to try to write some scratch code about how to get service name
> > from a certain phone (i.e xx:xx:xx:xx:xx:xx) and how to connect
> > through it? what function should i use?
>
> Check the source code of hcitool, sdptool and rfcomm.
>
> Regards
>
> Marcel
>
>
>
>
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>


_______________________________________________
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] how to get service name and how to connect through it
  2006-06-18  9:16   ` Jan Benes
@ 2006-06-18  9:30     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2006-06-18  9:30 UTC (permalink / raw)
  To: BlueZ development

Hi Jan,

> i've already written that but I must reiterate that the main
> reason people keep asking is that there's quite a big lack of
> documentation. Even if you just want to write a small utility, you
> have to study quite a lot of source code. Seems to me like some kind
> of sport or what under linux (I'm more of a Windows guy). Or that's my
> point of view at least. I know you try, to me writing a BlueZ app
> seemed much like building a new car from parts where my only reference
> is an already completed car. You can peak inside, see how they did it,
> but in the end, you have to do a lot of tweaking and trying of
> different combinations to make it work. And for example, I never got
> an answer to why the HCI scanning routine (and the hctitool utility =>
> BlueZ) ignores my timeout value...also, there's lots of error codes
> and nobody tells me what went wrong or why.

for this reason we spent quite some time to design the the BlueZ D-Bus
API. It makes it easy to do the basic tasks without knowing any details
about the BlueZ internals or Bluetooth internals like HCI. And you can
use it with C, C++, Python, Java, Mono etc.

Regards

Marcel




_______________________________________________
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:[~2006-06-18  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-14  5:01 how to get service name and how to connect through it Gloria Saripah Patara
2006-06-17 10:27 ` [Bluez-devel] " Marcel Holtmann
2006-06-18  9:16   ` Jan Benes
2006-06-18  9:30     ` Marcel Holtmann

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).