public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bluez-users] Piconet problems
@ 2005-01-14 10:21 jers
  2005-01-14 21:18 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2005-01-14 10:21 UTC (permalink / raw)
  To: bluez-users

Hi Marcel, 
 
> Hi Jers, 
>  
> > hcid was not running. I've solved t=
he inconsistency but no my problem. 
> >  
> > Hi tried to create conne=
ction on slave1 side by 
> > # hcitool cc <master_addr> 
> > and so =0D
=
> > # hcitool con 
> > lists me the established connection. 
>  
> sen=
d us the outputs of "hciconfig -a" for all of your devices. And don't =0D
=
> play with "hcitool cc". If you wanna test stuff then use l2test. 
 =0D
=
hci0:   Type: USB 
        BD Address: 00:08:E0:01:9E:86 ACL MTU: 192:8 =
 SCO MTU: 64:8 
        UP RUNNING PSCAN ISCAN 
        RX bytes:653 ac=
l:0 sco:0 events:19 errors:0 
        TX bytes:314 acl:0 sco:0 commands:=
18 errors:0 
        Features: 0xff 0xff 0x0b 0x00 0x00 0x00 0x00 0x00 =0D
=
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link p=
olicy: RSWITCH HOLD SNIFF PARK 
        Link mode: SLAVE ACCEPT 
      =
  Name: 'PC A' 
        Class: 0x3e0100 
        Service Classes: Netwo=
rking, Rendering, Capturing 
        Device Class: Computer, Uncategoriz=
ed 
        HCI Ver: 1.1 (0x1) HCI Rev: 0x33c LMP Ver: 1.1 (0x1) LMP Sub=
ver: 0x33c 
        Manufacturer: Cambridge Silicon Radio (10) 
 
hci0=
:   Type: USB 
        BD Address: 00:E0:98:85:A1:64 ACL MTU: 192:8  SCO=
 MTU: 64:8 
        UP RUNNING PSCAN ISCAN 
        RX bytes:99 acl:0 s=
co:0 events:13 errors:0 
        TX bytes:296 acl:0 sco:0 commands:12 er=
rors:0 
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 
    =
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link polic=
y: RSWITCH HOLD SNIFF PARK 
        Link mode: SLAVE ACCEPT 
        Na=
me: 'BlueZ (0)' 
        Class: 0x3e0100 
        Service Classes: Netw=
orking, Rendering, Capturing 
        Device Class: Computer, Uncategori=
zed 
        HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Su=
bver: 0x175 
        Manufacturer: Cambridge Silicon Radio (10) 
 
 =0D
=
hci0:   Type: USB 
        BD Address: 00:E0:98:85:A1:5F ACL MTU: 192:8 =
 SCO MTU: 64:8 
        UP RUNNING PSCAN ISCAN 
        RX bytes:99 acl=
:0 sco:0 events:13 errors:0 
        TX bytes:296 acl:0 sco:0 commands:1=
2 errors:0 
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 =0D
=
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link p=
olicy: RSWITCH HOLD SNIFF PARK 
        Link mode: SLAVE ACCEPT 
      =
  Name: 'BlueZ (0)' 
        Class: 0x3e0100 
        Service Classes: =
Networking, Rendering, Capturing 
        Device Class: Computer, Uncate=
gorized 
        HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LM=
P Subver: 0x175 
        Manufacturer: Cambridge Silicon Radio (10) 
  =

 
 
> > After that, I tried to create the second connection on slave2=
 side by running the same command (hcitool cc 
<master_addr>) and I obta=
in the following error: 
> > # Can't create connectio: input/output erro=
r. 
>  
> Run "hcidump -x" as root and show us the output. 
 
HCIDump=
 - HCI packet analyzer ver 1.16 
device: hci0 snap_len: 1028 filter: 0xf=
fffffff 
 
Thanks. 
Regards. 
Jers 
 
 
>  
>  
>  
> ---------=
---------------------------------------------- 
> The SF.Net email is sp=
onsored by: Beat the post-holiday blues 
> Get a FREE limited edition So=
urceForge.net t-shirt from ThinkGeek. 
> It's fun and FREE -- well, almo=
st....http://www.thinkgeek.com/sfshirt 
> ______________________________=
_________________ 
> Bluez-users mailing list 
> Bluez-users@lists.sour=
ceforge.net 
> https://lists.sourceforge.net/lists/listinfo/bluez-users =

>  =0A=0A=0A=0A________________________________________________________=
____=0ALibero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl =
senza limiti a meno di 1 euro al giorno. =0AAbbonati subito senza costi d=
i attivazione su http://www.libero.it=0A=0A



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Bluez-users] Piconet problems
@ 2005-07-18 18:27 Arlen Nascimento
  2005-07-18 18:36 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: Arlen Nascimento @ 2005-07-18 18:27 UTC (permalink / raw)
  To: bluez-users

Hi all,

I'm building a piconet with five slaves but i'm facing a problem (i
followed Personal Area Network HOWTO from bluez home page).
I just can ping (or call) the first slave added, e.g.:
master ip: 10.0.1.1
slaves ip from 10.0.1.2 to 10.0.1.6.
i can ping or make calls from/to 10.0.1.1 to/from 10.0.1.2, when i try
to ping any other slave i receive Host Unreachable message.
Any help?

Regards


--=20
Arlen Nascimento


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-24 11:14 jers
  2005-01-24 12:25 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2005-01-24 11:14 UTC (permalink / raw)
  To: bluez-users

Hi, 
 
I'm very sorry, but still it does not work! 
Jers 
 
> Hi Jer=
s, 
>  
> > At the moment, my dongles seem to work better. I tried agai=
n  
> > to create a piconet (1 master,2 slaves) but I got the same probl=
em of the early stage, i.e., 
> > I can only create the first connection=
 and interface bnep. 
