* [Bluez-users] Printer adapter w/o SDP
@ 2004-07-18 17:30 Michael Albinus
2004-07-18 19:21 ` Marcel Holtmann
0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2004-07-18 17:30 UTC (permalink / raw)
To: BlueZ Mailing List
Hello,
I have a bt printer adapter with a broken SDP:
magdalene:~# sdptool browse
Inquiring ...
Browsing 00:0C:55:00:B2:B4 ...
Service Name: BrightCom SPP print Server
Service RecHandle: 0x4f4a0001
Service Class ID List:
"Error: This is uuid32" (0x00001101)
Protocol Descriptor List:
"Error: " (0x00000100)
"Error: " (0x00000003)
uint8: 0x1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x6672
encoding: 0x6a
base_offset: 0x110
Service Name: BrightCom OPP Server
Service RecHandle: 0x4f4a0002
Service Class ID List:
"Error: This is uuid32" (0x00001105)
Protocol Descriptor List:
"Error: " (0x00000100)
"Error: " (0x00000003)
uint8: 0x2
"Error: " (0x00000008)
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x6672
encoding: 0x6a
base_offset: 0x110
Profile Descriptor List:
"Error: This is uuid32" (0x00001105)
Version: 0x0100
It is bound via serial protocol:
magdalene:~# rfcomm
rfcomm0: 00:0C:55:00:B2:B4 channel 1 clean
But I'm unable to use it as CUPS printer ("Can't get service
information"). The CUPS URI is "bluetooth://000C5500B2B4/spp".
Is there a way to bind it to CUPS without SDP? I hoped specifying the
protocol in the URI would be sufficient.
Best regards, Michael.
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Printer adapter w/o SDP
2004-07-18 17:30 [Bluez-users] Printer adapter w/o SDP Michael Albinus
@ 2004-07-18 19:21 ` Marcel Holtmann
2004-07-18 19:39 ` Michael Albinus
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-07-18 19:21 UTC (permalink / raw)
To: Michael Albinus; +Cc: BlueZ Mailing List
Hi Michael,
> I have a bt printer adapter with a broken SDP:
>
> magdalene:~# sdptool browse
> Inquiring ...
> Browsing 00:0C:55:00:B2:B4 ...
> Service Name: BrightCom SPP print Server
> Service RecHandle: 0x4f4a0001
> Service Class ID List:
> "Error: This is uuid32" (0x00001101)
> Protocol Descriptor List:
> "Error: " (0x00000100)
> "Error: " (0x00000003)
> uint8: 0x1
> Language Base Attr List:
> code_ISO639: 0x656e
> encoding: 0x6a
> base_offset: 0x100
> code_ISO639: 0x6672
> encoding: 0x6a
> base_offset: 0x110
>
> Service Name: BrightCom OPP Server
> Service RecHandle: 0x4f4a0002
> Service Class ID List:
> "Error: This is uuid32" (0x00001105)
> Protocol Descriptor List:
> "Error: " (0x00000100)
> "Error: " (0x00000003)
> uint8: 0x2
> "Error: " (0x00000008)
> Language Base Attr List:
> code_ISO639: 0x656e
> encoding: 0x6a
> base_offset: 0x100
> code_ISO639: 0x6672
> encoding: 0x6a
> base_offset: 0x110
> Profile Descriptor List:
> "Error: This is uuid32" (0x00001105)
> Version: 0x0100
this is not broken SDP. They use UUID32 which is fine, but actually not
quite the normal way.
What libs and utils versions are you using?
> It is bound via serial protocol:
>
> magdalene:~# rfcomm
> rfcomm0: 00:0C:55:00:B2:B4 channel 1 clean
Who said that this needed?
> But I'm unable to use it as CUPS printer ("Can't get service
> information"). The CUPS URI is "bluetooth://000C5500B2B4/spp".
>
> Is there a way to bind it to CUPS without SDP? I hoped specifying the
> protocol in the URI would be sufficient.
No, because you still need to get the RFCOMM channel number.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Printer adapter w/o SDP
2004-07-18 19:21 ` Marcel Holtmann
@ 2004-07-18 19:39 ` Michael Albinus
2004-07-18 20:01 ` Marcel Holtmann
0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2004-07-18 19:39 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
Marcel Holtmann <marcel@holtmann.org> writes:
> Hi Michael,
Hi,
> this is not broken SDP. They use UUID32 which is fine, but actually not
> quite the normal way.
>
> What libs and utils versions are you using?
magdalene:~> uname -a
Linux magdalene 2.6.7-mh1 #1 Sun Jul 4 11:32:11 CEST 2004 i686 GNU/Linux
magdalene:~> apt-cache policy bluez-cups bluez-utils libbluetooth1
bluez-cups:
Installed: 2.8-1
bluez-utils:
Installed: 2.8-1
libbluetooth1:
Installed: 2.8-1
>> magdalene:~# rfcomm
>> rfcomm0: 00:0C:55:00:B2:B4 channel 1 clean
>
> Who said that this needed?
Nobody. I simply tried this.
> Regards
>
> Marcel
Best regards, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Printer adapter w/o SDP
2004-07-18 19:39 ` Michael Albinus
@ 2004-07-18 20:01 ` Marcel Holtmann
2004-07-19 13:19 ` Michael Albinus
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-07-18 20:01 UTC (permalink / raw)
To: Michael Albinus; +Cc: BlueZ Mailing List
Hi Michael,
> > this is not broken SDP. They use UUID32 which is fine, but actually not
> > quite the normal way.
> >
> > What libs and utils versions are you using?
>
> magdalene:~> uname -a
> Linux magdalene 2.6.7-mh1 #1 Sun Jul 4 11:32:11 CEST 2004 i686 GNU/Linux
>
> magdalene:~> apt-cache policy bluez-cups bluez-utils libbluetooth1
> bluez-cups:
> Installed: 2.8-1
> bluez-utils:
> Installed: 2.8-1
> libbluetooth1:
> Installed: 2.8-1
so everything is as new as possible. Seems we must fix the code to work
correct with UUID32. Where do you got this printer adapter? Looks like I
have to buy one of them or is there a sponsor out there?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Printer adapter w/o SDP
2004-07-18 20:01 ` Marcel Holtmann
@ 2004-07-19 13:19 ` Michael Albinus
2004-07-25 17:31 ` Marcel Holtmann
0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2004-07-19 13:19 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
Marcel Holtmann <marcel@holtmann.org> writes:
> Hi Michael,
Hi Marcel,
> so everything is as new as possible. Seems we must fix the code to work
> correct with UUID32. Where do you got this printer adapter? Looks like I
> have to buy one of them or is there a sponsor out there?
It's a cheap Typhoon device
<http://www.anubisline.com/english/articlec.asp?id=20005&catid=200>,
bought at ebay. I'll donate it to you; no problem to get another
one. Could you, please, provide me a postal address?
> Regards
>
> Marcel
Best regards, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Printer adapter w/o SDP
2004-07-19 13:19 ` Michael Albinus
@ 2004-07-25 17:31 ` Marcel Holtmann
2004-07-26 8:56 ` Michael Albinus
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-07-25 17:31 UTC (permalink / raw)
To: Michael Albinus; +Cc: BlueZ Mailing List
Hi Michael,
> > so everything is as new as possible. Seems we must fix the code to work
> > correct with UUID32. Where do you got this printer adapter? Looks like I
> > have to buy one of them or is there a sponsor out there?
>
> It's a cheap Typhoon device
> <http://www.anubisline.com/english/articlec.asp?id=20005&catid=200>,
> bought at ebay. I'll donate it to you; no problem to get another
> one. Could you, please, provide me a postal address?
thanks for the device. It was a bug in the SDP part of the Bluetooth
library. The funny thing is that it was able to work with UUID128 and
UUID16, but it seems that actually nobody used UUID32 for protocol
identifiers before. The fix for that is in the CVS now.
Besides using UUID32 which is really stupid, but allowed, this devices
uses an unallowed manufacturer id. It is an end user product ;)
# hcitool info 00:0C:xx:xx:xx:xx
Requesting information ...
BD Address: 00:0C:xx:xx:xx:xx
Device Name: PCR HCRP SPP OPP
LMP Version: 1.1 (0x1) LMP Subversion: 0x904
Manufacturer: internal use (65535)
Features: 0xff 0xfa 0x05 0x00 0x00 0x00 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<RSSI> <SCO link> <HV2 packets> <HV3 packets> <u-law log>
<A-law log> <CVSD> <power control>
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Printer adapter w/o SDP
2004-07-25 17:31 ` Marcel Holtmann
@ 2004-07-26 8:56 ` Michael Albinus
0 siblings, 0 replies; 7+ messages in thread
From: Michael Albinus @ 2004-07-26 8:56 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
Marcel Holtmann <marcel@holtmann.org> writes:
> Hi Michael,
Hi Marcel,
> thanks for the device. It was a bug in the SDP part of the Bluetooth
> library. The funny thing is that it was able to work with UUID128 and
> UUID16, but it seems that actually nobody used UUID32 for protocol
> identifiers before. The fix for that is in the CVS now.
Thanx for the fix. I'll check it next days.
> Regards
>
> Marcel
Best regards. Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-07-26 8:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-18 17:30 [Bluez-users] Printer adapter w/o SDP Michael Albinus
2004-07-18 19:21 ` Marcel Holtmann
2004-07-18 19:39 ` Michael Albinus
2004-07-18 20:01 ` Marcel Holtmann
2004-07-19 13:19 ` Michael Albinus
2004-07-25 17:31 ` Marcel Holtmann
2004-07-26 8:56 ` Michael Albinus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox