Passing custom alert messages with PERIPHERAL_ERROR.

This commit is contained in:
Evelyn Eastmond 2018-09-14 16:26:08 -04:00
parent e2c6c7667b
commit 96327c66f3
6 changed files with 17 additions and 9 deletions

View file

@ -548,7 +548,7 @@ class EV3 {
* Called by the runtime when user wants to scan for an EV3 peripheral.
*/
scan () {
this._bt = new BT(this._runtime, {
this._bt = new BT(this._runtime, 'EV3', {
majorDeviceClass: 8,
minorDeviceClass: 1
}, this._onConnect, this._onMessage);