> > Unlike before, now hcidump works and we can se=
e the packets. 
>  
> you run into a page timeout (error code 0x04) wit=
h your second 
> connection. Why don't you use hcid? It will bring up yo=
ur devices with 
> the correct settings. Make sure that the device with =
the newest firmware 
> is your desired master device. 
>  
> Regards =0D
=
>  
> Marcel 
>  
>  
>  
>  
> -----------------------------------=
-------------------- 
> This SF.Net email is sponsored by: IntelliVIEW -=
- Interactive Reporting 
> Tool for open source databases. Create drag-&=
-drop reports. Save time 
> by over 75%! Publish reports on the web. Exp=
ort to DOC, XLS, RTF, etc. 
> Download a FREE copy at http://www.intelli=
view.com/go/osdn_nl 
> _______________________________________________ =0D
=
> Bluez-users mailing list 
> Bluez-users@lists.sourceforge.net 
> http=
s://lists.sourceforge.net/lists/listinfo/bluez-users 
>  =0A=0A=0A=0A___=
_________________________________________________________=0A6X velocizzar=
e la tua navigazione a 56k? 6X Web Accelerator di Libero!=0AScaricalo su =
INTERNET GRATIS 6X http://www.libero.it=0A



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-20 15:49 jers
  2005-01-21  0:42 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2005-01-20 15:49 UTC (permalink / raw)
  To: bluez-users

Hi Marcel,

At the moment, my dongles seem to work better. I tried agai=
n 
to create a piconet (1 master,2 slaves) but I got the same problem of=
 the early stage, i.e.,
I can only create the first connection and inter=
face bnep.
Unlike before, now hcidump works and we can see the packets.=0D
=

If you don't mind, I'll write you the run commands and the hcidump outp=
uts.

-------------------
On the master side:

# hciconfig hci0 up=0D
=

< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0
> HC=
I Event: Command Complete (0x0e) plen 12
  01 03 10 00 FF FF 0B 00 00 00=
 00 00
< HCI Command: Read Buffer Size (0x04|0x0005) plen 0
> HCI Event=
: Command Complete (0x0e) plen 11
  01 05 10 00 C0 00 40 08 00 08 00
< =
HCI Command: Read BD ADDR (0x04|0x0009) plen 0
> HCI Event: Command Comp=
lete (0x0e) plen 10
  01 09 10 00 AF 9D 01 E0 08 00
< HCI Command: Set =
Event Filter (0x03|0x0005) plen 1
  00
> HCI Event: Command Complete (0=
x0e) plen 4
  01 05 0C 00
< HCI Command: Write Page Timeout (0x03|0x001=
8) plen 2
  00 80
> HCI Event: Command Complete (0x0e) plen 4
  01 18 =
0C 00
< HCI Command: Write Connection Accept Timeout (0x03|0x0016) plen =
2
  00 7D
> HCI Event: Command Complete (0x0e) plen 4
  01 16 0C 00=0D
=
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
  03
> HCI Event:=
 Command Complete (0x0e) plen 4
  01 1A 0C 00


  # pand --listen --m=
aster --role GN
  (No packets)


---------------------
  On the slav=
e1 side:

  # hciconfig hci0 up

< HCI Command: Read Local Supported =
Features (0x04|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen =
12
  01 03 10 00 FF FF 0B 00 00 00 00 00
< HCI Command: Read Buffer Siz=
e (0x04|0x0005) plen 0
> HCI Event: Command Complete (0x0e) plen 11
  0=
1 05 10 00 C0 00 40 08 00 08 00
< HCI Command: Read BD ADDR (0x04|0x0009=
) plen 0
> HCI Event: Command Complete (0x0e) plen 10
  01 09 10 00 86 =
9E 01 E0 08 00
< HCI Command: Set Event Filter (0x03|0x0005) plen 1
  0=
0
> HCI Event: Command Complete (0x0e) plen 4
  01 05 0C 00
< HCI Comm=
and: Write Page Timeout (0x03|0x0018) plen 2
  00 80
> HCI Event: Comma=
nd Complete (0x0e) plen 4
  01 18 0C 00
< HCI Command: Write Connection=
 Accept Timeout (0x03|0x0016) plen 2
  00 7D
> HCI Event: Command Compl=
ete (0x0e) plen 4
  01 16 0C 00
< HCI Command: Write Scan Enable (0x03|=
0x001a) plen 1
  03
> HCI Event: Command Complete (0x0e) plen 4
  01 1=
A 0C 00


# hcitool scan
Scanning ...
        00:08:E0:01:9D:AF     =
  BlueZ (0)

< HCI Command: Inquiry (0x01|0x0001) plen 5
  33 8B 9E 08=
 64
> HCI Event: Command Status (0x0f) plen 4
  00 01 01 04
> HCI Even=
t: Inquiry Result (0x02) plen 15
  01 AF 9D 01 E0 08 00 01 00 00 00 00 0=
0 07 0A
> HCI Event: Inquiry Complete (0x01) plen 1
  00
< HCI Command=
: Remote Name Request (0x01|0x0019) plen 10
  AF 9D 01 E0 08 00 02 00 00=
 00
> HCI Event: Command Status (0x0f) plen 4
  00 01 19 04
> HCI Even=
t: Remote Name Req Complete (0x07) plen 255
  00 AF 9D 01 E0 08 00 42 6C=
 75 65 5A 20 28 30 29 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 =
00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0=
0 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=
 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 0=
0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00=
 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 =
00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 0=
0 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=
 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


# pand -c 00:08:E0:01:9=
D:AF

< HCI Command: Create Connection (0x01|0x0005) plen 13
  AF 9D 0=
1 E0 08 00 18 CC 00 00 00 00 01
> HCI Event: Command Status (0x0f) plen =
4
  00 01 05 04
> HCI Event: Connect Complete (0x03) plen 11
  00 2A 0=
0 AF 9D 01 E0 08 00 01 00
< ACL data: handle 0x002a flags 0x02 dlen 12=0D
=
    L2CAP(s): Connect req: psm 15 scid 0x0040
> HCI Event: Number of Com=
pleted Packets (0x13) plen 5
  01 2A 00 01 00
> HCI Event: Page Scan Re=
petition Mode Change (0x20) plen 7
  AF 9D 01 E0 08 00 01
> HCI Event: =
Max Slots Change (0x1b) plen 3
  2A 00 05
> ACL data: handle 0x002a fla=
gs 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 resul=
t 0 status 0
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s):=
 Config req: dcid 0x0040 flags 0x0000 clen 4
    MTU 1691
> HCI Event: =
Number of Completed Packets (0x13) plen 5
  01 2A 00 01 00
