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

Only scanning appears to work can't connect or read / write #54

Open
bretpelkey opened this issue May 21, 2018 · 0 comments
Open

Only scanning appears to work can't connect or read / write #54

bretpelkey opened this issue May 21, 2018 · 0 comments

Comments

@bretpelkey
Copy link

Can any one help me or provide more documentation on bglib.SendCommand().

This command works fine:
result = bglib.SendCommand(serialAPI, bglib.BLECommandSystemHello());

But not this:
result = bglib.SendCommand(serialAPI, bglib.BLECommandGAPConnectDirect(new byte[] { 46, 180, 169, 89, 178, 246 }, (byte)AddressType.Public, CONN_INT_MIN, CONN_INT_MAX, TIMEOUT, LATENCY));

or
result = bglib.SendCommand(serialAPI, bglib.BLECommandConnectionDisconnect(0));

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