Done! I already sent a pull-request.
It's still a first version of the plugin, but I have already included
the next functions, and everything have been tested:
isBTEnabled: true: enabled / false: disabled
enableBT: true: success / false: error
disableBT: true: success / false: error
getBoundDevices: returns a json array with all the bound devices to
your mobile (including name and mac address for each device)
getDevicesFound: returns a json array with all the bluetooth devices
found (including name and mac address for each device)
pair: you must pass the mac address of the bluetooth device with which
you want to pair your mobile
isBound: you must pass the mac address of the bluetooth device with
which you want to know if your mobile is paired
On 2 ago, 19:34, Viras <
vi...@users.sourceforge.net> wrote:
> Can't wait to see this in action - Bluetooth was one of the next items
> on my list!
>
> Once you pushed it into the phonegap-plugin tree I will give it a go!
>
> Best,
> Viras
>
> Am 02.08.2011 14:25, schrieb Daniel:
>
>
>
> > Ok Shazron,
> > I have already forked it and attached a license (Apache License 2.0).
> > You can find it here:
>
> >
https://github.com/DanielTizon/phonegap-plugins/tree/master/Android/B...