Android Only
cordova plugin add https://github.com/six519/cordova-plugin-btobdspeed.git
window.bTOBDSpeedPlugin.start(function(e){
console.log('The speed is: ' + e + 'km/h');
}, function(e){
alert('Error: ' + e);
});
Get Speed of vehicle via Raspberry App Python Client through BT
Android Only
cordova plugin add https://github.com/six519/cordova-plugin-btobdspeed.git
window.bTOBDSpeedPlugin.start(function(e){
console.log('The speed is: ' + e + 'km/h');
}, function(e){
alert('Error: ' + e);
});
Get Speed of vehicle via Raspberry App Python Client through BT