> ACL data: =
handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 f=
lags 0x0000 result 0 clen 0
> ACL data: handle 0x002a flags 0x02 dlen 16=

    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
    MTU 1691=

< ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp:=
 scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x002a flag=
s 0x02 dlen 11
    L2CAP(d): cid 0x0040 len 7 [psm 15]
      BNEP: Cont=
rol(0x01|0)
        Setup Req(0x01) size 0x02 dst 0x1116(NAP) src 0x1115=
(PANU)
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 2A 0=
0 01 00
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 2A =
00 01 00
> ACL data: handle 0x002a flags 0x02 dlen 8
    L2CAP(d): cid =
0x0040 len 4 [psm 15]
      BNEP: Control(0x01|0)
        Setup Rsp(0x0=
2) res 0x0000


# ifconfig bnep0 10.0.0.2

 ACL data: handle 0x002a =
flags 0x02 dlen 20
    L2CAP(d): cid 0x0040 len 16 [psm 15]
      BNEP:=
 Control(0x01|0)
        Filter MultAddr Set(0x05) len 0x000c
         =
 ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
< ACL data: handle 0x002a flags 0=
x02 dlen 32
    L2CAP(d): cid 0x0040 len 28 [psm 15]
      BNEP: Contro=
l(0x01|0)
        Filter MultAddr Set(0x05) len 0x0018
          ff:ff:=
ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
          01:00:5e:00:00:01 - 01:00:5e:0=
0:00:01
< ACL data: handle 0x002a flags 0x02 dlen 32
    L2CAP(d): cid =
0x0040 len 28 [psm 15]
      BNEP: Control(0x01|0)
        Filter MultA=
ddr Set(0x05) len 0x0018
          ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff=

          01:00:5e:00:00:01 - 01:00:5e:00:00:01
> HCI Event: Number of=
 Completed Packets (0x13) plen 5
  01 2A 00 01 00
> HCI Event: Number o=
f Completed Packets (0x13) plen 5
  01 2A 00 01 00
> HCI Event: Number =
of Completed Packets (0x13) plen 5
  01 2A 00 01 00
> ACL data: handle =
0x002a flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 15]
      =
BNEP: Control(0x01|0)
        Filter MultAddr Rsp(0x06) res 0x0000
> AC=
L data: handle 0x002a flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [=
psm 15]
      BNEP: Control(0x01|0)
        Filter MultAddr Rsp(0x06) r=
es 0x0000
> ACL data: handle 0x002a flags 0x02 dlen 8
    L2CAP(d): cid=
 0x0040 len 4 [psm 15]
      BNEP: Control(0x01|0)
        Filter MultA=
ddr Rsp(0x06) res 0x0000


-------------------
On the slave2 side:=0D
=

# hciconfig hci0 up

< HCI Command: Read Local Supported Features (0x=
04|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 12
  01 03 =
10 00 FF FF 0B 00 00 00 00 00
< HCI Command: Read Buffer Size (0x04|0x00=
05) plen 0
> HCI Event: Command Complete (0x0e) plen 11
  01 05 10 00 C=
0 00 40 08 00 08 00
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0
> =
HCI Event: Command Complete (0x0e) plen 10
  01 09 10 00 C2 99 01 E0 08 =
00
< HCI Command: Set Event Filter (0x03|0x0005) plen 1
  00
> HCI Eve=
nt: Command Complete (0x0e) plen 4
  01 05 0C 00
< HCI Command: Write P=
age Timeout (0x03|0x0018) plen 2
  00 80
> HCI Event: Command Complete =
(0x0e) plen 4
  01 18 0C 00
< HCI Command: Write Connection Accept Time=
out (0x03|0x0016) plen 2
  00 7D
> HCI Event: Command Complete (0x0e) p=
len 4
  01 16 0C 00
< HCI Command: Write Scan Enable (0x03|0x001a) plen=
 1
  03
> HCI Event: Command Complete (0x0e) plen 4
  01 1A 0C 00
=0D
=

 # hcitool scan
Scanning ...
        00:08:E0:01:9D:AF       n/a
   =
     00:08:E0:01:9E:86       n/a


< HCI Command: Inquiry (0x01|0x0001=
) plen 5
  33 8B 9E 08 64
> HCI Event: Command Status (0x0f) plen 4
  =
00 01 01 04
> HCI Event: Inquiry Result (0x02) plen 15
  01 86 9E 01 E0=
 08 00 01 00 00 00 00 00 B2 6A
> HCI Event: Inquiry Result (0x02) plen 1=
5
  01 AF 9D 01 E0 08 00 01 00 00 00 00 00 BA 74
> HCI Event: Inquiry C=
omplete (0x01) plen 1
  00
< HCI Command: Remote Name Request (0x01|0x0=
019) plen 10
  AF 9D 01 E0 08 00 02 00 00 00
> HCI Event: Command Statu=
s (0x0f) plen 4
  00 01 19 04
> HCI Event: Remote Name Req Complete (0x=
07) plen 255
  04 AF 9D 01 E0 08 00 00 00 00 00 00 00 00 00 00 00 00 00 =
00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 0=
0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00=
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 =
00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 0=
0 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=
 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =
00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0=
0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00=
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 =
00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 0=
0 00 00 00 00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10=0D
=
  86 9E 01 E0 08 00 02 00 00 00
> HCI Event: Command Status (0x0f) plen =
4
  00 01 19 04
> HCI Event: Remote Name Req Complete (0x07) plen 255=0D
=
  04 86 9E 01 E0 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00=
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 =
00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 0=
0 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00=
 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =
00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0=
0
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00=
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 0=
0 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00=
 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=0D
=


# pand -c 00:08:E0:01:9D:AF

< HCI Command: Create Connection (0x01=
|0x0005) plen 13
  AF 9D 01 E0 08 00 18 CC 00 00 00 00 01
> HCI Event: =
Command Status (0x0f) plen 4
  00 01 05 04
> HCI Event: Connect Complet=
e (0x03) plen 11
  04 00 00 AF 9D 01 E0 08 00 01 00


# ifconfig bnep=
0 10.0.0.3
SIOCSIFADDR: No such device
bnep0: unknown interface: No suc=
h device



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

I note the difference between p=
ackets sent after pand command in slave1 and slave2 but I don't know why.=

Have you any idea?
Thanks again for your patience.
Jers



> Hi J=
ers,
> 
> > I thank you for your time but, I'm sorry,  I can't display =
any packet. 
> >  
> > I changed my dongles. Their firmware is HCI 16.1=
4: 
> >  
> > hci0:   Type: USB 
> >         BD Address: 00:08:E0:01:9=
E:86 ACL MTU: 192:8 SCO MTU: 64:8 
> >         UP RUNNING PSCAN ISCAN =0D
=
> >         RX bytes:2508 acl:0 sco:0 events:60 errors:0 
> >         TX=
 bytes:465 acl:0 sco:0 commands:47 errors:0 
> >         Features: 0xff =
0xff 0x0b 0x00 0x00 0x00 0x00 0x00 
> >         Packet type: DM1 DM3 DM5=
 DH1 DH3 DH5 HV1 HV2 HV3 
> >         Link policy: RSWITCH HOLD SNIFF PA=
RK 
> >         Link mode: SLAVE ACCEPT 
> >         Name: 'pcB' 
> > =
        Class: 0x000000 
> >         Service Classes: Unspecified 
> > =
        Device Class: Miscellaneous, 
> >         HCI Ver: 1.1 (0x1) HCI=
 Rev: 0x33c LMP Ver: 1.1 (0x1) LMP Subver: 0x33c 
> >         Manufactur=
er: Cambridge Silicon Radio (10) 
> >  
> > I installed linux again (Ma=
ndrake 9.1, kernel 2.4.21) and the upgrated BlueZ packages in accordance =
with readme 
> > files of each packages. I tried to create a simple conn=
ection. 
> >  
> > On the master side, I run: 
> >  
> > modprobe bne=
p 
> > modprobe l2cap 
> > hciconfig hci0 up 
> > pand --listen --role=
 GN 
> >  
> > On the slave side, I run; 
> >  
> > modprobe bnep =0D
=
> > modprobe l2cap 
> > hciconfig hci0 up 
> > pand -c <master_addr> =0D
=
> >  
> > At first, "hcidump -x" dispayed packets sent by the pand comma=
nd. Trying several times, it showed L2CAP and in 
> > only one case I sh=
owed BNEP. However, no connection was create. 
> > Then, maybe after a r=
eboot or a logout, hcidump shows again that pand does not send any packet=
,. 
> > I can't obtain again the same situation and I don't realize why.=

> 
> show us the hcidump output and leave it to us to interpret it. An=
d btw
> what about using a 2.6.10 kernel? I can't tell you anything abou=
t any
> vendor kernel.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
> -=
------------------------------------------------------
> This SF.Net ema=
il is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open=
 source databases. Create drag-&-drop reports. Save time
> by over 75%! =
Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a F=
REE copy at http://www.intelliview.com/go/osdn_nl
> ____________________=
___________________________
> Bluez-users mailing list
> Bluez-users@li=
sts.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez=
-users
> =0A=0A=0A=0A___________________________________________________=
_________=0A6X velocizzare la tua navigazione a 56k? 6X Web Accelerator d=
i Libero!=0AScaricalo su INTERNET GRATIS 6X http://www.libero.it=0A



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-20 11:33 jers
  2005-01-20 12:52 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2005-01-20 11:33 UTC (permalink / raw)
  To: bluez-users

Hi Marcel, 
 
I thank you for your time but, I'm sorry,  I can't displa=
y any packet. 
 
I changed my dongles. Their firmware is HCI 16.14: =0D
=
 
hci0:   Type: USB 
        BD Address: 00:08:E0:01:9E:86 ACL MTU: 192=
:8 SCO MTU: 64:8 
        UP RUNNING PSCAN ISCAN 
        RX bytes:2508=
 acl:0 sco:0 events:60 errors:0 
        TX bytes:465 acl:0 sco:0 comman=
ds:47 errors:0 
        Features: 0xff 0xff 0x0b 0x00 0x00 0x00 0x00 0x0=
0 
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Li=
nk policy: RSWITCH HOLD SNIFF PARK 
        Link mode: SLAVE ACCEPT 
  =
      Name: 'pcB' 
        Class: 0x000000 
        Service Classes: Un=
specified 
        Device Class: Miscellaneous, 
        HCI Ver: 1.1 (=
0x1) HCI Rev: 0x33c LMP Ver: 1.1 (0x1) LMP Subver: 0x33c 
        Manufa=
cturer: Cambridge Silicon Radio (10) 
 
I installed linux again (Mandra=
ke 9.1, kernel 2.4.21) and the upgrated BlueZ packages in accordance with=
 readme 
files of each packages. I tried to create a simple connection. =

 
On the master side, I run: 
 
modprobe bnep 
modprobe l2cap 
hci=
config hci0 up 
pand --listen --role GN 
 
On the slave side, I run; =0D
=
 
modprobe bnep 
modprobe l2cap 
hciconfig hci0 up 
pand -c <master_a=
ddr> 
 
At first, "hcidump -x" dispayed packets sent by the pand comman=
d. Trying several times, it showed L2CAP and in 
only one case I showed =
BNEP. However, no connection was create. 
Then, maybe after a reboot or =
a logout, hcidump shows again that pand does not send any packet,. 
I ca=
n't obtain again the same situation and I don't realize why. 
 
I hope =
can help me. 
Thanks. Jers 
 
 
 
> Hi Jers, 
>  
> > > > > Run "h=
cidump -x" as root and show us the output.   
> > > >    
> > > > HCIDu=
mp - HCI packet analyzer ver 1.16   
> > > > device: hci0 snap_len: 1028=
 filter: 0xffffffff   
> > >   
> > > What about trying to connect now,=
 so we see traffic?  
> >    
> > Running 'pan -c <addr>' or 'pan --lis=
ten --rule GN',  HCIDump does not show anything.  
>  
> you will see t=
raffic, because otherwise you do something wrong. 
>  
> Regards 
>  =0D
=
> Marcel 
>  
>  
>  
>  
> ----------------------------------------=
--------------- 
> The SF.Net email is sponsored by: Beat the post-holid=
ay blues 
> Get a FREE limited edition SourceForge.net t-shirt from Thin=
kGeek. 
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/=
sfshirt 
> _______________________________________________ 
> Bluez-use=
rs mailing list 
> Bluez-users@lists.sourceforge.net 
> https://lists.s=
ourceforge.net/lists/listinfo/bluez-users 
>  =0A=0A=0A=0A______________=
______________________________________________=0A6X velocizzare la tua na=
vigazione a 56k? 6X Web Accelerator di Libero!=0AScaricalo su INTERNET GR=
ATIS 6X http://www.libero.it=0A



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-17  8:36 jers
  2005-01-17 11:21 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2005-01-17  8:36 UTC (permalink / raw)
  To: bluez-users

> >         HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subv=
er: 0x175  
> >         Manufacturer: Cambridge Silicon Radio (10)  
> =
 
> the 0x175 firmwares are not HCI 16.4 and thus don't support scattern=
et 
> and are difficult to connect. 
>   
> > > > After that, I tried =
to create the second connection on slave2 side by running the same comman=
d (hcitool cc  
> > <master_addr>) and I obtain the following error:  =0D
=
> > > > # Can't create connectio: input/output error.  
> > >   
> > > =
Run "hcidump -x" as root and show us the output.  
> >   
> > HCIDump -=
 HCI packet analyzer ver 1.16  
> > device: hci0 snap_len: 1028 filter: =
0xffffffff  
>  
> What about trying to connect now, so we see traffic?=
 
  
Running 'pan -c <addr>' or 'pan --listen --rule GN',  HCIDump does=
 not show anything. 
 
If I run hcitool cc <addr>, it shows me 
 
< H=
CI Command: Create Connection (0x01|0x0005) plen 13 
  64 A1 85 98 E0 00=
 18 CC 02 00 00 00 01 
> HCI Event: Command Status (0x0f) plen 4 
  00 =
01 05 04 
> HCI Event: Connect Complete (0x03) plen 11 
  00 28 00 64 A=
1 85 98 E0 00 01 00 
> HCI Event: Page Scan Repetition Mode Change (0x20=
) plen 7 
  64 A1 85 98 E0 00 01 
> HCI Event: Max Slots Change (0x1b) =
plen 3 
  28 00 05 
 
Regards. Jers =0A=0A=0A=0A______________________=
______________________________________=0ALibero ADSL: 3 mesi gratis e nav=
ighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno=
. =0AAbbonati subito senza costi di attivazione su http://www.libero.it=0A=
=0A



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-13 13:13 jers
  2005-01-13 14:39 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2005-01-13 13:13 UTC (permalink / raw)
  To: bluez-users

> Hi Jers,
> 
> > > > # Default link mode
> > > > #   none   - no spec=
ific policy
> > > > #   accept - always accept incoming connections
> >=
 > > #   master - become master on incoming connections,
> > > > #      =
      deny role switch on outgoing connections
> > > > #
> > > > lm acc=
ept,master;
> > > > #
> > > > #lm accept;
> > >
> > > you changed thi=
s. Why? There can't be two device with a master role in
> > > the same a=
 piconet.
> > 
> > I know that. Maybe I wasn't accurate in the descript=
ion of my problem. I'm
> > sorry...
> > The above script is the hcid.co=
nf file of the master. For slaves I have "lm
> > accept".
> 
> this is=
 not needed, because you use "pand --master ..." and this is
> enought t=
o force the role switch.
> 
> > I want to create a piconet with a singl=
e master and two slaves.
> > In a previous corrispondance, you suggested=
 me:
> > - to upgrade my bluez packages. I did that.
> > - to check the=
 limitation for firmware pre HCI 16.4. I did that.
> > 
> > - to check =
the link policy because the "hciconfig -a" command showed it no
> > set =
for any device. This is my current problem.
> > 
> > "hciconfig -a" sti=
ll shows me that there is no link policy set for any
> > device but, for=
 all dongles,  in the hcid.conf I have
> 
> Is hcid running?

Hi Marc=
el,
hcid was not running. I've solved the inconsistency but no my proble=
m.

Hi tried to create connection on slave1 side by
# hcitool cc <mast=
er_addr>
and so
# hcitool con
lists me the established connection.
=0D
=
After that, I tried to create the second connection on slave2 side by run=
ning the same command (hcitool cc <master_addr>) and I obtain the followi=
ng error:
# Can't create connectio: input/output error.

Besides, it's=
 impossible to  establish any other possible combinations of link among t=
he three device.
Can I hope to find a solution?
Thank you. Jers


=0D
=






=0A=0A=0A=0A_________________________________________________=
___________=0ALibero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai =
l'Adsl senza limiti a meno di 1 euro al giorno. =0AAbbonati subito senza =
costi di attivazione su http://www.libero.it=0A=0A



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-13  9:22 jers
  2005-01-13 10:46 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2005-01-13  9:22 UTC (permalink / raw)
  To: bluez-users

> Hi Jers,
>
> >
> > # Default link mode
> > #   none   - no specific=
 policy
> > #   accept - always accept incoming connections
> > #   mas=
ter - become master on incoming connections,
> > #            deny role =
switch on outgoing connections
> > #
> > lm accept,master;
> > #
> > =
#lm accept;
>
> you changed this. Why? There can't be two device with a=
 master role in
> the same a piconet.

I know that. Maybe I wasn't acc=
urate in the description of my problem. I'm
sorry...
The above script i=
s the hcid.conf file of the master. For slaves I have "lm
accept".

I =
want to create a piconet with a single master and two slaves.
In a previ=
ous corrispondance, you suggested me:
- to upgrade my bluez packages. I =
did that.
- to check the limitation for firmware pre HCI 16.4. I did tha=
t.

- to check the link policy because the "hciconfig -a" command showe=
d it no
set for any device. This is my current problem.

"hciconfig -a=
" still shows me that there is no link policy set for any
device but, fo=
r all dongles,  in the hcid.conf I have

# Default link policy
#   non=
e    - no specific policy
#   rswitch - allow role switch
#   hold    -=
 allow hold mode
#   sniff   - allow sniff mode
#   park    - allow par=
k mode
#
#lp hold,sniff;
#
lp rswitch,hold,sniff,park;

so I suppos=
e, but I'm not sure, that this can be the cause of my problem.
Is it pos=
sible? If so, what can I do to solve this inconsistency?
Otherwise, what=
 do you suggest me to do?
Thank you so much.
Regards. Jers



>hci0=
:   Type: USB 
>        BD Address: 00:E0:98:85:A1:5F ACL MTU: 192:8  SC=
O MTU: 64:8 
>        UP RUNNING PSCAN ISCAN 
>        RX bytes:15287 a=
cl:102 sco:0 events:610 errors:0 
>        TX bytes:38313 acl:383 sco:0 =
commands:136 errors:0 
>        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 =
0x00 0x00 
>        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 =0D
=
>        Link policy: 
>        Link mode: SLAVE ACCEPT 
>        Name:=
 'Slave1' 
>        Class: 0x000000 
>        Service Classes: Unspecif=
ied 
>        Device Class: Miscellaneous, 
>        HCI Ver: 1.1 (0x1)=
 HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subver: 0x175 
>        Manufactu=
rer: Cambridge Silicon Radio (10) 
> 
>hci0:   Type: USB 
>        BD =
Address: 00:E0:98:85:A1:64 ACL MTU: 192:8  SCO MTU: 64:8 
>        UP RU=
NNING PSCAN ISCAN 
>        RX bytes:22169 acl:233 sco:0 events:192 erro=
rs:0 
>        TX bytes:7885 acl:92 sco:0 commands:62 errors:0 
>      =
  Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 
>        Packet typ=
e: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
>        Link policy: 
>       =
 Link mode: SLAVE ACCEPT 
>        Name: 'Slave2' 
>        Class: 0x00=
0000 
>        Service Classes: Unspecified 
>        Device Class: Mis=
cellaneous, 
>        HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x=
1) LMP Subver: 0x175 
>        Manufacturer: Cambridge Silicon Radio (10=
) 
> 
> 
>hci0:   Type: USB 
>        BD Address: 00:08:E0:01:9E:86 A=
CL MTU: 192:8  SCO MTU: 64:8 
>        UP RUNNING PSCAN ISCAN 
>       =
 RX bytes:21366 acl:130 sco:0 events:217 errors:0 
