sendFwInfo() not writing characterstic for Xiaomi Band 6 #2273

Open
opened 3 weeks ago by maxakash · 5 comments
maxakash commented 3 weeks ago

You can use the Preview tab ^ above to see final rendering of your report. Use x in brackets ([x]) to "check" a checkbox.

If you just have a question, please ask first in the user chatroom in Matrix: #gadgetbridge:matrix.org (web access via Element.io).

Before reporting a bug, please confirm the following:

  • I have read the wiki, and I didn't find a solution to my problem / an answer to my question.
  • I have searched the issues, and I didn't find a solution to my problem / an answer to my question.
  • If you upload an image or other content, please make sure you have read and understood the Codeberg Terms of Use

I got Gadgetbridge from:

  • F-Droid
  • I built it myself from source code (specify tag / commit)

If you got it from Google Play, please note that version is unofficial and not supported here; it's also often quite outdated. Please switch to one of the above versions if you can.

Your wearable device is:Xiaomi Band 6

Please specify model and firmware version if possible

Your android version is:10

I am trying to add support for Mi band 6 in gadgetbridge.
I have connected to my band successfully.

But when I am trying to send watch face to mi band 6, no syncing option occurs on the band and no error is thrown in the logcat.

I think the issue is related to sending the wrong byte array while writing the UUID
"0000003-0000-3512-2118-0009af100700".

Please help me.

You can use the `Preview` tab ^ above to see final rendering of your report. Use `x` in brackets ([x]) to "check" a checkbox. If you just have a question, please ask first in the user chatroom in Matrix: `#gadgetbridge:matrix.org` ([web access via Element.io](https://app.element.io/#/room/#gadgetbridge:matrix.org)). #### Before reporting a bug, please confirm the following: - [ ] I have read the [wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki), and I didn't find a solution to my problem / an answer to my question. - [ ] I have searched the [issues](https://codeberg.org/Freeyourgadget/Gadgetbridge/issues), and I didn't find a solution to my problem / an answer to my question. - [ ] If you upload an image or other content, please make sure you have read and understood the [Codeberg Terms of Use](https://codeberg.org/codeberg/org/src/branch/master/TermsOfUse.md) ### I got Gadgetbridge from: * [ ] F-Droid * [ ] I built it myself from source code (specify tag / commit) If you got it from Google Play, please note [that version](https://github.com/TaaviE/Gadgetbridge) is unofficial and not supported here; it's also often quite outdated. Please switch to one of the above versions if you can. #### Your wearable device is:Xiaomi Band 6 *Please specify model and firmware version if possible* #### Your android version is:10 I am trying to add support for Mi band 6 in gadgetbridge. I have connected to my band successfully. But when I am trying to send watch face to mi band 6, no syncing option occurs on the band and no error is thrown in the logcat. I think the issue is related to sending the wrong byte array while writing the UUID "0000003-0000-3512-2118-0009af100700". Please help me.
Poster

Here is the bluetooth hci snoop log for mi band 6 if someone is looking for it.

Here is the bluetooth hci snoop log for mi band 6 if someone is looking for it.

I am trying to add support for Mi band 6 in gadgetbridge.
I have connected to my band successfully.

But when I am trying to send watch face to mi band 6, no syncing option occurs on the band and no error is thrown in the logcat.

I think the issue is related to sending the wrong byte array while writing the UUID
"0000003-0000-3512-2118-0009af100700".

Please help me.

Is there some code you're willing to share? I will get my miband6 later this week and I plan to work on gadgetbridge support for it, too.

> I am trying to add support for Mi band 6 in gadgetbridge. > I have connected to my band successfully. > > But when I am trying to send watch face to mi band 6, no syncing option occurs on the band and no error is thrown in the logcat. > > I think the issue is related to sending the wrong byte array while writing the UUID > "0000003-0000-3512-2118-0009af100700". > > Please help me. Is there some code you're willing to share? I will get my miband6 later this week and I plan to work on gadgetbridge support for it, too.
Poster

@jhey I am using gadgetbridge code. You can fork this repo.

@jhey I am using gadgetbridge code. You can fork this repo.

I was able to trigger the syncing notification on mi band 6 using the code for mi band 5 with minor changes, but watchface didnt appear. will update soon.

I was able to trigger the syncing notification on mi band 6 using the code for mi band 5 with minor changes, but watchface didnt appear. will update soon.

Any luck with the Watch Face upload ?

I am happy to test any patches.

So far everything seems great - thanks for your hard work.

Any luck with the Watch Face upload ? I am happy to test any patches. So far everything seems great - thanks for your hard work.
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.