Diagnosis information and error codes

The underlying C++ API ifm3d supports live status monitoring via diagnosis information sent from the embedded device. Please check the definition and meaning of the error codes here.