Array{byte}

Robert Rawlins robert_rawlins at hotmail.com
Fri Apr 20 09:25:12 PDT 2007


Thanks for the quick response Simon,
 
I've given that a go but just get the same jumbled up output that i get from a few other byte array to string things i've tried using today, I'm starting to think perhaps its not meant to be a legible string, the result2 now looks like this when printed.
 
6e                555     5       5       5               en      j                       5               %OBEX Object Push        ÿ
I've got another method for retrieving the channel which i can use for the moment instead of the dbus api provided by the guys at bluez, but I'd rather stick with thier solution if possible as everything else seems to work so nicely.
 
If you have any ideas then let me know,
 
Thanks pal,
 
Rob



> Date: Fri, 20 Apr 2007 17:19:39 +0100> From: simon.mcvittie at collabora.co.uk> To: dbus at lists.freedesktop.org> Subject: Re: Array{byte}> > On Fri, 20 Apr 2007 at 16:16:31 +0000, Robert Rawlins wrote:> > result2 = adapter.GetRemoteServiceRecord('00:17:B0:A0:E7:09', result[0])> > Replace with:> > result2 = adapter.GetRemoteServiceRecord('00:17:B0:A0:E7:09', result[0],> byte_arrays=True)> _______________________________________________> dbus mailing list> dbus at lists.freedesktop.org> http://lists.freedesktop.org/mailman/listinfo/dbus
_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
http://www.live.com/getstarted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20070420/e0104adc/attachment-0001.html


More information about the dbus mailing list