I programmed to nRF51 DK, the first time the device is connected to mobile phone.It works, but if i turn off the nRF51 DK and then turn it on.it is connected but it cound't control any more. This is my demo nRF51822_HID_KEYBOARD_MOUSE_C_20170926.rar.
#define DM_GATT_CCCD_COUNT 9
Ithink here have a question.