Thread (2 messages) read the whole thread 2 messages, 2 authors, 2007-06-28

Re: [Bluez-users] Service Discovery Issues

From: Robert Rawlins <hidden>
Date: 2007-06-27 18:26:43

Hello Marcel,
 
Thanks for the quick response.
 
quoted
try wrapping the handle with dbus.Uint32() to get the right type.
I've tried wrapping that now so the line of code now looks like:
 
print adapter.GetRemoteServiceRecordAsXML('00:17:B0:A0:E7:09', dbus.Uint32(handle))
 
But I get a different error this time around:
 
AttributeError: 'module' object has no attribute 'Uint32'
I'm not too bothered if we're not able to get this XML version working, I just need a method of getting the channel/port from the device, which ever solution is simplest and fastest.
 
Thanks for your help Marcel,
 
Rob
_________________________________________________________________
Feel like a local wherever you go with BackOfMyHand.com
http://www.backofmyhand.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help