viernes, 26 de octubre de 2007

Bluetooth kit/sever/preferences [second attempt]

As far as I remember the last post continued something like...

All the subsystem needs to control and manage at least:

  • "Bluetooth ports" we have in the system, LocalDevice
  • Give the user to discover the devices around, RemoteDevices
  • Each LocalDevice will have 1 and only 1 Connection to other Remote Device. And this sometimes will only be possible after some pincode pairing.
  • And for now... each connection handles multimes Channels where rely all the bluetooth services(psm) between 2 devices.
Some of this points even require a nice UI looking for the user feedback.

So a server, managing the access to this LocalDevices, a kit for developers to access to them and a Preferences app for the user to set the all the possible configurations in the bluetooth world, seems to be a requirement.

Real data flowcomunication most likely will end up being a sockets family AF_BLUETOOTH to keep some compatibility with FreeBSD and Linux. So we can port some upper layer apps or profiles.

In terms of the kit which some parts are already committed. I have been searching for existing bluetooth APIs SymbianOS, Microsoft,... and I found in the JSR82 a nice developerfriendly API, the most near I saw from the Be way.

JSR82 is a API developed by motorola for smart phones supporting J2ME. Yes it is a Java API. Any java application that is capable to be loaded into a mobile phone using bluetooth services is coded using the JSR82 API.

No panic, only the classnames, methos and parameters are going to be used. All the kit is going to be as usual and always a C++ kit. Lets say the kit is going to be insipired in that API.

To say that if someone knows another API that is worth to pay attention, or any consideration about this desition. Now all is in a early stage and we can still change;)

No hay comentarios: