The underlying structure is not suitable for use in API invoked from user threads for the reasons explained in the edit. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>