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);
@bloobird0 I think this is well explained here. If anything is still unclear, please let me know.
@bloobird0 I think this is well explained here. If anything is still unclear, please let me know.