knx
ETS configurable knx-stack
dptconvert.h File Reference
#include <cstdint>
#include "dpt.h"
#include "knx_value.h"
Include dependency graph for dptconvert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int KNX_Decode_Value (uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 Converts the KNX Payload given by the specific DPT and puts the value in the KNXValue struc. More...
 
int KNX_Encode_Value (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 Converts the KNXValue struct to the KNX Payload as the specific DPT. More...
 
int busValueToBinary (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToBinaryControl (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToStepControl (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToCharacter (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToUnsigned8 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSigned8 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToStatusAndMode (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToUnsigned16 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToTimePeriod (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSigned16 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToTimeDelta (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToFloat16 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToTime (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToDate (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToUnsigned32 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSigned32 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToLongTimePeriod (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToFloat32 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToAccess (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToString (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToScene (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSceneControl (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSceneInfo (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSceneConfig (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToDateTime (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToUnicode (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSigned64 (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToAlarmInfo (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToSerialNumber (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToVersion (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToScaling (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToTariff (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToLocale (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToRGB (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToRGBW (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToFlaggedScaling (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int busValueToActiveEnergy (const uint8_t *payload, size_t payload_length, const Dpt &datatype, KNXValue &value)
 
int valueToBusValueBinary (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueBinaryControl (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueStepControl (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueCharacter (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueUnsigned8 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSigned8 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueStatusAndMode (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueUnsigned16 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueTimePeriod (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSigned16 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueTimeDelta (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueFloat16 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueTime (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueDate (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueUnsigned32 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSigned32 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueLongTimePeriod (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueFloat32 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueAccess (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueString (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueScene (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSceneControl (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSceneInfo (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSceneConfig (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueDateTime (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueUnicode (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSigned64 (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueAlarmInfo (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueSerialNumber (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueVersion (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueScaling (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueTariff (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueLocale (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueRGB (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueRGBW (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueFlaggedScaling (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
int valueToBusValueActiveEnergy (const KNXValue &value, uint8_t *payload, size_t payload_length, const Dpt &datatype)
 
bool bitFromPayload (const uint8_t *payload, int index)
 
uint8_t unsigned8FromPayload (const uint8_t *payload, int index)
 
int8_t signed8FromPayload (const uint8_t *payload, int index)
 
uint16_t unsigned16FromPayload (const uint8_t *payload, int index)
 
int16_t signed16FromPayload (const uint8_t *payload, int index)
 
uint32_t unsigned32FromPayload (const uint8_t *payload, int index)
 
int32_t signed32FromPayload (const uint8_t *payload, int index)
 
uint64_t unsigned64FromPayload (const uint8_t *payload, int index)
 
double float16FromPayload (const uint8_t *payload, int index)
 
float float32FromPayload (const uint8_t *payload, int index)
 
double float64FromPayload (const uint8_t *payload, int index)
 
int64_t signed64FromPayload (const uint8_t *payload, int index)
 
uint8_t bcdFromPayload (const uint8_t *payload, int index)
 
void bitToPayload (uint8_t *payload, size_t payload_length, int index, bool value)
 
void unsigned8ToPayload (uint8_t *payload, size_t payload_length, int index, uint8_t value, uint8_t mask)
 
void signed8ToPayload (uint8_t *payload, size_t payload_length, int index, int8_t value, uint8_t mask)
 
void unsigned16ToPayload (uint8_t *payload, size_t payload_length, int index, uint16_t value, uint16_t mask)
 
void signed16ToPayload (uint8_t *payload, size_t payload_length, int index, int16_t value, uint16_t mask)
 
void unsigned32ToPayload (uint8_t *payload, size_t payload_length, int index, uint32_t value, uint32_t mask)
 
void signed32ToPayload (uint8_t *payload, size_t payload_length, int index, int32_t value, uint32_t mask)
 
void float16ToPayload (uint8_t *payload, size_t payload_length, int index, double value, uint16_t mask)
 
void float32ToPayload (uint8_t *payload, size_t payload_length, int index, double value, uint32_t mask)
 
void signed64ToPayload (uint8_t *payload, size_t payload_length, int index, int64_t value, uint64_t mask)
 
void bcdToPayload (uint8_t *payload, size_t payload_length, int index, uint8_t value)
 

Function Documentation

◆ bcdFromPayload()

uint8_t bcdFromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1689 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ bcdToPayload()

void bcdToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
uint8_t  value 
)

Definition at line 1789 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ bitFromPayload()

bool bitFromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1615 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ bitToPayload()

void bitToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
bool  value 
)

Definition at line 1696 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ busValueToAccess()

int busValueToAccess ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 485 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToActiveEnergy()

int busValueToActiveEnergy ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 843 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToAlarmInfo()

int busValueToAlarmInfo ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 685 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToBinary()

int busValueToBinary ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 254 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToBinaryControl()

int busValueToBinaryControl ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 261 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToCharacter()

int busValueToCharacter ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 295 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToDate()

int busValueToDate ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 438 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToDateTime()

int busValueToDateTime ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 600 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToFlaggedScaling()

int busValueToFlaggedScaling ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 828 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToFloat16()

int busValueToFloat16 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 398 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToFloat32()

int busValueToFloat32 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 478 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToLocale()

int busValueToLocale ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 789 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToLongTimePeriod()

int busValueToLongTimePeriod ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 471 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToRGB()

int busValueToRGB ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 803 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToRGBW()

int busValueToRGBW ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 811 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToScaling()

int busValueToScaling ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 752 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToScene()

int busValueToScene ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 532 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSceneConfig()

int busValueToSceneConfig ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 579 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSceneControl()

int busValueToSceneControl ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 539 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSceneInfo()

int busValueToSceneInfo ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 559 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSerialNumber()

int busValueToSerialNumber ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 718 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSigned16()

int busValueToSigned16 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 377 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSigned32()

int busValueToSigned32 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 464 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSigned64()

int busValueToSigned64 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 678 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToSigned8()

int busValueToSigned8 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 338 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToStatusAndMode()

int busValueToStatusAndMode ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 345 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToStepControl()

int busValueToStepControl ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 277 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToString()

int busValueToString ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 517 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToTariff()

int busValueToTariff ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 768 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToTime()

int busValueToTime ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 408 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToTimeDelta()

int busValueToTimeDelta ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 389 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToTimePeriod()

int busValueToTimePeriod ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 368 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToUnicode()

int busValueToUnicode ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 672 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ busValueToUnsigned16()

int busValueToUnsigned16 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 361 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToUnsigned32()

int busValueToUnsigned32 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 457 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToUnsigned8()

int busValueToUnsigned8 ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 311 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ busValueToVersion()

int busValueToVersion ( const uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Definition at line 733 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ float16FromPayload()

double float16FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1658 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ float16ToPayload()

void float16ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
double  value,
uint16_t  mask 
)

Definition at line 1740 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ float32FromPayload()

float float32FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1666 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ float32ToPayload()

void float32ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
double  value,
uint32_t  mask 
)

Definition at line 1771 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ float64FromPayload()

double float64FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1672 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ KNX_Decode_Value()

int KNX_Decode_Value ( uint8_t *  payload,
size_t  payload_length,
const Dpt datatype,
KNXValue value 
)

Converts the KNX Payload given by the specific DPT and puts the value in the KNXValue struc.

Definition at line 13 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ KNX_Encode_Value()

int KNX_Encode_Value ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Converts the KNXValue struct to the KNX Payload as the specific DPT.

Definition at line 136 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ signed16FromPayload()

int16_t signed16FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1632 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ signed16ToPayload()

void signed16ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
int16_t  value,
uint16_t  mask 
)

Definition at line 1717 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ signed32FromPayload()

int32_t signed32FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1643 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ signed32ToPayload()

void signed32ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
int32_t  value,
uint32_t  mask 
)

Definition at line 1731 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ signed64FromPayload()

int64_t signed64FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1678 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ signed64ToPayload()

void signed64ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
int64_t  value,
uint64_t  mask 
)

Definition at line 1777 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ signed8FromPayload()

int8_t signed8FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1624 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ signed8ToPayload()

void signed8ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
int8_t  value,
uint8_t  mask 
)

Definition at line 1706 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ unsigned16FromPayload()

uint16_t unsigned16FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1628 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ unsigned16ToPayload()

void unsigned16ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
uint16_t  value,
uint16_t  mask 
)

Definition at line 1711 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ unsigned32FromPayload()

uint32_t unsigned32FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1636 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ unsigned32ToPayload()

void unsigned32ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
uint32_t  value,
uint32_t  mask 
)

Definition at line 1723 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ unsigned64FromPayload()

uint64_t unsigned64FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1647 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ unsigned8FromPayload()

uint8_t unsigned8FromPayload ( const uint8_t *  payload,
int  index 
)

Definition at line 1620 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ unsigned8ToPayload()

void unsigned8ToPayload ( uint8_t *  payload,
size_t  payload_length,
int  index,
uint8_t  value,
uint8_t  mask 
)

Definition at line 1701 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ valueToBusValueAccess()

int valueToBusValueAccess ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1157 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueActiveEnergy()

int valueToBusValueActiveEnergy ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1583 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueAlarmInfo()

int valueToBusValueAlarmInfo ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1355 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueBinary()

int valueToBusValueBinary ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 865 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueBinaryControl()

int valueToBusValueBinaryControl ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 871 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueCharacter()

int valueToBusValueCharacter ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 909 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueDate()

int valueToBusValueDate ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1108 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueDateTime()

int valueToBusValueDateTime ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1274 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueFlaggedScaling()

int valueToBusValueFlaggedScaling ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1561 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueFloat16()

int valueToBusValueFloat16 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1031 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueFloat32()

int valueToBusValueFloat32 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1147 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueLocale()

int valueToBusValueLocale ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1515 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueLongTimePeriod()

int valueToBusValueLongTimePeriod ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1138 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueRGB()

int valueToBusValueRGB ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1532 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueRGBW()

int valueToBusValueRGBW ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1544 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueScaling()

int valueToBusValueScaling ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1461 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueScene()

int valueToBusValueScene ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1201 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSceneConfig()

int valueToBusValueSceneConfig ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1252 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSceneControl()

int valueToBusValueSceneControl ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1210 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSceneInfo()

int valueToBusValueSceneInfo ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1231 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSerialNumber()

int valueToBusValueSerialNumber ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1401 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSigned16()

int valueToBusValueSigned16 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1002 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSigned32()

int valueToBusValueSigned32 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1129 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSigned64()

int valueToBusValueSigned64 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1349 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueSigned8()

int valueToBusValueSigned8 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 956 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueStatusAndMode()

int valueToBusValueStatusAndMode ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 965 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueStepControl()

int valueToBusValueStepControl ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 888 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueString()

int valueToBusValueString ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1190 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueTariff()

int valueToBusValueTariff ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1488 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueTime()

int valueToBusValueTime ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1081 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueTimeDelta()

int valueToBusValueTimeDelta ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1019 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueTimePeriod()

int valueToBusValueTimePeriod ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 990 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueUnicode()

int valueToBusValueUnicode ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1343 of file dptconvert.cpp.

Here is the caller graph for this function:

◆ valueToBusValueUnsigned16()

int valueToBusValueUnsigned16 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 981 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueUnsigned32()

int valueToBusValueUnsigned32 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1120 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueUnsigned8()

int valueToBusValueUnsigned8 ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 917 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valueToBusValueVersion()

int valueToBusValueVersion ( const KNXValue value,
uint8_t *  payload,
size_t  payload_length,
const Dpt datatype 
)

Definition at line 1428 of file dptconvert.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: