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

notifyOnReceive on service itself not works. #1

Open
gismat opened this issue Jun 27, 2016 · 2 comments
Open

notifyOnReceive on service itself not works. #1

gismat opened this issue Jun 27, 2016 · 2 comments

Comments

@gismat
Copy link

gismat commented Jun 27, 2016

private void notifyOnReceive(Context context, BluetoothGattCharacteristic rx) { for (Callback cb : callbacks.keySet()) { if (cb != null ) { cb.onReceive(context, rx); } } }

Here I can not get string value from rx. rx.getStringValue(0) not works. But same thing works on MainActivity.

@gismat
Copy link
Author

gismat commented Jun 27, 2016

Android version is Marshmallow.

@fb5
Copy link
Contributor

fb5 commented Jun 28, 2016

may be unbind service function lost in MainActivity.

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