HBandSDK / Android_Ble_SDK

Android SDK
Apache License 2.0
38 stars 36 forks source link

Failing to find the function of calling data synchronization on the clock #17

Open HacBach opened 3 months ago

HacBach commented 3 months ago

I have searched the SDK code you provided, but I could not find the data synchronization function on the app that is present on the watch. There are only functions for measuring indicators, such as heart rate, blood pressure, oxygen, blood sugar, body temperature, and step count. Please provide me with the method to call that synchronization function. I have reviewed the documentation and tried various functions but have not been successful. Any guidance or example code would be greatly appreciated. Please help me.

F753655D-5CBD-410D-8643-8A346DA13D48

F753655D-5CBD-410D-8643-8A346DA13D48

Sartharian commented 2 months ago

Ok, that's so simple: Read the freakin' docs hahaha. You may got helpful the "syncPersonInfo()" method for that, but you need to await success response from "confirmDevicePwd" (shorten for ConfirmDevicePassword) First.

All of that is mentioned on "readme.md" file on this repo =).

good luck!

HacBach commented 2 months ago

@Sartharian
I mean when data synchronization on the Hband app is displayed on the phone. Not the syncPersonInfo() function.

Sartharian commented 2 months ago

My apologizes, i couldn't understand your question. It's about a hband app functionality ? if that, please follow the watch's manual instructions =).

HacBach commented 2 months ago

@Sartharian Hband app has a "reading data" function. Can I ask where that function is in your demo sdk or which functions? Thank you

Sartharian commented 2 months ago

all the sdk functions are based on watch pairing authentication, please follow (with a nice coffee) the steps described in english instruction. refeer to "syncpersoninfo()" method (and listen it across the interfaces =) ). Cheers!