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

When I'm running Ps3.begin() I'm getting the error: Registering GAP service [...] failed #5

Closed
jvpernis opened this issue Nov 15, 2019 · 4 comments

Comments

@jvpernis
Copy link
Owner

Not sure if this is direct result of the library, but when I'm running Ps3.begin() I'm getting the error:

E (263747) PS3_GAP: ps3_gap_init_service Registering GAP service PS3-HIDC failed
E (263747) PS3_GAP: ps3_gap_init_service Registering GAP service PS3-HIDI failed

The function works as expected when running in a small program but when running in a more complex program it's throwing these errors.
Are any special timers/registers or something required that might already be in use?

Originally posted by @klimbot in #3 (comment)

@jvpernis
Copy link
Owner Author

In the more complex program, what components do you use? Is there perhaps another part of your code that uses the bluetooth functionality?

@klimbot
Copy link

klimbot commented Nov 15, 2019

No, it's a project ported from a more conventional Arduino board like the atmega that I'm trying to get running with the ESP32. It messes with registers, interrupts and timers so I was wondering if there were any particular requirements of this library

@klimbot
Copy link

klimbot commented Nov 22, 2019

Found the issue: I was calling Ps3.begin multiple times by accident.

Issue can be closed, thanks

@jvpernis
Copy link
Owner Author

Thanks for letting me know! If you need help with anything else, feel free to open another issue.

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

2 participants