Create wifi characteristic to be added to ble services
This commit is contained in:
parent
af40a9f015
commit
e7347af656
|
@ -42,7 +42,7 @@ function createChar(name, uuid, prop, write, read) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function createChars () {
|
function createChars () {
|
||||||
createChar('wifi')
|
createChar('wifi', WIFI_ID, ['read', 'write'], onWifiWrite, onWifiRead)
|
||||||
}
|
}
|
||||||
|
|
||||||
function onWifiWrite (data, offset, withoutResponse, callback) {
|
function onWifiWrite (data, offset, withoutResponse, callback) {
|
||||||
|
|
Loading…
Reference in New Issue