-
Notifications
You must be signed in to change notification settings - Fork 37
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
Missing Services #12
Comments
Did you do a discovery scan before accessing the devices. I noticed that in some cases the Bluetooth adapter needs to get some time to fully discover devices. Maybe that helps. If there is need to run as sudo you will get exceptions from the dbus stating that you are not allowed to perform an action. So I think sudo won't help. |
Ok, I will try this and report back.
Much appreciated.
…On Fri, Nov 20, 2020 at 3:54 PM Gertjan van Heertum < ***@***.***> wrote:
Did you do a discovery scan before accessing the devices. I noticed that
in some cases the Bluetooth adapter needs to get some time to fully
discover devices. Maybe that helps. If there is need to run as sudo you
will get exceptions from the dbus stating that you are not allowed to
perform an action. So I think sudo won't help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYHB5EUWJVUFSXCRT7ZWSTSQYOB5ANCNFSM4T4NQNMA>
.
--
--
John Anderson
Fungusware
http://fungusware.com
http://www.xenserver-backup.com
|
@Fungusware did you find the cause of your issue? |
Unfortunately time restraints meant I had to abandon my testing, and I ended up just using Linux command line and pipe it back into the C# code. Not pretty but its effective. |
Hi,
When running my application that uses this excellent on a standard Ubuntu linux box, I can see all 6 of my BLE services and the characteristics. I can also grab data from them.
When I run the same application on the Raspberry Pi, I can see only one service, and not the ones I need. I have added the 'pi' user to the lp and bluetooth groups.
I'm guessing 'dotnet run' might need to run with sudo but I'm not sure.
Any help is greatly appriciated.
The text was updated successfully, but these errors were encountered: