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

Not able to receive data as an ArrayBuffer in peripheral mode.... #132

Open
rajatsawant opened this issue Dec 28, 2016 · 3 comments
Open
Labels

Comments

@rajatsawant
Copy link

rajatsawant commented Dec 28, 2016

Ionic code.txt

The data I receive is in string format and a garbage value, changing every time i send the same message from a central ble.

@ghost
Copy link

ghost commented Dec 29, 2016

@rajatsawant Hi, peripheral mode is still largely untested. What happens if you send a very simple value, like a byte with value 1 for example? Does that arrive as expected? Is it an array of bytes that does not work?

@rajatsawant
Copy link
Author

rajatsawant commented Dec 30, 2016

@mikaelkindborg
Thanks for replying.
In the onWriteRequest callback, i am supposed to get an ArrayBuffer as the data from the master. But I get a garbage string. And it changes every time even though the data from the master is the same.
Regards.

@ghost
Copy link

ghost commented Dec 30, 2016

@rajatsawant This sounds like a bug in the plugin. Not sure when we will have time to address this however.

@ghost ghost added the bug label Dec 30, 2016
@ghost ghost self-assigned this Dec 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant