Type for default values.

#include < af-types.h >

Data Fields

uint8_t * ptrToDefaultValue
uint16_t defaultValue

Type for default values.

Default value is either a value itself, if it is 2 bytes or less, or a pointer to the value itself, if attribute type is longer than 2 bytes.

Field Documentation

defaultValue

uint16_t EmberAfDefaultAttributeValue::defaultValue

Actual default value if the attribute size is 2 bytes or less.

ptrToDefaultValue

uint8_t* EmberAfDefaultAttributeValue::ptrToDefaultValue

Points to data if size is more than 2 bytes. If size is more than 2 bytes, and this value is NULL, then the default value is all zeroes.


The documentation for this union was generated from the following file:
  • af-types.h