Return-Path: Message-ID: <20060414200122.77215.qmail@web61219.mail.yahoo.com> From: deva seetharam Subject: Re: [Bluez-users] connecting multiple rfcomm clients to a single rfcomm socket server To: bluez-users@lists.sourceforge.net In-Reply-To: <20060413210242.53178.qmail@web61218.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1419446498-1145044882=:76931" Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 14 Apr 2006 13:01:22 -0700 (PDT) --0-1419446498-1145044882=:76931 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hello, i noticed something interesting: it seems like the setting the options in config file doesn't seem to be working. if the options are set on command line (for e.g., hciconfig hci0 lm accept,master), it seems to work. am i missing something? deva deva seetharam wrote: hello, i am trying to connect multiple bluetooth rfcomm clients to a single rfcomm server. only the first client is able to connect, the subsequent ones just fail. here is my setup: server ==== kernel: debian 2.6.12-1-686 bluez version 2.25 hardware: D-Link DBT-120 bluetooth dongle client ==== National lmx9820 bluetooth module on the server, i edited hcid.conf to change link mode to lm accept,master; despite that the linkmode always comes up as "slave, accept" when i do hciconfig -a. i have included more info below. pls. see if you could give me some debugging tips. thanks in advance, deva when i do a hciconfig -a, i get the following: hci0: Type: USB BD Address: 00:0D:88:C0:61:55 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:2304 acl:23 sco:0 events:65 errors:0 TX bytes:1429 acl:23 sco:0 commands:29 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: Link mode: SLAVE ACCEPT Name: 'BlueZ (0)' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb Manufacturer: Cambridge Silicon Radio (10) from a different linux box (with another d-link dbt-120 bluetooth dongle), when i run hctiool info: Requesting information ... BD Address: 00:0D:88:C0:61:55 Device Name: BlueZ (0) LMP Version: 1.1 (0x1) LMP Subversion: 0x1bb Manufacturer: Cambridge Silicon Radio (10) Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 <3-slot packets> <5-slot packets> --------------------------------- Blab-away for as little as 1?/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice. --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. --0-1419446498-1145044882=:76931 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hello,
i noticed something interesting:

it seems like the setting the options in config file doesn't seem to be working.
if the options are set on command line (for e.g., hciconfig hci0 lm accept,master), it seems to work.

am i missing something?

deva

deva seetharam <tagsense@yahoo.com> wrote:
hello,
i am trying to connect multiple bluetooth rfcomm clients to a single rfcomm server. only the first client is able to connect, the subsequent ones just fail.

here is my setup:
server
====
kernel: debian 2.6.12-1-686
bluez version 2.25
hardware: D-Link DBT-120 bluetooth dongle

client
====
National lmx9820 bluetooth module

on the server, i edited hcid.conf to change link mode to
lm accept,master;

despite that the linkmode always comes up as "slave, accept" when i do hciconfig -a.

i have included more info below.  pls. see if you could give me some debugging tips.

thanks in advance,
deva


when i do a hciconfig -a, i get the following:

hci0:   Type: USB
        BD Address: 00:0D:88:C0:61:55 ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:2304 acl:23 sco:0 events:65 errors:0
        TX bytes:1429 acl:23 sco:0 commands:29 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy:
        Link mode: SLAVE ACCEPT
        Name: 'BlueZ (0)'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb
        Manufacturer: Cambridge Silicon Radio (10)

from a different linux box (with another d-link dbt-120 bluetooth dongle), when i run hctiool info:

Requesting information ...
        BD Address:  00:0D:88:C0:61:55
        Device Name: BlueZ (0)
        LMP Version: 1.1 (0x1) LMP Subversion: 0x1bb
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
                <HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
                <power control> <transparent SCO>


Blab-away for as little as 1?/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. --0-1419446498-1145044882=:76931-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users