Hello,
I am trying to send out a notification and getting this error code 13313 (in decimal, 0x3401 in hex). Which eventually leads to BLE_ERROR_GATTS_SYS_ATTR_MISSING. What system attribute am I missing here?
Thank you.
Hello,
I am trying to send out a notification and getting this error code 13313 (in decimal, 0x3401 in hex). Which eventually leads to BLE_ERROR_GATTS_SYS_ATTR_MISSING. What system attribute am I missing here?
Thank you.
You will get this error when the CCCD of the characteristic hasn't been set. You can set it with:
err_code = sd_ble_gatts_sys_attr_set(m_conn_handle, NULL, 0, 0);
APP_ERROR_CHECK(err_code);
I don't know if you have bonded or not. What is weird about that? I'm guessing that the client has written 0x0001 to the CCCD of BAS, but not the CCCD of the characteristic that returns the error?
I don't know if you have bonded or not. What is weird about that? I'm guessing that the client has written 0x0001 to the CCCD of BAS, but not the CCCD of the characteristic that returns the error?