diff --git a/services/bluetooth/index.js b/services/bluetooth/index.js index 9dc10a2..5f284db 100644 --- a/services/bluetooth/index.js +++ b/services/bluetooth/index.js @@ -42,7 +42,7 @@ function createChar(name, uuid, prop, write, read) { } function createChars () { - createChar('wifi') + createChar('wifi', WIFI_ID, ['read', 'write'], onWifiWrite, onWifiRead) } function onWifiWrite (data, offset, withoutResponse, callback) {