Conversation
Added some callbacks Added feature list to WearableService.java Added android:exported="true", required by android 12, for TOS only, cuz i don't know if in other needed true or false
|
now maybe fixes #2444 , at least my Mobvoi Health going to pair screen (after TOS) but code in rough state for now |
|
now, my device is trying to pair via Mobvoi Health |
…dRequest`, `sendMessage` prepairing ConnectionConfiguration to bluetooth stuff, to proper pair devices filled some Parcable classes
and handshake some bluetooth stuff
|
now need to implement openChannel method (wip) for now only rfcomm client supported ble, network, server is not implemented |
still failed to pair
|
@deadYokai |
|
@ale5000-git as i mentioned before
|
|
or i can try to move https://github.com/microg/Wearable/ into GmsCore repo and get rid of dependence https://mvnrepository.com/artifact/org.microg/wearable/0.1.1 |
|
Sorry I missed that point, then we have to wait for @mar-v-in for the decision of this thing. |
|
I'd suggest to entirely move the content of the microg/Wearable repo into play-services-wearable/core module in this repo and then we can archive the microg/Wearable repo entirely. |
and some bluetooth changes
some Bluetooth changes moved some functions from WearableImpl to MessageHandler
- and some DataItem changes
|
i cannot pinpoint why connection closing when channel tries to open can anybody help me? like some logs maybe logs from watch (i cannot capture from my)? |
|
Just looked at your code quickly, and you're the first who even got the Bluetooth UUID right. Looks very promising, keep it up. 👍 I'll try to test your code, as soon as I can with my Pixel Watch. EDIT: If you need more information about the protocol, hit me up. I'm happy to help :) |
Nice! |
|
I've made a clean version of the history in my branch. If you want, you can use that. If you want, you can even resign your last two commits (the |
hopefully i made it correct |
|
Yes, almost. I think the last two commits are not needed. The revert commit is definitely not needed, as the commit it reverts does not exist in the history anymore. I'm not sure what If not, try Also, I'm sorry for causing all this trouble. I hope this is ok for you… |
its ok, i just not good at git Edit: maybe i need take courses on git |
That is totally fine. Thanks a bunch for doing the work anyway! Also, if you need help, I'm glad to help. I only learned a lot of my git skills because a friend showed me recently :) |
|
@teccheck check if this makes sense |
|
@teccheck can you check proto communication in last commit? |
I have a few exams coming up, so I don't have that much time rn. But I took a quick look at this anyway, and there are a few errors:
However, you did get some things right:
Please don't take this personal, but did you use some AI to generate that? I'm asking because a lot of this seems quite messy. All the renaming of things that worked perfectly fine before seems like a human wouldn't do that without thinking twice about it. Especially because these names were established before and they don't come out of nowhere… So I checked GMS again and made some changes to |
i used for reconstructing proto file from gms code Edit: maybe i going to revert last 2 commits |
No worries and don't revert them just yet ;) From a quick look, I think you should at least keep |
because of this i commited revert, instead of rebasing |
|
In general, you might want to keep your commits small. That way you can only revert specific things. For example, you could make a commit for just |
|
I've committed a few things to my branch. Please don't include them into your branch yet. I'll try to incorporate the good changes from 65a1e42 |
|
I've added 3 commits to my branch containing all of your changes unrelated to proto. Feel free to take a look. If you want to cleanly include them in your branch, you can do so via |
|
I just noticed, that I made a mistake with the ChannelControl Type in proto. They should be: CHANNEL_CONTROL_OPEN = 1;
CHANNEL_CONTROL_OPEN_ACK = 2;
CHANNEL_CONTROL_CLOSE = 3;This was correct in the constants in |


Just trying to make a pair with my watch, no more
Many parts of code is just stubs, or workarounds, needed proper implementation
After 465f5f0 requires merging PR microg/Wearable#3 and pushing to maven(not relevant after 63a77a0)P.S. maybe needed code cleanup