This commit is contained in:
Monster
2018-02-10 17:19:18 +03:00
parent 60c0e0f260
commit 012c35a556
3 changed files with 1 additions and 5 deletions
+1 -3
View File
@@ -1,10 +1,8 @@
# blegw # blegw
Gateway Bluetooth LE->MQTT (now support only xiaomi scale and didn't support mqtt :-D). This app will retrieve Xiaomi Smart Scale data and save it to weights.json.
Project based on openScale (https://github.com/oliexdev/openScale/) code. Project based on openScale (https://github.com/oliexdev/openScale/) code.
# License # License
Project is licensed under the GPL v3, see LICENSE file for full notice. Project is licensed under the GPL v3, see LICENSE file for full notice.
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
BIN
View File
Binary file not shown.
-2
View File
@@ -89,8 +89,6 @@ func onPeriphConnected(p gatt.Peripheral, err error) {
// fmt.Printf("Failed to read characteristic, err: %s\n", err) // fmt.Printf("Failed to read characteristic, err: %s\n", err)
// return // return
// } // }
// parseData(b)
// return
// fmt.Printf(" value %x | %q\n", b, b) // fmt.Printf(" value %x | %q\n", b, b)
histChar := getCharByUUID(WEIGHT_MEASUREMENT_HISTORY_CHARACTERISTIC, chars) histChar := getCharByUUID(WEIGHT_MEASUREMENT_HISTORY_CHARACTERISTIC, chars)