aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-zbee-zcl.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-26Fix a bunch of warnings.Guy Harris1-43/+43
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-10-22Minor cleanup:Bill Meier1-49/+48
- Ethereal -> Wireshark; - remove unneeded #include. svn path=/trunk/; revision=45726
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45017
2012-07-25Converted ZigBee dissectors display filter format from zbee.<protocol> to ↵Michael Mann1-49/+49
zbee_<protocol> Also corrected zbee_afp filters as they were incorrectly using zbee.app svn path=/trunk/; revision=43990
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-12-30From Fred Fierling via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6698Alexis La Goutte1-1/+2
Updates for newest profile identifier database, ZigBee 053298r19 Corrects error in Samsung manufacturer code in r18. svn path=/trunk/; revision=40344
2011-12-22From Fred Fierling:Anders Broman1-8/+82
Update the ZigBee dissectors to the latest profile identifier database, 05-3298-18. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6693 svn path=/trunk/; revision=40272
2011-12-17Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-3/+0
svn path=/trunk/; revision=40234
2011-12-09From report of Arasch Honarbacht via ↵Alexis La Goutte1-3/+2
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
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-1/+1
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) svn path=/trunk/; revision=39328
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-2/+2
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-07-18Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-4/+0
svn path=/trunk/; revision=38082
2011-01-16There's no need to pass the result of tvb_get_ptr() as the 'value' inJeff Morriss1-2/+1
proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string() or tvb_get_const_stringz(). Use tvb_memeql() & tvb_memcmp(). svn path=/trunk/; revision=35558
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-10/+10
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-11-12zbee_mfr_code_names: sort so in ascending order by value; add dummy ↵Bill Meier1-3/+61
"Unknown" entries for missing values. svn path=/trunk/; revision=34855
2010-11-03From Fred Fierling:Jaap Keuter1-8/+3
Patch to correct various typos svn path=/trunk/; revision=34757
2010-11-02From Fred Fierling:Jaap Keuter1-0/+23
Update Profile ID Information to ZigBee-053298r17 (2010/7/21) svn path=/trunk/; revision=34749
2010-11-01Use value_string_ext fcns to access various value_string arrays;Bill Meier1-22/+28
Also: Fix a typo in packet-zbee.h in the value for #define ZBEE_MFG_CODE_STG svn path=/trunk/; revision=34746
2010-10-20From Fred Fierling:Anders Broman1-242/+175
Cleanup of unnecessary tree == NULL checks in ZCL dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5321 svn path=/trunk/; revision=34595
2010-10-19From Fred Fierling:Anders Broman1-13/+15
Infinite loop in ZCL Discover Attributes dissection https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5303 svn path=/trunk/; revision=34575
2010-08-23Fix for attribute boolean, from bug 5127.Stig Bjørlykke1-2/+1
svn path=/trunk/; revision=33887
2009-12-19For fields of type FT_ABSOLUTE_TIME, have the "display" value be one ofGuy Harris1-1/+1
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL == (int)BASE_NONE, so there's no source or binary compatiblity issue, although we might want to eliminate BASE_NONE at some point and have the BASE_ values used with integral types start at 0, so that you can't specify BASE_NONE for an integral field. svn path=/trunk/; revision=31319
2009-10-27From Fred Fierling:Anders Broman1-23/+31
Fixes bugs in dissection of write attributes, read reporting configuration, and configure reporting clusters in the ZigBee Cluster Library. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4113 svn path=/trunk/; revision=30731
2009-10-08Clean up header fields.Jaap Keuter1-3/+3
svn path=/trunk/; revision=30395
2009-09-20Use tvb_get_ephemeral_string() to avoid memleak.Kovarththanan Rajaratnam1-23/+23
svn path=/trunk/; revision=30001
2009-09-15Save some memory: Don't statically allocate ett[] arrays used "dynamically".Bill Meier1-1/+1
svn path=/trunk/; revision=29929
2009-08-28Validate a function parameterBill Meier1-0/+2
svn path=/trunk/; revision=29595
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29346
2009-07-29Function dissect_zcl_attr_data_type() unused: comment it outBill Meier1-0/+4
svn path=/trunk/; revision=29240
2009-07-29Fix a potential crash and do various other minor changes:Bill Meier1-96/+83
- Fix an hf[] entry which had an invalid "strings" field which could cause a crash; - Remove unneeded #includes; - Make most functions & etc static; - Remove declarations for functions never defined; - Fix certain comments to refer to the correct function names; - Change global variable to be local to proto_reg_handoff... - ... svn path=/trunk/; revision=29239
2009-07-29zigbee cluster dissector,Ronnie Sahlberg1-0/+2177
modified from entry in bug 3765 so it compiles cleanly svn path=/trunk/; revision=29232