-
Notifications
You must be signed in to change notification settings - Fork 53
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
Bluetooth dont work on android 11 with playstore version but.... #104
Comments
If i can made some request here, if it's not so complicated: Of course, thank you very much for the work already done. |
Hello @F4HTB! Sorry for the late reply, was a bit stuck with my day job) I can see you did a whole proper investigation, well done! Actually the BT piece of functionality was written by ajohns1288 and merged here. I never really looked into it properly as I didn't have a usecase for it and also any device to test it on, but from his notes I assume it's to do with the permissions and the way they are handled by different Android versions. Google introduces more restrictions with each version. Funny that you said that if you compile the app from source, then it works properly. I would try to play with the permissions via Android settings. Currently the app is built to target the latest Android 13, so newer version than 11. But it supports everything down to Android 5. For obvious reasons I can't target an older version, but I will look into the issue this weekend. Also, the ideas you mentioned are really good. I need to set aside some free time to review the app's code, which hasn't happened for a while. Anyway, I hope I'll fix it and it'll be a useful tool in your interesting journey. Rotators are so bloody expensive... |
Hello! Like you, I had also thought about the authorizations to use bluetooth. Maybe if the app is uploaded via the sdk, it overrides all permissions requests? As soon as I finish my version of the handheld rotor, I'll pat it and let you know. I'm thinking of a budget of less than 100USD. I use ideas of mechanical implementations and I redid a code since I do not use the same modules and do things. Among other things on the fact that they use a gyroscope module and compass that they posisione at the end of the antenna. I only use it for elevation because I positioned the sensor close to the main box and the gravitational field is not affected by the magnetic effects of the motors. In short, suddenly your software is very useful since many people including myself have a smartphone. It was easier in practice to connect your phone to it in bluetooth instead of take out a computer. And above all it works very well :) 73! F4HTB |
Hi! This is BH2VSQ, I'm trying to use the Bluetooth features of Look4sat. How can I setup my devices to receive the data from Look4sat? |
Hello Dear!
I actualy working on a portable rotor esp32 controled.
I try to communicate by bluetooth.
I tested several ways and several codes on esp32 to simply make a mirror between the serial port and the bluetooth serial port.
I saw that in your code login with uuid 00001101-0000-1000-8000-00805f9b34fb, that's good.
https://github.com/rt-bishop/Look4Sat/blob/devel/app/src/main/java/com/rtbishop/look4sat/presentation/radarScreen/BTReporter.kt
I used the application androidBluetooth Finder, Scanner Pair from Zoltan Pallagi to check the id and uuid of the services provided by the esp32 base codes and they are present.
I used an application called "Serial Bluetooth Terminal 1.4" on android to test my code and I got the return via the serial port.
At this point, I can't get any feedback from look4sat ...
So I installed android studio and the sdk for android 11 then I git your repo and compile.
On the compiled version with all updates, it worked on my android 11 phone.
I uninstalled and reinstalled from play store. It does not work.
I am not a specialist in android applications... It is possible that you have to recompile for each version of android?
If so, can you update your application to android11?
Thanks in advance.
73! F4HTB
The text was updated successfully, but these errors were encountered: