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

Detect connection to a central device (acting as peripheral) #24

Open
KronosRemote opened this issue Jan 12, 2017 · 0 comments
Open

Detect connection to a central device (acting as peripheral) #24

KronosRemote opened this issue Jan 12, 2017 · 0 comments

Comments

@KronosRemote
Copy link

Hi Pete,

actually I'm not sure if this is really a problem in PGMidi or if it's somewhere else down the line, but maybe someone around here is able to help me out here: I'm using PGMidi in my app to connect to MIDI devices that are connected via USB and Bluetooth. When I connect with Bluetooth the iPad is usually the Central and connects to a Peripheral - upon connection all events are correctly triggered and I get a message that a new device has connected (same as with USB connections). So far PG Midi has really helped me out on a lot of stuff, I appreciate that you're publishing your code here!

Now I want to do the same with the iPad as a Peripheral controller to connect to another device acting as Central, but nothing happens (using CABTMIDILocalPeripheralViewController). The Central device sees the iPad which is advertising and can connect to it - but I can't find a way to see it on the iPad :( there's no event triggered as I would have expected it, also when I output the available devices there's nothing new showing up... guess I am missing something here?

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