你好,对话框,
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
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.
Thanks a lot Dialog. It helped a lot :)