Add DSPAcquisitionError and DSPGenerationError messages to provide a
standard mechanism for SDRangel devices to report asynchronous errors
to their DSP device engines.
These errors occur after normal device initialization or startup and are
not the result of a synchronous start or configuration operation. They
cover conditions such as a device being unplugged or disconnected, a
device becoming unavailable, or an error occurring while acquiring or
generating samples.
Handle DSPAcquisitionError in the DSPDeviceSourceEngine and the
acquisition side of DSPDeviceMIMOEngine, and handle DSPGenerationError
in the DSPDeviceSinkEngine and the generation side of
DSPDeviceMIMOEngine. Transition the affected device engine to the error
state and propagate the device-provided error message.
This allows asynchronous failures in a sample source, sample sink, or
MIMO device to be propagated through the SDRangel device engine state
machine instead of leaving the device engine running after the device
has become unavailable or encountered an unrecoverable error.
Signed-off-by: Robin Getz <rgetz503@gmail.com>