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.

Public Attributes#

uint16_t

Public Attribute Documentation#

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.


Definition at line 96 of file ./app/framework/include/af-types.h

defaultValue#

uint16_t EmberAfDefaultAttributeValue::defaultValue

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


Definition at line 100 of file ./app/framework/include/af-types.h