Interface DecoderService


  • public interface DecoderService
    • Method Detail

      • decode

        DecoderResult decode​(String inputData,
                             com.cumulocity.model.idtype.GId deviceId,
                             Map<String,​String> args)
                      throws DecoderServiceException
        Decodes byte array data into DecoderResult object.
        Parameters:
        inputData - Hex encoded input byte array
        deviceId - device from which this data comes from
        args - additional arguments that may be required by decoder
        Returns:
        DecoderResult object
        Throws:
        DecoderServiceException - when decode failed