From: "Alexandre Coser Monteiro" <coser@cos.ufrj.br>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] hold mode Disallowed
Date: Thu, 13 Jul 2006 20:27:07 -0200 [thread overview]
Message-ID: <20060713213636.M32080@cos.ufrj.br> (raw)
In-Reply-To: <1152824744.4838.83.camel@localhost>
I`m new in this bluetooth stuff and I`ve tried some experiments for my graduation,
but I find some problems.
I would like to know why my hold command isn`t working ? My connection it is OK, I
have the hold feature, I set the link policy in Hold mode, but hcidump get an error :
command disallowed. Why ?
At same set, what kind of fault is possible to make sniff mode doesn`t work almost
evrytime and work at next second time, if I do nothing different to submit the command ?
There is some way to set this bluetooth dongle in park mode with this feature not
show up in feature status of this device ?
Thanks for any help !
--
Sds,
Alexandre
[root@prata ~]# hcitool con Connections:
> ACL 00:10:60:B0:B8:F3 handle 6 state 1 lm SLAVE
Machine 2 - Slave
[root@prata ~]# hcitool cmd 0x02 0x0001 0x06 0x00 0x80 0x00 0x40 0x00
HCIDUMP
< HCI Command: Hold Mode (0x02|0x0001) plen 6
0000: 06 00 80 00 40 00 ....@.> HCI Event: Command
Status (0x0f) plen 4
Hold Mode (0x02|0x0001) status 0x0c ncmd 1
Error: Command Disallowed
[root@prata ~]# hciconfig hci0 features
hci0: Type: USB
BD Address: 00:10:60:B0:B8:69 ACL MTU: 377:10 SCO MTU: 16:0
Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <power control>
<transparent SCO> <enhanced iscan> <interlaced iscan>
<interlaced pscan> <AFH cap. slave> <AFH cap. master>
[root@prata ~]# hciconfig -a hci0
hci0: Type: USB
BD Address: 00:10:60:B0:B8:69 ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING PSCAN ISCAN
RX bytes:11885 acl:344 sco:0 events:53 errors:0
TX bytes:336 acl:10 sco:0 commands:42 errors:0
Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD
Link mode: SLAVE ACCEPT
Name: 'Broadcom BCM2035'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2 (0x2) LMP Subver: 0x309
Manufacturer: Broadcom Corporation (15)
Machine 1 - Master
[root@helio script]# hciconfig hci0 features
hci0: Type: USB
BD Address: 00:10:60:B0:B8:F3 ACL MTU: 377:10 SCO MTU: 16:0
Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <power control>
<transparent SCO> <enhanced iscan> <interlaced iscan>
<interlaced pscan> <AFH cap. slave> <AFH cap. master>
[root@helio script]# hciconfig -a hci0
hci0: Type: USB
BD Address: 00:10:60:B0:B8:F3 ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING PSCAN ISCAN
RX bytes:9138055 acl:25059 sco:0 events:130106 errors:0
TX bytes:8677635 acl:21920 sco:0 commands:125603 errors:0
Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD
Link mode: SLAVE ACCEPT
Name: 'Broadcom BCM2035'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2 (0x2) LMP Subver: 0x309
Manufacturer: Broadcom Corporation (15)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2006-07-13 22:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-13 21:01 [Bluez-users] HID device support Anselm Martin Hoffmeister
2006-07-13 21:05 ` Marcel Holtmann
2006-07-13 21:46 ` Anselm Martin Hoffmeister
2006-07-13 22:27 ` Alexandre Coser Monteiro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060713213636.M32080@cos.ufrj.br \
--to=coser@cos.ufrj.br \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox