Return-Path: Message-ID: <20060413210242.53178.qmail@web61218.mail.yahoo.com> From: deva seetharam To: bluez-users@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1239310292-1144962162=:53157" Subject: [Bluez-users] connecting multiple rfcomm clients to a single rfcomm socket server 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: Thu, 13 Apr 2006 14:02:42 -0700 (PDT) --0-1239310292-1144962162=:53157 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. --0-1239310292-1144962162=:53157 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. --0-1239310292-1144962162=:53157-- ------------------------------------------------------- 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