-
Notifications
You must be signed in to change notification settings - Fork 31
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
Exception when using example Android App #37
Comments
Hi. Thanks for reporting this. We'll take a look shortly to see how that should be fixed. |
Any news on this issue @barbibulle ? It happens to me on all my devices (Samsung S7, S8, Google Pixel) and the CoAP message is displayed locally (sending device) only. I'd expected that it gets transmitted to the other (receiving) device. Nevertheless, in the logcat (of the receiving device) I can see some data gets transmitted (encrypted) ... it just never reaches the UI ... any idea where to look for an issue? |
hello Nils, Could you share more info of your peripheral device? for the error exception, it seems like the golden gate android app was not able to subscribe the CCCD of Gattlink service on the peer device. |
@ShawnW858 Currently, there are two issues:
To me the above exception ("descriptor must not be null" and its following errors) appears to be sort of a racing condition and the descriptor and its service is found later on. Nevertheless, I cannot receive a coap message sent from the peripheral device to central and vice-versa. Taking a closer look at the lower layers and RxSource here, I see that data is received, but it is not forwarded to the UI for unknown reasons. Any idea about that issue? We tested it with several devices now (S7, S8 and Pixel). Also, I was surprised to see two MAC addresses for the same device. For privacy reasons, I replaced all MAC address with fixed strings like PRIVATE-MAC-SPRO88 or PRIVATE-MAC-SPRO88-NO2 . Thanks for any help :) ! |
I went through your log and it seems like the connection was set up successfully. Thanks |
Hi Shawn, If there is a connection between the devices (in my case SPRO88 as peripheral and Pixel as central), hitting the "send coap request over dtls" on the connected peripheral device, results in a received message on the lower layers only and and it has no effect on the UI at all (I'd assume a message like "Hello world!" in the UI of central). You may see it in the logs as RxSource received data. Therefore, please find attached the log files and a screenshot of the app after I sent a coap message to central. |
@barbibulle any news on your testing? Can you confirm the issues with newer Android versions? Any ideas how to resolve it? |
…rs to master * commit '2ee7a19755680410cb80fc5fa0e218dc3e986d0b': Add root OWNERS
Hi there!
We are getting an exception when using the example app for Android and Gatt/UDP/DTLS and CoAP. I was wondering if you have an hint for us on how to fix that. Is that some sort of device issue with missing values?
The text was updated successfully, but these errors were encountered: