2007-06-28 16:26:23

by Robert Rawlins

[permalink] [raw]
Subject: Re: [Bluez-users] Service Discovery Issues

Hi Marcel,

Thanks for getting back to me, you were correct to say that it is UInt32, However even with that implemented, we're then back to the original error message again stating that the function doesn't exist, is it possible that I have a version of the API with that method missing? or it has perhaps been depreciated or renamed?

However, the standard GetRemoteServiceRecord() method appears to be in the API and I can get that to return the byte array to me, unfortunately I have no idea how to turn the byte array into anything useful for me to be able to extract the channel/port from, after speaking with quite a few people on the python and dbus mailing lists they were all a little stumped too.

I'd love to hear any more advice you can offer on either the XML or the ByteArray methods,

Thanks mate,

Rob
_________________________________________________________________
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk


Attachments:
(No filename) (286.00 B)
(No filename) (164.00 B)
Download all attachments

2007-06-28 16:32:52

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Service Discovery Issues

Hi Robert,

> Thanks for getting back to me, you were correct to say that it is
> UInt32, However even with that implemented, we're then back to the
> original error message again stating that the function doesn't exist,
> is it possible that I have a version of the API with that method
> missing? or it has perhaps been depreciated or renamed?
>
> However, the standard GetRemoteServiceRecord() method appears to be in
> the API and I can get that to return the byte array to me,
> unfortunately I have no idea how to turn the byte array into anything
> useful for me to be able to extract the channel/port from, after
> speaking with quite a few people on the python and dbus mailing lists
> they were all a little stumped too.
>
> I'd love to hear any more advice you can offer on either the XML or
> the ByteArray methods,

then you are not running bluez-utils-3.12 and you should. Fix that
first.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users