Skip to content
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

Setting name_overwrite=True causes permissions error #117

Open
edcloudcycle opened this issue Oct 30, 2023 · 1 comment
Open

Setting name_overwrite=True causes permissions error #117

edcloudcycle opened this issue Oct 30, 2023 · 1 comment

Comments

@edcloudcycle
Copy link

Hi all,
Just trying out the library to see if I can use it to simulate one of our devices for testing. To do that it needs to pretend to be that device by having the same name, however setting name_overwrite=True causes a PermissionError: [WinError 5] Access is denied.

I can see there are a lot of other services available on the BLE, many from Windows providing mobile phone connection options. I guess those services don't want me changing the name. Maybe they need to be disabled or maybe I am better of with a USB BLE dongle that won't have anything else trying to use it.

All suggestions very welcome.

Thanks

Ed

@edcloudcycle
Copy link
Author

If I turn off Bluetooth in Windows I can see there is a radio_not_present error inside the service provider object so I need a more subtle tool. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant