Using nRF52; S132 v4.0.3
I'm getting NRF_ERROR_DATA_SIZE error return from sd_ble_evt_get and event length from call is 20 which is smaller than my buffer so it shouldn't be an event > buffer issue. This started happening with 100Hz update of a 20byte characteristic with notifications enabled. If the update to this characteristic is slowed down, the error goes away.
Is this a matter of me being able to consume events fast enough? What are the additional ways in which sd_ble_evt_get returns NRF_ERROR_DATA_SIZE (besides an event larger than buffer problem)?