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

Notification not enabled for sdk13 and nRF52832 #182

Open
codezork opened this issue Apr 28, 2017 · 2 comments
Open

Notification not enabled for sdk13 and nRF52832 #182

codezork opened this issue Apr 28, 2017 · 2 comments

Comments

@codezork
Copy link

Hi Trond,
after some search why the code doesn't hvx to a host device, I found that in mesh_gatt.c in function mesh_value_char_add the characteristic write type must be with response in order to get notifications enabled by the host. So line 294 for branch development must be:
ble_char_md.char_props.write = 1; instead of
ble_char_md.char_props.write_wo_resp = 1;.
Can you confirm my finding?
Cheers,
Joerg

@trond-snekvik
Copy link
Contributor

From what I remember, this shouldn't be related, since the write_wo_resp is for host to mesh communication, while hvx is enabled by setting notify to 1 on the line below.

Do you get any change in hvx behavior from this?

@codezork
Copy link
Author

codezork commented Jul 1, 2017 via email

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