kdriveExpress SDK 22.1.1
kdrive_express_utils.h File Reference

kdriveExpress Utils API More...

Go to the source code of this file.

Functions

kdriveExpress_API error_t kdrive_utils_emi1_to_cemi (const uint8_t emi1[], uint32_t emi1_len, uint8_t cemi[], uint32_t *cemi_len)
 Converts telegram emi1 (in EMI1 format) into teletgram cemi (in Common EMI format) More...
 

Detailed Description

kdriveExpress Utils API

Author
Copyright (c) 2002-2022 WEINZIERL ENGINEERING GmbH

Function Documentation

◆ kdrive_utils_emi1_to_cemi()

kdriveExpress_API error_t kdrive_utils_emi1_to_cemi ( const uint8_t  emi1[],
uint32_t  emi1_len,
uint8_t  cemi[],
uint32_t cemi_len 
)

Converts telegram emi1 (in EMI1 format) into teletgram cemi (in Common EMI format)

Parameters
emi1the emi1 telegram
emi1_lenthe length of the emi1 telegram
cemia buffer to hold the converted CEMI telegram
cemi_lenholds the max size of cemi [in] and returns the acutal length of cemi [out]