Hi Guys,
I'm unable to read data from bluetooth enabled external devices through bluetooth i'm using using standard GATT services.
service uuid "00001810-0000-1000-8000-00805F9B34FB"
Error which is showing "Error while socket connecting: Not found"
Simple description of my code
Step 1: Scan Device
Working fine
Step 2: Connect Device
Working fine
Step 3: Create device bonding
Working fine
Step 4: Reading data <Here I'm stuck >
device.connectToServiceByUUID("00001810-0000-1000-8000-00805F9B34FB", function(sock) {
console.error('socket connected');
var data= sock.ReadData();
}, function(error) {
console.error('Error while connecting socket: ' + error.message);
onBondingSuccessCallback(device);
});
I'm using tizen bluetooth api
https://developer.tizen.org/development/guides/web-application/connectivity-and-wireless/bluetooth