>        TX bytes:166=
8 acl:23 sco:0 commands:108 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 =0D
=
>        Name: 'Master' 
>        Class: 0x000000 
>        Service Cla=
sses: Unspecified 
>        Device Class: Miscellaneous, 
>        HCI =
Ver: 1.1 (0x1) HCI Rev: 0x33c LMP Ver: 1.1 (0x1) LMP Subver: 0x33c 
>   =
     Manufacturer: Cambridge Silicon Radio (10) 
>
=0A=0A=0A=0A________=
____________________________________________________=0ALibero ADSL: 3 mes=
i gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 =
euro al giorno. =0AAbbonati subito senza costi di attivazione su http://w=
ww.libero.it=0A=0A



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-11 11:19 jers
  0 siblings, 0 replies; 25+ messages in thread
From: jers @ 2005-01-11 11:19 UTC (permalink / raw)
  To: panizzon; +Cc: bluez-users

Everytime when the "hcitool con" shows me the connection, it lasts a few =
seconds. In this case I run "ifconfig" during this time.

> Am Dienstag=
, 11. Januar 2005 11.40 schrieb jers@inwind.it:
> > Hi Marcel,
> >
> >=
 I'm still trying to create a simple piconet with a master and two slaves=
. I
> > upgrated my bluez and, on your website, I red the firmware of my=
 dongles
