With version v2.0 of S332, I checked for a return of BLE_ERROR_NO_TX_PACKET when using the ble_nus_string_send function. I use this test in a routine which writes buffers larger than 20.
When I ported to v4.0 of S332 I see that BLE_ERROR_NO_TX_PACKET is no longer defined in ble_err.h.
I have searched the softdevice API for a replacement, but I can't find a replacement error code. Is there an equivalent error code in v4.0 of the S332 softdevice?