diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-12-09 17:00:28 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-12-09 17:00:28 +0000 |
commit | da4a280a50dcc470c207fb0a4bf6e73c9ce7b049 (patch) | |
tree | 11be2fd545cf7e850306e9af77035cb63a01840f /epan/dissectors/packet-zbee-zcl.h | |
parent | 9936838ce3e8c1e7149803b78794ebbf057fb3fc (diff) |
From report of Arasch Honarbacht via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6649
ZigBee ZCL Dissector reports invalid status
The status code 0x8d contained in an attriute status record in a configure reporting response frame is incorrectly displayed as "Write only" (where WRITE_ONLY = 0x8f). According to the ZigBee Cluster Library Specification, Document 075123r03ZB, April 26, 2010 a status of 0x8d should display as "INVALID_DATA_TYPE"
From me :
Fix this issue (Wrong value define) based on Specs available in ZigBee.org
svn path=/trunk/; revision=40133
Diffstat (limited to 'epan/dissectors/packet-zbee-zcl.h')
-rw-r--r-- | epan/dissectors/packet-zbee-zcl.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/epan/dissectors/packet-zbee-zcl.h b/epan/dissectors/packet-zbee-zcl.h index 55afdf7958..d1e1970379 100644 --- a/epan/dissectors/packet-zbee-zcl.h +++ b/epan/dissectors/packet-zbee-zcl.h @@ -3,7 +3,7 @@ * By Fred Fierling <fff@exegin.com> * Copyright 2009 Exegin Technologies Limited * - * $Id:$ + * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> @@ -154,21 +154,20 @@ typedef struct{ #define ZBEE_ZCL_STAT_UNSUP_MFR_GENERAL_CMD 0x84 #define ZBEE_ZCL_STAT_INVALID_FIELD 0x85 #define ZBEE_ZCL_STAT_UNSUPPORTED_ATTR 0x86 -#define ZBEE_ZCL_STAT_INSUFFICIENT_SPACE 0x87 -#define ZBEE_ZCL_STAT_DUPLICATE_EXISTS 0x88 -#define ZBEE_ZCL_STAT_NOT_FOUND 0x89 -#define ZBEE_ZCL_STAT_UNREPORTABLE_ATTR 0x8a -#define ZBEE_ZCL_STAT_INVALID_DATA_TYPE 0x8b -#define ZBEE_ZCL_STAT_INVALID_SELECTOR 0x8c -#define ZBEE_ZCL_STAT_WRITE_ONLY 0x8d -#define ZBEE_ZCL_STAT_INCONSISTENT_STARTUP_STATE 0x8e -#define ZBEE_ZCL_STAT_DEFINED_OUT_OF_BAND 0x8f -#define ZBEE_ZCL_STAT_HARDWARE_FAILURE 0x90 -#define ZBEE_ZCL_STAT_SOFTWARE_FAILURE 0x91 - -#define ZBEE_ZCL_STAT_CALIBRATION_ERROR 0xc0 -#define ZBEE_ZCL_STAT_INVALID_VALUE 0xc1 -#define ZBEE_ZCL_STAT_READ_ONLY 0xc2 +#define ZBEE_ZCL_STAT_INVALID_VALUE 0x87 +#define ZBEE_ZCL_STAT_READ_ONLY 0x88 +#define ZBEE_ZCL_STAT_INSUFFICIENT_SPACE 0x89 +#define ZBEE_ZCL_STAT_DUPLICATE_EXISTS 0x8a +#define ZBEE_ZCL_STAT_NOT_FOUND 0x8b +#define ZBEE_ZCL_STAT_UNREPORTABLE_ATTR 0x8c +#define ZBEE_ZCL_STAT_INVALID_DATA_TYPE 0x8d +#define ZBEE_ZCL_STAT_INVALID_SELECTOR 0x8e +#define ZBEE_ZCL_STAT_WRITE_ONLY 0x8f +#define ZBEE_ZCL_STAT_INCONSISTENT_STARTUP_STATE 0x90 +#define ZBEE_ZCL_STAT_DEFINED_OUT_OF_BAND 0x91 +#define ZBEE_ZCL_STAT_HARDWARE_FAILURE 0xc0 +#define ZBEE_ZCL_STAT_SOFTWARE_FAILURE 0xc1 +#define ZBEE_ZCL_STAT_CALIBRATION_ERROR 0xc2 /* Misc. */ #define INT24_SIGN_BITS 0xffff8000 |