> > (Digicom Palladio CSR) is fit for my aims. Now the situatio=
n is as follows:
> >
> > On the three sides I type
> >
> > # modprobe=
 bnep
> >
> > On the master side:
> >
> > # brctl addbr pan0
> > # i=
fconfig pan0 10.0.0.1
> > # brctl setfd pan0 0
> > # brctl stp pan0 off=

> > # pand  --listen --master --role GN
> >
> > On the slave1 side:=0D
=
> > # pand --connect <master bt_addr>
> > # ifconfig bnep0 10.0.0.2
> >=

> > In most cases I obtain the following error:
> >
> > SIOCSIFADDR: =
No such device
> > bnep0: unknown interface: No such device
> 
> Are y=
ou sure the connection is established? The bnep devices only show up 
> =
after the connection was established so you cannot ifconfig them as long =
as 
> it is not up yet (during search etc...).
> 
> -Benoit-
> -- =0D
=
> SPAM SPAM SPAM SPAM / Hormel's new miracle meat in a can
> Tastes fine=
, saves time. / If you want something grand, / Ask for SPAM!
>   - Horme=
l's 1937 jingle for SPAM
> =0A=0A=0A=0A_________________________________=
___________________________=0ALibero ADSL: 3 mesi gratis e navighi a 1.2 =
Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. =0AAbbona=
ti subito senza costi di attivazione su http://www.libero.it=0A=0A



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2005-01-11 10:40 jers
  2005-01-11 10:52 ` Benoit Panizzon
  2005-01-11 12:06 ` Marcel Holtmann
  0 siblings, 2 replies; 25+ messages in thread
From: jers @ 2005-01-11 10:40 UTC (permalink / raw)
  To: bluez-users

Hi Marcel,

I'm still trying to create a simple piconet with a master a=
nd two slaves. I upgrated my bluez and, on your website, I red the firmwa=
re of my dongles (Digicom Palladio CSR) is fit for my aims.
Now the situ=
ation is as follows:

On the three sides I type

# modprobe bnep
=0D
=
On the master side:

# brctl addbr pan0
# ifconfig pan0 10.0.0.1
# br=
ctl setfd pan0 0
# brctl stp pan0 off
# pand  --listen --master --role =
GN

On the slave1 side:
# pand --connect <master bt_addr>
# ifconfig =
bnep0 10.0.0.2

In most cases I obtain the following error:

SIOCSIFA=
DDR: No such device
bnep0: unknown interface: No such device

even if =
the command
#hcitool con
shows me an active connection.

When I obtai=
n the connection I continue:

On the slave1 side:
# route add default =
gw 10.0.0.1

On the master side:
# brctl addif pan0 bnep0
# ifconfigt=
 bnep0 0.0.0.0

On the slave2 side:
# pand --connect <master bt_addr>=0D
=
# ifconfig bnep0 10.0.0.3

and I always obtain the same error:

