Hi, I'm calling sd_ble_gatts_hvx and every once in a while I get an error code of 0x3401. I went through the SDK documentation but I could not find what that error code is. Have you seen this error code before? thank you, akbar
Hi, I'm calling sd_ble_gatts_hvx and every once in a while I get an error code of 0x3401. I went through the SDK documentation but I could not find what that error code is. Have you seen this error code before? thank you, akbar
You will only get the SYS_ATTR_MISSING event if a peer GATT client tries to read a CCCD state, so this might not have happened yet. You should instead set system attributes on CONNECTED. If you try to indicate/notify a characteristic that the SoftDevice does not know the state of, you will get this return code as specified in the documentation: devzone.nordicsemi.com/.../a00922.html
You will only get the SYS_ATTR_MISSING event if a peer GATT client tries to read a CCCD state, so this might not have happened yet. You should instead set system attributes on CONNECTED. If you try to indicate/notify a characteristic that the SoftDevice does not know the state of, you will get this return code as specified in the documentation: devzone.nordicsemi.com/.../a00922.html