aashari / mi-band-2

This is an example android application to manipulating data from/to Xiaomi Band 2
MIT License
107 stars 43 forks source link

what is measurement characteristic? #1

Closed lukaskris closed 7 years ago

lukaskris commented 7 years ago

what function measurementCharacteristic and controlCharacteristic??

aashari commented 7 years ago

it is a Bluetooth characteristic of device, if you want to see the value of the characteristic you can open this file: https://github.com/aashari/mi-band-2/blob/master/app/src/main/java/id/aashari/code/miband2/Helpers/CustomBluetoothProfile.java

lukaskris commented 7 years ago

ok.. thankyou bro, ud jalan d miband 2 nya, tapi kalo mau tau HRMnya sdh selesai melakukan measurement gimana? kebetulan sama2 indo

aashari commented 7 years ago

Kalau nggak salah dikodingan saya di MainActivity sudah ada contoh untuk HRM, coba dicek disana setelah dia melakukan Measurement dia bakal tampilin, kalau nggak salah waktu itu saya tampilinnya di loggernya.

bonabrian commented 7 years ago

gimana buat untuk connect melalui aplikasi nya bro? keren lah, yang selama dicari ketemu juga, nice work bro

aashari commented 7 years ago

Ada di fungsi startConnecting bro