Anyway, if you need Bluetooth functionality the plugin provides the following method:
- listDevices
- isBTEnabled
- enableBT
- disableBT
- pairBT
- unPairBT
- listBoundDevices
- stopDiscovering
- isBound
Enjoy!
Update: Oh by the Hoary Hosts of Hogarth! I should mention that I didn't originate this plugin, I just saw the need for it to be updated. All credit should go the original authors: Daniel Tizón, Idoia Olalde and Iñigo González
Update: Oh by the Hoary Hosts of Hogarth! I should mention that I didn't originate this plugin, I just saw the need for it to be updated. All credit should go the original authors: Daniel Tizón, Idoia Olalde and Iñigo González
12 comments:
Nice plugin..
Hi Simon,
great job.
Do you have a shot example, how to send/receive data to a (paired) bluetooth device?
I'm using cordova 2.3.0 w/ android
thx
Hi Simon! Do you think that a serial port plugin to read data off USB is on the horizon?
I've looked into it and it seems complex.
Thakns!
@Unknown
I have no plans to do one right now.
@Abulafia
Hopefully the device you are pairing with has an SDK but if not:
http://manojprasaddevelopers.blogspot.com/2012/02/bluetooth-data-transfer-example.html
Nice! works very well!! thanks!!
Sir i want ask you , how can make widget with phonegap ?
@blogger for study
You would have to write it in native Android code. PhoneGap is a cross platform framework for creating apps and Widgets are pretty specific to Android.
Is it compatible with Bluetooth Smart?
@Adrien Giboire
Don't see why not.
hi simon
i m not able to download the GIT repo
https://github.com/phonegap/phonegap-plugins/archive/master.zip
@yoga surya
Okay, not sure what to tell you. The file downloads fine for me.
Post a Comment