Now, I have a project that needs to do a master device to communicate with another slave device, but the slave device is done by the customer.I found that my main device wasn't communicating properly, so I changed the cccd_configure function in nus_c.c, changed the write_op parameter from BLE_GATT_OP_WRITE_REQ to BLE_GATT_OP_WRITE_CMD, and everything was fine. I would like to know what changes from the slave device will make the default Settings abnormal, this situation I have never encountered before.
Thanks all !
June6