2006-08-01 03:29:02

by Denis Kenzior

[permalink] [raw]
Subject: [Bluez-devel] Patch: GetRemoteClass

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


Attachments:
(No filename) (519.00 B)
bluez.patch (2.17 kB)
(No filename) (348.00 B)
(No filename) (164.00 B)
Download all attachments

2006-08-09 22:09:34

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Patch: GetRemoteClass

Hi Peter,

> > > Attached is a patch to get remote class of device information as a uint32.
> > > This introduces a new method with signature:
> > > uint32 GetRemoteClass(string address), which returns the class of device
> > > information encoded as a 32 bit integer.
> > >
> > > The reasoning is that some applications might want to rely on their own
> > > conversion routines for the Major, Minor and Service class attributes, and
> > > thus the DBUS GetRemoteMajorClass, GetRemoteMinorClass, etc methods that
> > > return strings are not useful.
> >
> > the patch is clean. So before I apply it and so extend the API, does
> > someone else thinks it is useful to have?
> >
> I'm currently not using the DBUS API, but I think this would be something
> very usefull.

that's fair enough. I applied the patch to the CVS now.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2006-08-02 11:04:53

by Peter Wippich

[permalink] [raw]
Subject: Re: [Bluez-devel] Patch: GetRemoteClass



Hi All,

On Wed, 2 Aug 2006, Marcel Holtmann wrote:
> Hi Denis,
>
> > Attached is a patch to get remote class of device information as a uint32.
> > This introduces a new method with signature:
> > uint32 GetRemoteClass(string address), which returns the class of device
> > information encoded as a 32 bit integer.
> >
> > The reasoning is that some applications might want to rely on their own
> > conversion routines for the Major, Minor and Service class attributes, and
> > thus the DBUS GetRemoteMajorClass, GetRemoteMinorClass, etc methods that
> > return strings are not useful.
>
> the patch is clean. So before I apply it and so extend the API, does
> someone else thinks it is useful to have?
>
I'm currently not using the DBUS API, but I think this would be something
very usefull.

Ciao,

Peter



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2006-08-02 03:13:26

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Patch: GetRemoteClass

Hi Denis,

> Attached is a patch to get remote class of device information as a uint32.
> This introduces a new method with signature:
> uint32 GetRemoteClass(string address), which returns the class of device
> information encoded as a 32 bit integer.
>
> The reasoning is that some applications might want to rely on their own
> conversion routines for the Major, Minor and Service class attributes, and
> thus the DBUS GetRemoteMajorClass, GetRemoteMinorClass, etc methods that
> return strings are not useful.

the patch is clean. So before I apply it and so extend the API, does
someone else thinks it is useful to have?

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel