Discovering Bluetooth device
This code shows how to discover bluetooth devices using Tizen Web API.
12345678910111213141516//config.xmlname="http://tizen.org/privilege/application.launch"name="http://tizen.org/privilege/bluetooth"//main.jsvar adapter = tizen.bluetooth.getDefaultAdapter();var discoverDevicesSuccessCallback = {/* When a device is found */ondevicefound: function(device) {console.log('Found device - name: ' + device.name);console.log('Found device - name: ' + device.address);}}/* Discover devices */adapter.discoverDevices(discoverDevicesSuccessCallback, null);