All of lore.kernel.org
 help / color / mirror / Atom feed
* RFCOMM server and current Bluez
@ 2017-12-11 23:44 John Klug
  2017-12-12 15:52 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: John Klug @ 2017-12-11 23:44 UTC (permalink / raw)
  To: linux-bluetooth

Would anyone know of any public examples of using RFCOMM with current
methods, or does RFCOMM require compatibility mode and SPD?

There does not seem to be any RFCOMM server examples included with Bluez.

Or would there be any detailed documentation on how an RFCOMM server
would be written?

Thanks.

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

* Re: RFCOMM server and current Bluez
  2017-12-11 23:44 RFCOMM server and current Bluez John Klug
@ 2017-12-12 15:52 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2017-12-12 15:52 UTC (permalink / raw)
  To: John Klug; +Cc: linux-bluetooth

Hi John,

> Would anyone know of any public examples of using RFCOMM with current
> methods, or does RFCOMM require compatibility mode and SPD?
> 
> There does not seem to be any RFCOMM server examples included with Bluez.
> 
> Or would there be any detailed documentation on how an RFCOMM server
> would be written?

look at doc/profile-api.txt and you will find Python based test example for it. Also profiles/iap/main.c is a super simple (also incomplete) example for a custom service like Apple’s iAP.

Regards

Marcel


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

end of thread, other threads:[~2017-12-12 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-11 23:44 RFCOMM server and current Bluez John Klug
2017-12-12 15:52 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.