6 posts / 0 new
Last post
Anonymous (not verified)
阅读说明

Dear all,
Hi,

I am wondering how to get an indication in my profile when the other device (such as a tablet) reads one of the profile's characteristics. The profile which I use is in server mode (like proximity reporter profile).
I have already handled GATTC_RD_CMD, GATTC_READ_IND and GATTC_EVENT_IND messages to receive the indication I want. However, non of these works when I read one of the profile's characteristic in the tablet application.
Can anybody help?

Thanks

Device:
reza.yazdani67 (not verified)
Isn't there sb to help!?

Isn't there sb to help!?
Dialog, can you help me please!? I am really getting frustrated of searching for this reading indicate!
Thank you

VesaN
Offline
Last seen:5 years 7 months ago
Guru Master
加入:2014-06-26 08:49
As far as i know it doesn't

As far as i know it doesn't work on 14580, don't know why... 14581 has that feature.

I might remember wrong, but I remember having the same issue once. I just used write instead.

reza.yazdani67 (not verified)
Thanks Vesa.

Thanks Vesa.
I have already used write indication, however in the tablet application I can't write anything in the characteristic and don't know why! I think that I should set some settings before sending a write request for the BLE.
can you help me with that?

VesaN
Offline
Last seen:5 years 7 months ago
Guru Master
加入:2014-06-26 08:49
Hi reza.yazdani67,

Hi reza.yazdani67,

Did you manage to get the write indication to work in any device? If not, did you implement the write cmd indication handler and also map the handler function to corresponding message in connected state:{手枪TC_WRITE_CMD_IND, (ke_msg_func_t)gattc_write_cmd_ind_handler}?

reza.yazdani67 (not verified)
Hi Versa,

Hi Versa,

Of course, I have done all the things you mentioned, but still cannot receive any indication when I am writing to a characteristic in tablet application! I think there may be something wrong with the application because I do not receive a write completion event (onCharacteisticWrite) even when I receive a true status after sending the write request!

Thanks for your help