NUS_C and NRF_ERROR_INVALID_STATE

Hello Nordic Engineer,

I used SDK17.1.0 and examples \ ble_central_and_peripheral \ experimental \ ble_app_multirole_lesc

In the example above, I deleted HRS and added NUS and NUS_C

There are two devices, A and B, both running on the multirole program. The current connection situation is: the phone is connected to A, and A is connected to B. A can receive data from the phone, but when I try to send data through 'ble_nus_c_string_send,' it fails

Is this issue related to CCCD enabling? If so, could you please tell me specifically what needs to be done? Is it the central part that needs modification, or the peripheral part?

Thanks

Related