update example
This commit is contained in:
parent
4dd4fa3b51
commit
7f5ad16ba9
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
||||||
*
|
*
|
||||||
* onFoundNewDevice: {
|
* onFoundNewDevice: {
|
||||||
* console.log("Found a device: name: " + device.name + " address: " + device.address)
|
* console.log("Found a device: name: " + device.name + " address: " + device.address)
|
||||||
* if(device.name === "ESP32 Chat Test") {
|
* if(device.name === "My device name") {
|
||||||
* ble.stopScanningForDevices()
|
* ble.stopScanningForDevices()
|
||||||
* ble.connectToDevice(device)
|
* ble.connectToDevice(device)
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in a new issue