Phonegap bluetooth and nsbasic/app


#1

how to integrate phonegap bluetooth api in nsbasic/app? i want to use bluetooth to print

thanks Teo


#2

You’ll need to use a PhoneGap plugin. There are a number of them for BT:

https://cordova.apache.org/plugins/?q=bluetooth

Keep in mind that most BlueTooth printers have their own set of control codes. You’ll probably need a BT library specifically for the printer.


#3

If you don’t know where to start, do read this query – How to use bluetooth / BLE via PhoneGap or etc? – and look at the Q & A underneath (note the mention of Samples, and check out the links).