-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working: GN/Resound #16
Comments
I have been looking at gatt-refactor-3 today and I'll paste the logs here. I had to fork the branch and go in and modify the firmware characteristic to FIRMWARE instead of SOFTWARE as the software characteristic didn't exist in the resound devices. I decompiled one of their earliest versions of the android apps and was able to see a bunch of the uuids that it uses for services and characteristics. I get Subscribe to ASP failed with error code: 0x0a and I'm unable to locate 0x0a in the btstack for that function? But I'm definitely not a pro at any of this. I'm barely a beginner who pokes at things. {"cmd":"clear_dev_db","success":true} |
Hmm. In this case, error code I wonder if the L2CAP connection has to be created before subscribing to the notification? |
Oh, I thought I updated. I found the error code, yeah. It was strange because it would start coming out of sequence sometimes. I went back to messing around with the main branch. A week ago I had commented out the subscription in the main branch code and a lot more stuff happened but it didn't try to stream any audio. I'll do that again and post the logs if that helps. |
Also your stuff works with Philips hearing aids which are basically Oticon. |
This is the log from when I disable the disconnect from the notifications failing from the main branch. [INFO : 261] BT ASHA starting. |
I just pushed some changes to The new code does two things:
Please let me know if there is any change. |
Here's the logs. I'll mess with it again tomorrow, I think. GN does do some weird stuff because it broadcasts multiple addresses. One is named GN, and one has the users name + "hearing aids" [INFO : 261] BT ASHA starting. |
Sigh... Thanks for trying. I'm a bit stumped at the moment. |
It's impressive that you got it working with Oticon, tbh. Did you modify the btstack yourself at any point? I don't know. We could make a discord group if you want. I'd love to get this working outside just Oticon/Philips because it could help a lot of people. |
No, no modifications to me, apart cherry picking a development feature (to get the number of outgoing credits) onto the current btstack release. As soon as the next btstack version is released, we can switch back to the upstream repository. |
I've been DM'ing with someone else on the |
I've been using github actions and your yaml to build everything but I think the next step is I need to add some custom logging to the btstack to figure out where it chokes and what the output of the choking is, if possible (for me, anyhow). So I'll have to figure out how to do that. Would it be better to build a docker environment at that point? I'm using a MBP M3 if that helps. If the person you are dm'ing is responsive, maybe discord server is decent. And add anyone who is remotely interested. |
I made a server PicoASHA but I can delete it or give you control if you want or whatever. |
I don't think btstack is the source of that error. It is basically reported from the HCI controller (so it comes from the controller or the remote device). |
An update, we figured out that this is an issue of having to enable a compile time define to use a different method to write the client characteristic configuration descriptor (CCCD), See bluekitchen/btstack#632 |
A comment was posted in #13 regarding unable to connect to a Resound HA.
This issue will track troubleshooting and/or progress made.
@sk408 are you able to provide logs from the HA's. Maybe I can try and see what's going on. You may also like to give the
gatt-refactor-3
branch a try to see if it makes any difference.The text was updated successfully, but these errors were encountered: