We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af944bd commit 1ac5f63Copy full SHA for 1ac5f63
src/app/util/attribute-table.cpp
@@ -44,7 +44,8 @@ namespace {
44
// Zigbee spec says types between signed 8 bit and signed 64 bit
45
bool emberAfIsTypeSigned(EmberAfAttributeType dataType)
46
{
47
- return (dataType >= ZCL_INT8S_ATTRIBUTE_TYPE && dataType <= ZCL_INT64S_ATTRIBUTE_TYPE);
+ return (dataType >= ZCL_INT8S_ATTRIBUTE_TYPE && dataType <= ZCL_INT64S_ATTRIBUTE_TYPE) ||
48
+ dataType == ZCL_TEMPERATURE_ATTRIBUTE_TYPE;
49
}
50
51
/**
0 commit comments