SIOCS=
IFADDR: No such device
bnep0: unknown interface: No such device

even =
if the command
#hcitool con
shows me an active connection.

You point=
ed me out there is no link policy set  but  my file /etc/Bluetooth/hcid.c=
onf is:

# Default settings for HCI devices
device {
	# Local device =
name
	#   %d - device id
	#   %h - host name
	name "BlueZ (%d)";

	#=
 Local device class
	class 0x3e0100;

	# Default packet type
	#pkt_ty=
pe DH1,DM1,HV1;

	# Inquiry and Page scan
	iscan enable; pscan enable;=


	# Default link mode
	#   none   - no specific policy 
	#   accept =
- always accept incoming connections
	#   master - become master on inco=
ming connections,
	#            deny role switch on outgoing connections=

	#
	lm accept,master;
	#
	#lm accept;

	# Default link policy
	# =
  none    - no specific policy
	#   rswitch - allow role switch
	#   ho=
ld    - allow hold mode
	#   sniff   - allow sniff mode
	#   park    - =
allow park mode
	#
	#lp hold,sniff;
	#
	lp rswitch,hold,sniff,park;=0D
=

	# Authentication and Encryption
	#auth enable;
	#encrypt enable;
}=0D
=

How can I modify the link policy? Might this inconsistency be the cause=
 of my problems?
Apologizes for my English. 
Regards. Jers


> Hi Je=
rs,
> 
> > > What is the output of "hciconfig -a" for these dongles? =0D
=
> > >  
> >  
> > hci0:   Type: USB 
> >         BD Address: 00:E0:98:=
85:A1:5F ACL MTU: 192:8  SCO MTU: 64:8 
> >         UP RUNNING PSCAN ISC=
AN 
> >         RX bytes:15287 acl:102 sco:0 events:610 errors:0 
> >  =
       TX bytes:38313 acl:383 sco:0 commands:136 errors:0 
> >         F=
eatures: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 
> >         Packet typ=
e: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
> >         Link policy: 
> >  =
       Link mode: SLAVE ACCEPT 
> >         Name: 'Slave1' 
> >        =
 Class: 0x000000 
> >         Service Classes: Unspecified 
> >        =
 Device Class: Miscellaneous, 
> >         HCI Ver: 1.1 (0x1) HCI Rev: 0=
x175 LMP Ver: 1.1 (0x1) LMP Subver: 0x175 
> >         Manufacturer: Cam=
bridge Silicon Radio (10) 
> >  
> > hci0:   Type: USB 
> >         BD=
 Address: 00:E0:98:85:A1:64 ACL MTU: 192:8  SCO MTU: 64:8 
> >         U=
P RUNNING PSCAN ISCAN 
> >         RX bytes:22169 acl:233 sco:0 events:1=
92 errors:0 
> >         TX bytes:7885 acl:92 sco:0 commands:62 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: 'Slave=
2' 
> >         Class: 0x000000 
> >         Service Classes: Unspecifi=
ed 
> >         Device Class: Miscellaneous, 
> >         HCI Ver: 1.1 =
(0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subver: 0x175 
> >         M=
anufacturer: Cambridge Silicon Radio (10) 
> >  
> > 
> > hci0:   Type=
: USB 
> >         BD Address: 00:08:E0:01:9E:86 ACL MTU: 192:8  SCO MTU=
: 64:8 
> >         UP RUNNING PSCAN ISCAN 
> >         RX bytes:21366 =
acl:130 sco:0 events:217 errors:0 
> >         TX bytes:1668 acl:23 sco:=
0 commands:108 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 =0D
=
> >         Name: 'Master' 
> >         Class: 0x000000 
> >         Se=
rvice Classes: Unspecified 
> >         Device Class: Miscellaneous, =0D
=
> >         HCI Ver: 1.1 (0x1) HCI Rev: 0x33c LMP Ver: 1.1 (0x1) LMP Subv=
er: 0x33c 
> >         Manufacturer: Cambridge Silicon Radio (10) 
> =0D
=
> there is no link policy set (rswitch) and both of your slaves have
> f=
irmwares pre HCI 16.4 and so there are limitations. Check my webpage
> a=
bout CSR for more details.
> 
> Regards
> 
> Marcel
> 
> 
> 
> =0D
=
> -------------------------------------------------------
> SF email is =
sponsored by - The IT Product Guide
> Read honest & candid reviews on hu=
ndreds of IT Products from real users.
> Discover which products truly l=
ive up to the hype. Start reading now. 
> http://productguide.itmanagers=
journal.com/
> _______________________________________________
> Bluez-=
users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.=
sourceforge.net/lists/listinfo/bluez-users
> 
=0A=0A=0A=0A_____________=
_______________________________________________=0ALibero ADSL: 3 mesi gra=
tis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro =
al giorno. =0AAbbonati subito senza costi di attivazione su http://www.li=
bero.it=0A=0A



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Bluez-users] Piconet problems
@ 2004-12-21 13:28 jers
  2004-12-21 13:56 ` Marcel Holtmann
  0 siblings, 1 reply; 25+ messages in thread
From: jers @ 2004-12-21 13:28 UTC (permalink / raw)
  To: bluez-users

Hi Marcel, 
 
> Hi Jers, 
>  
> > I'm trying to create a simple picon=
et consisting of a master and two slaves. I'm using three Digicom Palladi=
o  
> > dongles.  
> > My packages list is:  
> >  - bluez-libs-2.8-1.=
i386.rpm  
> >  - bluez-bluefw-1.0-1.i386.rpm  
> >  - bluez-hcidump-1.=
10-1.i386.rpm  
> >  - bluez-sdp-1.5-1.i386.rpm  
> >  - bluez-pan-1.1-=
1.i386.rpm  
> >  - bluez-utils-2.8-1.i386.rpm  
> >  - bridge-utils-0.=
9.6-1.i386.rpm  
>  
> the bluez-sdp, bluez-pan and bluez-bluefw packag=
es are deprecated. Get 
> yourself newer versions of bluez-libs and blue=
z-utils. 
>  
 
> What is the output of "hciconfig -a" for these dongl=
es? 
>  
 
hci0:   Type: USB 
        BD Address: 00:E0:98:85:A1:5F A=
CL MTU: 192:8  SCO MTU: 64:8 
        UP RUNNING PSCAN ISCAN 
        R=
X bytes:15287 acl:102 sco:0 events:610 errors:0 
        TX bytes:38313 =
acl:383 sco:0 commands:136 errors:0 
        Features: 0xff 0xff 0x0f 0x=
00 0x00 0x00 0x00 0x00 
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1=
 HV2 HV3 
        Link policy: 
        Link mode: SLAVE ACCEPT 
     =
   Name: 'Slave1' 
        Class: 0x000000 
        Service Classes: Un=
specified 
        Device Class: Miscellaneous, 
        HCI Ver: 1.1 (=
0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subver: 0x175 
        Manufa=
cturer: Cambridge Silicon Radio (10) 
 
hci0:   Type: USB 
        BD =
Address: 00:E0:98:85:A1:64 ACL MTU: 192:8  SCO MTU: 64:8 
        UP RUN=
NING PSCAN ISCAN 
        RX bytes:22169 acl:233 sco:0 events:192 errors=
:0 
        TX bytes:7885 acl:92 sco:0 commands:62 errors:0 
        Fe=
atures: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 
        Packet type: DM=
1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: 
        Link m=
ode: SLAVE ACCEPT 
        Name: 'Slave2' 
        Class: 0x000000 
  =
      Service Classes: Unspecified 
        Device Class: Miscellaneous,=
 
        HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subve=
r: 0x175 
        Manufacturer: Cambridge Silicon Radio (10) 
 
 
hci=
0:   Type: USB 
        BD Address: 00:08:E0:01:9E:86 ACL MTU: 192:8  SC=
O MTU: 64:8 
        UP RUNNING PSCAN ISCAN 
        RX bytes:21366 acl=
:130 sco:0 events:217 errors:0 
        TX bytes:1668 acl:23 sco:0 comma=
nds:108 errors:0 
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0=
x00 
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        =
Link policy: 
        Link mode: SLAVE ACCEPT 
        Name: 'Master' =0D
=
        Class: 0x000000 
        Service Classes: Unspecified 
        =
Device Class: Miscellaneous, 
        HCI Ver: 1.1 (0x1) HCI Rev: 0x33c =
LMP Ver: 1.1 (0x1) LMP Subver: 0x33c 
        Manufacturer: Cambridge Si=
licon Radio (10) 
 
 
Regards.  
Jers 
 
 
  =0A=0A=0A=0A_________=
___________________________________________________=0ARegala e regalati L=
ibero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, vid=
eo e sport. =0AAbbonati subito senza costi di attivazione su http://www.l=
ibero.it=0A=0A



-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Bluez-users] Piconet problems
@ 2004-12-21 11:02 jers
  2004-12-21 11:16 ` Marcel Holtmann
  2004-12-21 20:21 ` blookk -
  0 siblings, 2 replies; 25+ messages in thread
From: jers @ 2004-12-21 11:02 UTC (permalink / raw)
  To: bluez-users

Hi, 
 
I'm trying to create a simple piconet consisting of a master and=
 two slaves. I'm using three Digicom Palladio 
dongles. 
My packages li=
st is: 
 - bluez-libs-2.8-1.i386.rpm 
 - bluez-bluefw-1.0-1.i386.rpm =0D
=
 - bluez-hcidump-1.10-1.i386.rpm 
 - bluez-sdp-1.5-1.i386.rpm 
 - bluez=
-pan-1.1-1.i386.rpm 
 - bluez-utils-2.8-1.i386.rpm 
 - bridge-utils-0.9=
.6-1.i386.rpm 
 
 On master side I type: 
 # hciconfig hci0 up 
 # pa=
nd --listen --master --role GN 
 
 On the first slave I type: 
 # hcic=
onfig hci0 up 
 # hcitool inq 
 # pand --connect <master_bt_addr> 
 # =
ifconfig bnep0 10.10.10.2 broadcast 10.10.10.255 netmask 255.255.255.0 =0D
=
 
 if I type 
 # hcitool inq 
 I obtain: 
 
 Inquiry failed.: Device=
 or resource busy 
 
 On the second slave I type: 
 # hciconfig hci0 u=
p 
 # hcitool inq 
 I only obtain the master bt_addr. 
 # pand --conne=
ct <master_bt_addr> 
 
 and 
 # ifconfig bnep0 10.10.10.3 broadcast 10=
.10.10.255 netmask 255.255.255.0 
 
 Unfortunally I obtain: 
 
 SIOCS=
IFADDR: No such device 
 bnep0: unknown interface: No such device 
 SIO=
CSIFBRDADDR: No such device 
 bnep0: unknown interface: No such device =0D
=
 SIOCSIFNETMASK: No such device 
 
 Can someone tell me what is wrong? =
Thanks. 
 Jers 
 =0A=0A=0A=0A__________________________________________=
__________________=0ARegala e regalati Libero ADSL: 3 mesi gratis e navig=
hi veloce. 1.2 Mega di musica, film, video e sport. =0AAbbonati subito se=
nza costi di attivazione su http://www.libero.it=0A=0A



-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-07-18 18:36 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-14 10:21 [Bluez-users] Piconet problems jers
2005-01-14 21:18 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2005-07-18 18:27 Arlen Nascimento
2005-07-18 18:36 ` Marcel Holtmann
2005-01-24 11:14 jers
2005-01-24 12:25 ` Marcel Holtmann
2005-01-20 15:49 jers
2005-01-21  0:42 ` Marcel Holtmann
2005-01-20 11:33 jers
2005-01-20 12:52 ` Marcel Holtmann
2005-01-17  8:36 jers
2005-01-17 11:21 ` Marcel Holtmann
2005-01-13 13:13 jers
2005-01-13 14:39 ` Marcel Holtmann
2005-01-13  9:22 jers
2005-01-13 10:46 ` Marcel Holtmann
2005-01-11 11:19 jers
2005-01-11 10:40 jers
2005-01-11 10:52 ` Benoit Panizzon
2005-01-11 12:06 ` Marcel Holtmann
2004-12-21 13:28 jers
2004-12-21 13:56 ` Marcel Holtmann
2004-12-21 11:02 jers
2004-12-21 11:16 ` Marcel Holtmann
2004-12-21 20:21 ` blookk -

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox