hmmmm... I guess I need to develop my ble device attributes a little better... they come up as 'undefined' when I call them in chrome browser
navigator.bluetooth.requestDevice(options1) .then(device => { console.log('> Services: ' + device.services); console.log('> namePrefix: ' + device.namePrefix); console.log('> Name: ' + device.name); //console.log('> Id: ' + device.id); //console.log('> Connected: ' + device.gatt.connected); })
@hydronics started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
hmmmm... I guess I need to develop my ble device attributes a little better... they come up as 'undefined' when I call them in chrome browser