CAN NOT HANDLE WRITE WITH OUT RESPONSE

3文章/ 0
Last post
Bassam.sharkawy
Offline
Last seen:5 years 10 months ago
加入:2014-10-14 10:37
CAN NOT HANDLE WRITE WITH OUT RESPONSE

你好,对话框,

I want to know how to handle Write without response, my code doesn't enter "gattc_write_cmd_ind_handler" when write without response command is sent to the peripheral DA1580. It only enters there when write with response is sent. Where is the problem? am i handling the wrong message?

Thanks in advance

MHv_Dialog
Offline
Last seen:6 days 6 hours ago
Staff
加入:2013-12-06 15:10
Hi,

Hi,

Please take a look at the proximity reporter_fh project. This project exposes one characteristic with the "write-without-response" option enabled. The characteristic actually controls the and will allow you to toggle an IO on the development kit (P0_7). Sending a 0 to this service turns the LED off. Sending a 1 sets the LED to blink slowly. Sending a 2 makes it blink faster. If a characteristic does not have the option "write-without-response", attempting to do so, will not do anything. I hope this helps you.

Bassam.sharkawy
Offline
Last seen:5 years 10 months ago
加入:2014-10-14 10:37
Thanks a lot Dialog. It

Thanks a lot Dialog. It helped a lot :)