<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hello Guys,<BR>
<BR>
I've got a function from the dbus bluez api that returns a byte array but i'm a little lost as to how I can extract any useful information from it :-D I'm new to both dbus and python but picking thing up quite nicely.<BR>
<BR>
Now, when i print the array to screen it looks like this.<BR>
<BR>
dbus.Array([dbus.Byte(54), dbus.Byte(0), dbus.Byte(101), dbus.Byte(9), dbus.Byte(0), dbus.Byte(0), dbus.Byte(10 ), dbus.Byte(0), dbus.Byte(1), dbus.Byte(0), dbus.Byte(27), dbus.Byte(9), dbus.Byte(0), dbus.Byte(1), dbus.Byte (53), dbus.Byte(3), dbus.Byte(25), dbus.Byte(17), dbus.Byte(5), dbus.Byte(9), dbus.Byte(0), dbus.Byte(4), dbus. Byte(53), dbus.Byte(17), dbus.Byte(53), dbus.Byte(3), dbus.Byte(25), dbus.Byte(1), dbus.Byte(0), dbus.Byte(53), dbus.Byte(5), dbus.Byte(25), dbus.Byte(0), dbus.Byte(3), dbus.Byte(8), dbus.Byte(9), dbus.Byte(53), dbus.Byte( 3), dbus.Byte(25), dbus.Byte(0), dbus.Byte(8), dbus.Byte(9), dbus.Byte(0), dbus.Byte(5), dbus.Byte(53), dbus.By te(3), dbus.Byte(25), dbus.Byte(16), dbus.Byte(2), dbus.Byte(9), dbus.Byte(0), dbus.Byte(6), dbus.Byte(53), dbu s.Byte(9), dbus.Byte(9), dbus.Byte(101), dbus.Byte(110), dbus.Byte(9), dbus.Byte(0), dbus.Byte(106), dbus.Byte( 9), dbus.Byte(1), dbus.Byte(0), dbus.Byte(9), dbus.Byte(0), dbus.Byte(9), dbus.Byte(53), dbus.Byte(8), dbus.Byt e(53), dbus.Byte(6), dbus.Byte(25), dbus.Byte(17), dbus.Byte(5), dbus.Byte(9), dbus.Byte(1), dbus.Byte(0), dbus .Byte(9), dbus.Byte(1), dbus.Byte(0), dbus.Byte(37), dbus.Byte(16), dbus.Byte(79), dbus.Byte(66), dbus.Byte(69) , dbus.Byte(88), dbus.Byte(32), dbus.Byte(79), dbus.Byte(98), dbus.Byte(106), dbus.Byte(101), dbus.Byte(99), db us.Byte(116), dbus.Byte(32), dbus.Byte(80), dbus.Byte(117), dbus.Byte(115), dbus.Byte(104), dbus.Byte(9), dbus. Byte(3), dbus.Byte(3), dbus.Byte(53), dbus.Byte(2), dbus.Byte(8), dbus.Byte(255)], signature=dbus.Signature('y' ))<BR>
<BR>
Now what can i do to extract useful information from this? is there any way to convert the array elements into a readable string so i know what the array contains? I'll then known which array element it is that is of use to me. I've posted on the python mailing list but nobody seemed to have any concrete answers and suggested i speak with you.<BR>
<BR>
Thanks guys,<BR>
<BR>
Rob<BR><BR><br /><hr />Express yourself instantly with Windows Live Messenger, the future of MSN Messenger! <a href='http://imagine-msn.com/messenger/launch/en-GB/' target='_new'>Windows Live Messenger, the future of MSN Messenger!</a></body>
</html>