Re: [Bluez-devel] Announce : BlueZ-based implemantation of JSR82

Marcel Holtmann
2004-05-27T12:33:30Z

Hi Stephen,

> Yeah, having built a JSR82 solution with callbacks to Java from the
> native layer for SDP, I can whole-heartedly recommend passing the
> bytearray returned from the search back to Java and parsing it there.
>
> I'd been thinking of splitting the SDP code along these lines: one base
> layer which encapsulates the protocol and some user-space helper
> functions which (de-)construct the byte-arrays passed to this base
> layer. What do you think Marcel?

I think this is a nice idea, because this makes it also very easy to
store the SDP record on a filesystem for caching or anything else. I
have done something similar in the SDP code for libs2.

Lets talk about the API and then start coding this extension.