Hi,

Well after seeing the spec, the protocol does not seem too over engineered. These are just messages in byte buffers that can be exchanged over any link, be it bluetooth, serial or struct{} in a function call.

So instead of reinventing a wheel that will look like this, why not implement a simplified version of this spec? we only have to implement the messages  required for our needs.

Regards
Sebastien

On Fri, May 14, 2010 at 5:19 AM, nibbler <nibbler@ccc.de> wrote:
On Thu, 13 May 2010 18:36:31 +0200
Peter Stuge <peter@stuge.se> wrote:

> dexter wrote:
> >> suggested to implement the SIM access profile.
> > Why? I don't see any advantages in this

Did you have a look at the spec?

http://nibbler.de/attic/bluetooth/profile%20SAP%20v1.1.pdf

See page 23 and 32.

It basically implements a minimalistic remote card reader that
forwards APDUs to and from the SIM. All the lower level protocols have
already been implemented e.g. in the Linux kernel.

While it might indeed be not a thing to implement first, it still looks
worth keeping it in mind and interfaces open for a later integration of
SAP as a convenient way to access SIMs remotely.

cheers,
nibbler

p.s. don't spread the link as i don't know exactly about the copyright
implications of all the bluetooth documents in that folder. I happened
to have an account for the SIG document repository thus found it handy
to mirror the specification documents which to my knowledge are not
publicly available.