* Re: [Bluez-users] Source sample custom Bluetooth
[not found] <20050101041221.D959F32E17@sc8-sf-spam1.sourceforge.net>
@ 2005-01-01 8:12 ` Tom Watson
0 siblings, 0 replies; 13+ messages in thread
From: Tom Watson @ 2005-01-01 8:12 UTC (permalink / raw)
To: bluez-users
> From: Jonathan Sass <jsass@magnifeye.com>
> To: bluez-users@lists.sourceforge.net
> Subject: [Bluez-users] Source sample custom Bluetooth
> Reply-To: bluez-users@lists.sourceforge.net
>
> I am writing code to talk to a custom bluetooth device that I need two
> way communication with. (I sent it commands and it sends characters).
> Can you please point me to some sample linux (fc2 ideally) source code.
>
> Jonathan
>
Look at minicom. It can do 2-way "serial" communication. I had a bluetooth
GPS goodie. I could use minicom to send it commands and get results.
=====
--
Tom Watson
tsw@johana.com
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
-------------------------------------------------------
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] 13+ messages in thread
* [Bluez-users] Error when compiling bluez-utils
@ 2004-12-24 10:13 CoCozZ geek
2004-12-25 17:23 ` CoCozZ geek
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-24 10:13 UTC (permalink / raw)
To: bluez-users
I get those errors when I compile bluez-utils ... using
2.6.8-gentoo-r10 and gcc (GCC) 3.3.4 20040623.
Thanks :)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include
-march=pentium4 -O3 -pipe -fomit-frame-pointer -c `test -f
'hcisecfilter.c' || echo './'`hcisecfilter.c
sdptool.c: In function `add_handsfree':
sdptool.c:1130: error: `HANDSFREE_SVCLASS_ID' undeclared (first use in
this function)
sdptool.c:1130: error: (Each undeclared identifier is reported only once
sdptool.c:1130: error: for each function it appears in.)
sdptool.c:1136: error: `HANDSFREE_PROFILE_ID' undeclared (first use in
this function)
sdptool.c:1152: error: `SDP_SUPPORTED_FEATURES' undeclared (first use
in this function)
sdptool.c: In function `add_audio_source':
sdptool.c:1583: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared (first use
in this function)
sdptool.c:1587: error: `ADVANCED_AUDIO_PROFILE_ID' undeclared (first
use in this function)sdptool.c:1598: error: `AVDTP_UUID' undeclared
(first use in this function)
sdptool.c: In function `add_audio_sink':
sdptool.c:1642: error: `AUDIO_SINK_SVCLASS_ID' undeclared (first use
in this function)
sdptool.c:1646: error: `ADVANCED_AUDIO_PROFILE_ID' undeclared (first
use in this function)sdptool.c:1657: error: `AVDTP_UUID' undeclared
(first use in this function)
sdptool.c: At top level:
sdptool.c:1697: error: `HANDSFREE_SVCLASS_ID' undeclared here (not in
a function)
sdptool.c:1697: error: initializer element is not constant
sdptool.c:1697: error: (near initialization for `service[7].class')
sdptool.c:1697: error: initializer element is not constant
sdptool.c:1697: error: (near initialization for `service[7]')
sdptool.c:1699: error: initializer element is not constant
sdptool.c:1699: error: (near initialization for `service[8]')
sdptool.c:1700: error: initializer element is not constant
sdptool.c:1700: error: (near initialization for `service[9]')
sdptool.c:1702: error: initializer element is not constant
sdptool.c:1702: error: (near initialization for `service[10]')
sdptool.c:1703: error: initializer element is not constant
sdptool.c:1703: error: (near initialization for `service[11]')
sdptool.c:1704: error: initializer element is not constant
sdptool.c:1704: error: (near initialization for `service[12]')
sdptool.c:1706: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared here (not
in a function)gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
-I/usr/include -march=pentium4 -O3 -pipe -fomit-frame-pointer -c `test
-f 'hciattach.c' || echo './'`hciattach.c
sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13].class')
sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13]')
sdptool.c:1707: error: `AUDIO_SINK_SVCLASS_ID' undeclared here (not in
a function)
sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14].class')
sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14]')
sdptool.c:1709: error: initializer element is not constant
sdptool.c:1709: error: (near initialization for `service[15]')
make[2]: *** [sdptool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10/tools'make[1]:
*** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10'
make: *** [all] Error 2
!!! ERROR: net-wireless/bluez-utils-2.10-r1 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
@ 2004-12-25 17:23 ` CoCozZ geek
2004-12-25 17:28 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-25 17:23 UTC (permalink / raw)
To: bluez-users
Cocozz .fvwm # hciconfig -a
hci0: Type: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
On Sat, 25 Dec 2004 16:40:11 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi,
>
> > I installed them and #hcditool scan doesent find anything
>
> and what does "hciconfig -a" shows you?
>
> 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
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
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] 13+ messages in thread* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 17:23 ` CoCozZ geek
@ 2004-12-25 17:28 ` Marcel Holtmann
2004-12-25 17:45 ` CoCozZ geek
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2004-12-25 17:28 UTC (permalink / raw)
To: BlueZ Mailing List
Hi,
> Cocozz .fvwm # hciconfig -a
> hci0: Type: USB
> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
> DOWN
> RX bytes:0 acl:0 sco:0 events:0 errors:0
> TX bytes:0 acl:0 sco:0 commands:0 errors:0
> Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DH1 HV1
> Link policy:
> Link mode: SLAVE ACCEPT
maybe the word "DOWN" gives you a little impression why it can't work.
Call "hciconfig hci0 up" or start "hcid".
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 17:28 ` Marcel Holtmann
@ 2004-12-25 17:45 ` CoCozZ geek
2004-12-25 17:49 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-25 17:45 UTC (permalink / raw)
To: bluez-users
Hi
Cocozz cocozz # hcid
Cocozz cocozz # hciconfig hci0 up
Can't init device hci0. Input/output error(5)
Cocozz cocozz # hcitool scan
Device is not available: Success
err :S
On Sat, 25 Dec 2004 18:28:47 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi,
>
> > Cocozz .fvwm # hciconfig -a
> > hci0: Type: USB
> > BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
> > DOWN
> > RX bytes:0 acl:0 sco:0 events:0 errors:0
> > TX bytes:0 acl:0 sco:0 commands:0 errors:0
> > Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> > Packet type: DM1 DH1 HV1
> > Link policy:
> > Link mode: SLAVE ACCEPT
>
> maybe the word "DOWN" gives you a little impression why it can't work.
> Call "hciconfig hci0 up" or start "hcid".
>
> 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
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 17:45 ` CoCozZ geek
@ 2004-12-25 17:49 ` Marcel Holtmann
2004-12-25 17:54 ` CoCozZ geek
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2004-12-25 17:49 UTC (permalink / raw)
To: BlueZ Mailing List
Hi,
> Cocozz cocozz # hcid
> Cocozz cocozz # hciconfig hci0 up
> Can't init device hci0. Input/output error(5)
this is your error. What does /proc/bus/usb/devices contains and what
kernel and dongle are you using?
> Cocozz cocozz # hcitool scan
> Device is not available: Success
Somekind of misleading :(
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 17:49 ` Marcel Holtmann
@ 2004-12-25 17:54 ` CoCozZ geek
2004-12-25 17:58 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-25 17:54 UTC (permalink / raw)
To: bluez-users
->>>> :)
Cocozz cocozz # uname -r
2.6.8-gentoo-r10
Cocozz cocozz # cat /proc/bus/usb/devices
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.8-gentoo-r10 uhci_hcd
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4
S: SerialNumber=0000:00:1d.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.8-gentoo-r10 uhci_hcd
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
S: SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.8-gentoo-r10 uhci_hcd
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
S: SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=2001 ProdID=5b00 Rev= 0.00
S: Manufacturer=D-Link
S: Product=DSL-502T
S: SerialNumber=00:0F:3DDSL-502T
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=1ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.8-gentoo-r10 uhci_hcd
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
S: SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=06a3 ProdID=0464 Rev= 1.10
S: Product=Saitek Cyborg USB Stick
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=6204 Rev= 1.00
S: Manufacturer=hp
S: Product=deskjet 5100
S: SerialNumber=MY3CC4K44W7A
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 1/800 us ( 0%), #Int= 2, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.8-gentoo-r10 ehci_hcd
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
S: SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 5 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0409 ProdID=0058 Rev= 1.00
S: Manufacturer=NEC Corporation
S: Product=USB2.0 Hub Controller
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=01 Lev=02 Prnt=05 Port=02 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
T: Bus=01 Lev=02 Prnt=05 Port=03 Cnt=02 Dev#= 7 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=0a01 Rev= 0.06
S: Manufacturer=Logitech
S: Product=Logitech USB Headset
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=audio
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=01(O) Atr=09(Isoc) MxPS= 192 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=82(I) Atr=0d(Isoc) MxPS= 96 Ivl=1ms
I: If#= 3 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=16ms
On Sat, 25 Dec 2004 18:49:36 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi,
>
> > Cocozz cocozz # hcid
> > Cocozz cocozz # hciconfig hci0 up
> > Can't init device hci0. Input/output error(5)
>
> this is your error. What does /proc/bus/usb/devices contains and what
> kernel and dongle are you using?
>
> > Cocozz cocozz # hcitool scan
> > Device is not available: Success
>
> Somekind of misleading :(
>
> 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
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 17:54 ` CoCozZ geek
@ 2004-12-25 17:58 ` Marcel Holtmann
2004-12-25 18:08 ` CoCozZ geek
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2004-12-25 17:58 UTC (permalink / raw)
To: BlueZ Mailing List
Hi,
> Cocozz cocozz # uname -r
> 2.6.8-gentoo-r10
>
> Cocozz cocozz # cat /proc/bus/usb/devices
>
> T: Bus=01 Lev=02 Prnt=05 Port=02 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=0a12 ProdID=0001 Rev= 5.25
> C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
I don't see any problem here and since this is a CSR dongle there
shouldn't be a problem at all. These devices normally work. Maybe you
need to change your USB devices a little bit. I heard of problems of
some Bluetooth dongles behind a hub etc.
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 17:58 ` Marcel Holtmann
@ 2004-12-25 18:08 ` CoCozZ geek
2004-12-25 18:08 ` CoCozZ geek
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-25 18:08 UTC (permalink / raw)
To: bluez-users
oh ... yes im using an usb. Ok wait I try to connect ir on another usb port
On Sat, 25 Dec 2004 18:58:49 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi,
>
> > Cocozz cocozz # uname -r
> > 2.6.8-gentoo-r10
> >
> > Cocozz cocozz # cat /proc/bus/usb/devices
> >
> > T: Bus=01 Lev=02 Prnt=05 Port=02 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
> > D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> > P: Vendor=0a12 ProdID=0001 Rev= 5.25
> > C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
>
> I don't see any problem here and since this is a CSR dongle there
> shouldn't be a problem at all. These devices normally work. Maybe you
> need to change your USB devices a little bit. I heard of problems of
> some Bluetooth dongles behind a hub etc.
>
> 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
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 18:08 ` CoCozZ geek
@ 2004-12-25 18:08 ` CoCozZ geek
2004-12-25 18:11 ` CoCozZ geek
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-25 18:08 UTC (permalink / raw)
To: bluez-users
edit: oh ... yes im using an usb HUB. Ok wait I try to connect ir on
another usb port
On Sat, 25 Dec 2004 19:08:30 +0100, CoCozZ geek <cocozz@gmail.com> wrote:
> oh ... yes im using an usb. Ok wait I try to connect ir on another usb port
>
>
> On Sat, 25 Dec 2004 18:58:49 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> > Hi,
> >
> > > Cocozz cocozz # uname -r
> > > 2.6.8-gentoo-r10
> > >
> > > Cocozz cocozz # cat /proc/bus/usb/devices
> > >
> > > T: Bus=01 Lev=02 Prnt=05 Port=02 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
> > > D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> > > P: Vendor=0a12 ProdID=0001 Rev= 5.25
> > > C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> > > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
> >
> > I don't see any problem here and since this is a CSR dongle there
> > shouldn't be a problem at all. These devices normally work. Maybe you
> > need to change your USB devices a little bit. I heard of problems of
> > some Bluetooth dongles behind a hub etc.
> >
> > 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
> > Bluez-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
> >
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 18:08 ` CoCozZ geek
@ 2004-12-25 18:11 ` CoCozZ geek
2004-12-25 18:32 ` CoCozZ geek
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-25 18:11 UTC (permalink / raw)
To: bluez-users
Yessssssss miracle :)
Cocozz cocozz # hcitool scan
Scanning ...
00:0E:6D:85:74:7A Nokia 6600
Lots lots lots lots lots of thanks !!!!
Have a very happy holidays ;=)))
On Sat, 25 Dec 2004 19:08:46 +0100, CoCozZ geek <cocozz@gmail.com> wrote:
> edit: oh ... yes im using an usb HUB. Ok wait I try to connect ir on
> another usb port
>
> On Sat, 25 Dec 2004 19:08:30 +0100, CoCozZ geek <cocozz@gmail.com> wrote:
> > oh ... yes im using an usb. Ok wait I try to connect ir on another usb port
> >
> >
> > On Sat, 25 Dec 2004 18:58:49 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> > > Hi,
> > >
> > > > Cocozz cocozz # uname -r
> > > > 2.6.8-gentoo-r10
> > > >
> > > > Cocozz cocozz # cat /proc/bus/usb/devices
> > > >
> > > > T: Bus=01 Lev=02 Prnt=05 Port=02 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
> > > > D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> > > > P: Vendor=0a12 ProdID=0001 Rev= 5.25
> > > > C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > > > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > > > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> > > > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > > I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > > I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > > I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > > I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > > I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > > I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > > I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
> > >
> > > I don't see any problem here and since this is a CSR dongle there
> > > shouldn't be a problem at all. These devices normally work. Maybe you
> > > need to change your USB devices a little bit. I heard of problems of
> > > some Bluetooth dongles behind a hub etc.
> > >
> > > 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
> > > Bluez-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bluez-users
> > >
> >
>
-------------------------------------------------------
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] 13+ messages in thread* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 18:11 ` CoCozZ geek
@ 2004-12-25 18:32 ` CoCozZ geek
2004-12-25 18:48 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: CoCozZ geek @ 2004-12-25 18:32 UTC (permalink / raw)
To: bluez-users
Oh one more thing please :) File transfers are OK. But I need to send
things to the flash memory and not to the mobile memory. Is it
possible ?
It might be cool to access the mobile filesystem , is it possible to ?
On Sat, 25 Dec 2004 19:11:28 +0100, CoCozZ geek <cocozz@gmail.com> wrote:
> Yessssssss miracle :)
>
> Cocozz cocozz # hcitool scan
> Scanning ...
> 00:0E:6D:85:74:7A Nokia 6600
>
> Lots lots lots lots lots of thanks !!!!
>
> Have a very happy holidays ;=)))
>
>
> On Sat, 25 Dec 2004 19:08:46 +0100, CoCozZ geek <cocozz@gmail.com> wrote:
> > edit: oh ... yes im using an usb HUB. Ok wait I try to connect ir on
> > another usb port
> >
> > On Sat, 25 Dec 2004 19:08:30 +0100, CoCozZ geek <cocozz@gmail.com> wrote:
> > > oh ... yes im using an usb. Ok wait I try to connect ir on another usb port
> > >
> > >
> > > On Sat, 25 Dec 2004 18:58:49 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> > > > Hi,
> > > >
> > > > > Cocozz cocozz # uname -r
> > > > > 2.6.8-gentoo-r10
> > > > >
> > > > > Cocozz cocozz # cat /proc/bus/usb/devices
> > > > >
> > > > > T: Bus=01 Lev=02 Prnt=05 Port=02 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
> > > > > D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> > > > > P: Vendor=0a12 ProdID=0001 Rev= 5.25
> > > > > C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > > > > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > > > > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> > > > > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > > > I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > > > I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > > > I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > > > I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > > > I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > > > I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > > > E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > > > E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > > > I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
> > > >
> > > > I don't see any problem here and since this is a CSR dongle there
> > > > shouldn't be a problem at all. These devices normally work. Maybe you
> > > > need to change your USB devices a little bit. I heard of problems of
> > > > some Bluetooth dongles behind a hub etc.
> > > >
> > > > 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
> > > > Bluez-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/bluez-users
> > > >
> > >
> >
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Error when compiling bluez-utils
2004-12-25 18:32 ` CoCozZ geek
@ 2004-12-25 18:48 ` Marcel Holtmann
2004-12-27 2:03 ` [Bluez-users] How is the CTP in BLUEZ going? Heejune AHN
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2004-12-25 18:48 UTC (permalink / raw)
To: BlueZ Mailing List
Hi,
> Oh one more thing please :) File transfers are OK. But I need to send
> things to the flash memory and not to the mobile memory. Is it
> possible ?
>
> It might be cool to access the mobile filesystem , is it possible to ?
this is phone specific and has nothing to do with Bluetooth. May you
wanna check the Gnokii project.
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bluez-users] How is the CTP in BLUEZ going?
2004-12-25 18:48 ` Marcel Holtmann
@ 2004-12-27 2:03 ` Heejune AHN
2004-12-27 5:26 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: Heejune AHN @ 2004-12-27 2:03 UTC (permalink / raw)
To: BlueZ Mailing List
SGksDQoNCkkgbmVlZCBDVFAgcHJvZmlsZSBhbmQgUEFOIHByb2ZpbGUgZm9yIG15IG1hY2hpbmUs
IHdlIGFyZSBkZXZsb3BpbmcgYSByZXNpZGVudGlhbCBnYXRld2F5IHN1cHBvcmluZyB2b2ljZSBv
dmVyIGJsdWV0b290aCAoQ1RQKSBhbmQgc29tZSBpbnRlcm5ldCBkYXRhIHNlcnZpY2Ugb24gcGhv
bmUgKFBBTikuDQoNCkkgcmVhZCBmcm9tIE1IIHByZXNlbnRhdGlvbiBtZXRlcmlhbCBpbiAyMDAz
IFdpcmVsZXNzIENvbmdyZWVzIHRoYXQgQ1RQIGlzIGluY2x1ZGVkIGluIHRoZSBmdXR1cmUgcGxh
biBvZiBCTFVFWi4gSSB3b3VsZCBsaWtlIHRvIGtub3cgaG93IGl0IGlzIGdvaW5nLiAgQW5kIGlm
IGl0IGlzIG5vdCBwb3NzaWJsZSB0byBmaW5pc2ggaW4gbmVhciBmdXR1cmUsIHBsZWFzZSBsZSBt
ZSBrbm93IHRoZSBicmllZiBza2V0Y2ggb2YgdGhlIGRlc2dpbiBvZiBDVFAgcHJvZmlsZSBzbyB0
aGF0IEkgY2FuIGltcGxlbWVudCBteXNlbGYuDQpDVFAgdXNlcyBsMmNhcCBkaWZmcmVudCBmcm9t
IEhTUCB3aGljaCB1c2VzIHNjbyBkaXJlY3RseS4gaG1tLCBzbyBJIGNhbm5vdCBleHRlbmRzIHRo
ZSBzY290ZXN0IHV0aWxpdHkgdGhhbiBtdXN0IGV4dGVuZHMgbDJwaW5nIG9yIGwydGVzdC4gYW0g
SSByaWdodD8gSSBoYXZlIHRvIHJlYWQgdGhlIGRldGFpbCBvZiBwcm9maWxlIHNwZWMgbm93LiBe
Xjs7DQoNClRoYW5rcy4NCg0KDQo=
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] How is the CTP in BLUEZ going?
2004-12-27 2:03 ` [Bluez-users] How is the CTP in BLUEZ going? Heejune AHN
@ 2004-12-27 5:26 ` Marcel Holtmann
2004-12-31 20:30 ` [Bluez-users] Source sample custom Bluetooth Jonathan Sass
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2004-12-27 5:26 UTC (permalink / raw)
To: BlueZ Mailing List
Hi,
> I need CTP profile and PAN profile for my machine, we are devloping a residential gateway supporing voice over bluetooth (CTP) and some internet data service on phone (PAN).
>
> I read from MH presentation meterial in 2003 Wireless Congrees that CTP is included in the future plan of BLUEZ. I would like to know how it is going. And if it is not possible to finish in near future, please le me know the brief sketch of the desgin of CTP profile so that I can implement myself.
> CTP uses l2cap diffrent from HSP which uses sco directly. hmm, so I cannot extends the scotest utility than must extends l2ping or l2test. am I right? I have to read the detail of profile spec now. ^^;;
the cordless telephony profile application will use a L2CAP socket and a
SCO socket. I stopped working on it, because I never got my hands on a
CTP capable handset. Feel free to develop a CTP application and then
submit it for inclusion.
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bluez-users] Source sample custom Bluetooth
2004-12-27 5:26 ` Marcel Holtmann
@ 2004-12-31 20:30 ` Jonathan Sass
2005-01-01 18:40 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: Jonathan Sass @ 2004-12-31 20:30 UTC (permalink / raw)
To: bluez-users
I am writing code to talk to a custom bluetooth device that I need two
way communication with. (I sent it commands and it sends characters).
Can you please point me to some sample linux (fc2 ideally) source code.
Jonathan
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2004-12-31 20:30 ` [Bluez-users] Source sample custom Bluetooth Jonathan Sass
@ 2005-01-01 18:40 ` Marcel Holtmann
2005-01-03 17:14 ` Jonathan Sass
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2005-01-01 18:40 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Jonathan,
> I am writing code to talk to a custom bluetooth device that I need two
> way communication with. (I sent it commands and it sends characters).
> Can you please point me to some sample linux (fc2 ideally) source code.
the best thing is using a serial profile based communication at RFCOMM
protocol level. See rctest or attest for examples.
Regards
Marcel
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-01 18:40 ` Marcel Holtmann
@ 2005-01-03 17:14 ` Jonathan Sass
2005-01-03 18:20 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: Jonathan Sass @ 2005-01-03 17:14 UTC (permalink / raw)
To: bluez-users
Thank you for your response.
The custom device I am talking to does not support a sdp server. I can
see it with a hcitool scan. The call to sdptool fails to connect due to
a timeout.
Is there a sample that shows sending bytes at a higher level?
I am sure that eventually I will figure it out, but just in case is
there a make file or command to build rctest?
Jonathan
On Jan 1, 2005, at 10:40 AM, Marcel Holtmann wrote:
> Hi Jonathan,
>
>> I am writing code to talk to a custom bluetooth device that I need two
>> way communication with. (I sent it commands and it sends characters).
>> Can you please point me to some sample linux (fc2 ideally) source
>> code.
>
> the best thing is using a serial profile based communication at RFCOMM
> protocol level. See rctest or attest for examples.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> 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
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-03 17:14 ` Jonathan Sass
@ 2005-01-03 18:20 ` Marcel Holtmann
2005-01-03 18:38 ` Jonathan Sass
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2005-01-03 18:20 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Jonathan,
> The custom device I am talking to does not support a sdp server. I can
> see it with a hcitool scan. The call to sdptool fails to connect due to
> a timeout.
>
> Is there a sample that shows sending bytes at a higher level?
>
> I am sure that eventually I will figure it out, but just in case is
> there a make file or command to build rctest?
having a SDP server is nice, but you don't really need it. Simple make
sure that you use the same RFCOMM channel on the server and on the
client side and everything will be fine.
Regards
Marcel
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-03 18:20 ` Marcel Holtmann
@ 2005-01-03 18:38 ` Jonathan Sass
2005-01-03 18:56 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: Jonathan Sass @ 2005-01-03 18:38 UTC (permalink / raw)
To: bluez-users
This device has a custom blue tooth stack (no rfcomm). I need to
inquire, connect (I can do that and see code to do it) and then to
build a aclpacket and do a aclread. What is the equivalent on the linux
side?
On Jan 3, 2005, at 10:20 AM, Marcel Holtmann wrote:
> Hi Jonathan,
>
>> The custom device I am talking to does not support a sdp server. I can
>> see it with a hcitool scan. The call to sdptool fails to connect due
>> to
>> a timeout.
>>
>> Is there a sample that shows sending bytes at a higher level?
>>
>> I am sure that eventually I will figure it out, but just in case is
>> there a make file or command to build rctest?
>
> having a SDP server is nice, but you don't really need it. Simple make
> sure that you use the same RFCOMM channel on the server and on the
> client side and everything will be fine.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> 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
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-03 18:38 ` Jonathan Sass
@ 2005-01-03 18:56 ` Marcel Holtmann
2005-01-04 6:34 ` Jonathan Sass
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2005-01-03 18:56 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Jonathan,
> This device has a custom blue tooth stack (no rfcomm). I need to
> inquire, connect (I can do that and see code to do it) and then to
> build a aclpacket and do a aclread. What is the equivalent on the linux
> side?
in this case you have to use the HCI raw socket. Otherwise you won't be
able to deal with ACL data packets. However every stack should at least
suppport L2CAP, because dealing with raw ACL data packets is never a
good idea.
Regards
Marcel
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-03 18:56 ` Marcel Holtmann
@ 2005-01-04 6:34 ` Jonathan Sass
2005-01-04 11:50 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: Jonathan Sass @ 2005-01-04 6:34 UTC (permalink / raw)
To: bluez-users
The stack that I am talking to only supports raw packets.
So far I am able to do an inquiry and see the device and get its
address, type and name. I am unable to connect to it.
I create a socket
s = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
then I set up the parameters for the addr
sockaddr_hci addr
addr.hci family = AF_BLUETOOTH;
addr.hci_dev = 0;
I then do a bind
bind(s, (struct sockaddr *)&addr, sizeof(addr));
I then try a connect
connect(s, (struct sockaddr *) &addr, sizeof(addr)) and it fails
What might I be missing here? I cannot find any samples
Thank you,
Jonathan
On Jan 3, 2005, at 10:56 AM, Marcel Holtmann wrote:
> Hi Jonathan,
>
>> This device has a custom blue tooth stack (no rfcomm). I need to
>> inquire, connect (I can do that and see code to do it) and then to
>> build a aclpacket and do a aclread. What is the equivalent on the
>> linux
>> side?
>
> in this case you have to use the HCI raw socket. Otherwise you won't be
> able to deal with ACL data packets. However every stack should at least
> suppport L2CAP, because dealing with raw ACL data packets is never a
> good idea.
>
> Regards
>
> Marcel
>
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-04 6:34 ` Jonathan Sass
@ 2005-01-04 11:50 ` Marcel Holtmann
2005-01-05 3:53 ` Jonathan Sass
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2005-01-04 11:50 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Jonathan,
> The stack that I am talking to only supports raw packets.
>
> So far I am able to do an inquiry and see the device and get its
> address, type and name. I am unable to connect to it.
>
> I create a socket
>
> s = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
>
> then I set up the parameters for the addr
>
> sockaddr_hci addr
> addr.hci family = AF_BLUETOOTH;
> addr.hci_dev = 0;
>
> I then do a bind
>
> bind(s, (struct sockaddr *)&addr, sizeof(addr));
>
> I then try a connect
>
> connect(s, (struct sockaddr *) &addr, sizeof(addr)) and it fails
>
> What might I be missing here? I cannot find any samples
the HCI raw socket doesn't support connect(). It is not meant for doing
actual data transmission. You must do this all by yourself. Look at the
source code of the hci*.c tools.
Regards
Marcel
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-04 11:50 ` Marcel Holtmann
@ 2005-01-05 3:53 ` Jonathan Sass
2005-01-05 11:44 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: Jonathan Sass @ 2005-01-05 3:53 UTC (permalink / raw)
To: bluez-users
>
> the HCI raw socket doesn't support connect(). It is not meant for doing
> actual data transmission. You must do this all by yourself. Look at the
> source code of the hci*.c tools.
>
> Regards
>
> Marcel
>
I have looked at the hcitool.c program and I am stuck by my lack of
understanding. The cmd_cmd seems like what I want to do to read data
from my custom device. What I want to do is given a device address, I
want to read bytes from it and occasionally write to it. Is there a
code fragment that you can point me to?
From the person who wrote the stack on our device.
This is a connect device with a ACL DH5 packet type. The transfers are
standard ACL L2CAP packets from the remote. The remote appears to the
host as a master device, pushing down ACL packets when a button is
pressed.
Thank you,
Jonathan
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-05 3:53 ` Jonathan Sass
@ 2005-01-05 11:44 ` Marcel Holtmann
2005-01-06 0:00 ` Jonathan Sass
0 siblings, 1 reply; 13+ messages in thread
From: Marcel Holtmann @ 2005-01-05 11:44 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Jonathan,
> I have looked at the hcitool.c program and I am stuck by my lack of
> understanding. The cmd_cmd seems like what I want to do to read data
> from my custom device. What I want to do is given a device address, I
> want to read bytes from it and occasionally write to it. Is there a
> code fragment that you can point me to?
the HCI raw socket uses H4 as protocol with one packet per read or write
operation. The cmd_cmd() is not what you want, because you wanna send
data packets and not a HCI command.
> From the person who wrote the stack on our device.
>
> This is a connect device with a ACL DH5 packet type. The transfers are
> standard ACL L2CAP packets from the remote. The remote appears to the
> host as a master device, pushing down ACL packets when a button is
> pressed.
So do it uses L2CAP or not? However if not, why don't you get your
device fixed to response to L2CAP. Relying on ACL data packets is not
the best idea to get this working reliable.
Regards
Marcel
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-05 11:44 ` Marcel Holtmann
@ 2005-01-06 0:00 ` Jonathan Sass
2005-01-06 12:34 ` Marcel Holtmann
0 siblings, 1 reply; 13+ messages in thread
From: Jonathan Sass @ 2005-01-06 0:00 UTC (permalink / raw)
To: bluez-users
Thank you for your help.
Progress. I have now made a connection using hci_create_connection. My
final task for this device is to read data. Thats all, just read. I am
looking for some hci_read command? My hunt continues.
On Jan 5, 2005, at 3:44 AM, Marcel Holtmann wrote:
> Hi Jonathan,
>
>> I have looked at the hcitool.c program and I am stuck by my lack of
>> understanding. The cmd_cmd seems like what I want to do to read data
>> from my custom device. What I want to do is given a device address, I
>> want to read bytes from it and occasionally write to it. Is there a
>> code fragment that you can point me to?
>
> the HCI raw socket uses H4 as protocol with one packet per read or
> write
> operation. The cmd_cmd() is not what you want, because you wanna send
> data packets and not a HCI command.
>
>> From the person who wrote the stack on our device.
>>
>> This is a connect device with a ACL DH5 packet type. The transfers are
>> standard ACL L2CAP packets from the remote. The remote appears to the
>> host as a master device, pushing down ACL packets when a button is
>> pressed.
>
> So do it uses L2CAP or not? However if not, why don't you get your
> device fixed to response to L2CAP. Relying on ACL data packets is not
> the best idea to get this working reliable.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> 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
>
-------------------------------------------------------
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] 13+ messages in thread
* Re: [Bluez-users] Source sample custom Bluetooth
2005-01-06 0:00 ` Jonathan Sass
@ 2005-01-06 12:34 ` Marcel Holtmann
0 siblings, 0 replies; 13+ messages in thread
From: Marcel Holtmann @ 2005-01-06 12:34 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Jonathan,
> Progress. I have now made a connection using hci_create_connection. My
> final task for this device is to read data. Thats all, just read. I am
> looking for some hci_read command? My hunt continues.
there is no hci_read function. It is a HCI raw socket with H4 protocol.
This means if you read() you get a HCI packet with one byte H4 header
and then a ACL packet or a HCI event. You will see the same as hcidump
is seeing.
Regards
Marcel
-------------------------------------------------------
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] 13+ messages in thread
end of thread, other threads:[~2005-01-06 12:34 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050101041221.D959F32E17@sc8-sf-spam1.sourceforge.net>
2005-01-01 8:12 ` [Bluez-users] Source sample custom Bluetooth Tom Watson
2004-12-24 10:13 [Bluez-users] Error when compiling bluez-utils CoCozZ geek
2004-12-25 17:23 ` CoCozZ geek
2004-12-25 17:28 ` Marcel Holtmann
2004-12-25 17:45 ` CoCozZ geek
2004-12-25 17:49 ` Marcel Holtmann
2004-12-25 17:54 ` CoCozZ geek
2004-12-25 17:58 ` Marcel Holtmann
2004-12-25 18:08 ` CoCozZ geek
2004-12-25 18:08 ` CoCozZ geek
2004-12-25 18:11 ` CoCozZ geek
2004-12-25 18:32 ` CoCozZ geek
2004-12-25 18:48 ` Marcel Holtmann
2004-12-27 2:03 ` [Bluez-users] How is the CTP in BLUEZ going? Heejune AHN
2004-12-27 5:26 ` Marcel Holtmann
2004-12-31 20:30 ` [Bluez-users] Source sample custom Bluetooth Jonathan Sass
2005-01-01 18:40 ` Marcel Holtmann
2005-01-03 17:14 ` Jonathan Sass
2005-01-03 18:20 ` Marcel Holtmann
2005-01-03 18:38 ` Jonathan Sass
2005-01-03 18:56 ` Marcel Holtmann
2005-01-04 6:34 ` Jonathan Sass
2005-01-04 11:50 ` Marcel Holtmann
2005-01-05 3:53 ` Jonathan Sass
2005-01-05 11:44 ` Marcel Holtmann
2005-01-06 0:00 ` Jonathan Sass
2005-01-06 12:34 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox