2004-12-02 00:18:58

by Marco Trudel

[permalink] [raw]
Subject: [Bluez-users] general rfcomm questions

Hello

i now tried and read quite a few things about rfcomm and multiple
connections... but still don't really know what i was searching for...
maybee someone here can help me (hopefully).

i have one device that needs to parallely serve a service to multiple
clients via rfcomm.
- is it possible that the service runns on multiple rfcommchannels, one
for each clients? what's the limit?
- or is the solution to wait for connections, and on a incoming
connection close it to connect to that device (having the local service
waiting for new connections)...
- does a inquiry block the whole device? i noticed that if a connection
between my device and a client is etablished, i'm unable to run "hcitool
scan"...

i'd really appreciate if someone had the time to share it's knowledge...

kind regards
Marco Trudel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-12-02 06:54:17

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] general rfcomm questions

Hi Marco,

> i now tried and read quite a few things about rfcomm and multiple
> connections... but still don't really know what i was searching for...
> maybee someone here can help me (hopefully).
>
> i have one device that needs to parallely serve a service to multiple
> clients via rfcomm.
> - is it possible that the service runns on multiple rfcommchannels, one
> for each clients? what's the limit?

you don't need different RFCOMM channels if the underlaying ACL/L2CAP
connection is not the same.

> - or is the solution to wait for connections, and on a incoming
> connection close it to connect to that device (having the local service
> waiting for new connections)...

Don't understand what this is trying to do.

> - does a inquiry block the whole device? i noticed that if a connection
> between my device and a client is etablished, i'm unable to run "hcitool
> scan"...

This depends on the firmware version. See other discussion in the
mailing list archive.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users