Commit Graph

28 Commits

Author SHA1 Message Date
Michael Mann 6d06ea6062 Converted ZigBee dissectors display filter format from zbee.<protocol> to zbee_<protocol>
Also corrected zbee_afp filters as they were incorrectly using zbee.app

svn path=/trunk/; revision=43990
2012-07-25 12:19:21 +00:00
Jakub Zawadzki bf81b42e1e Update Free Software Foundation address.
(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Alexis La Goutte b524ad6f88 From Fred Fierling via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6698
Updates for newest profile identifier database, ZigBee 053298r19

Corrects error in Samsung manufacturer code in r18.

svn path=/trunk/; revision=40344
2011-12-30 11:07:04 +00:00
Anders Broman 55b05cb42b From Fred Fierling:
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-22 06:55:31 +00:00
Alexis La Goutte 656679b5f6 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40234
2011-12-17 10:05:47 +00:00
Alexis La Goutte da4a280a50 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
2011-12-09 17:00:28 +00:00
Bill Meier 67ee5049d4 Convert 'encoding' parameter of certain proto_tree_add_item() calls in 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-10 00:39:31 +00:00
Bill Meier 4e57694d4a Convert 'encoding' parameter of certain proto_tree_add_item() calls in 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-10-06 03:35:44 +00:00
Bill Meier e6f1541bf1 Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38082
2011-07-18 12:50:26 +00:00
Jeff Morriss 8d32d2066a There's no need to pass the result of tvb_get_ptr() as the 'value' in
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
2011-01-16 20:51:21 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
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-12-20 05:35:29 +00:00
Bill Meier 671344e6cc zbee_mfr_code_names: sort so in ascending order by value; add dummy "Unknown" entries for missing values.
svn path=/trunk/; revision=34855
2010-11-12 21:47:41 +00:00
Jaap Keuter 53fbf796f2 From Fred Fierling:
Patch to correct various typos

svn path=/trunk/; revision=34757
2010-11-03 07:30:42 +00:00
Jaap Keuter ffab7d1606 From Fred Fierling:
Update Profile ID Information to ZigBee-053298r17 (2010/7/21)

svn path=/trunk/; revision=34749
2010-11-02 08:21:29 +00:00
Bill Meier 5227ad988a Use value_string_ext fcns to access various value_string arrays;
Also: Fix a typo  in packet-zbee.h in the value for #define ZBEE_MFG_CODE_STG


svn path=/trunk/; revision=34746
2010-11-01 18:33:30 +00:00
Anders Broman 773a7f4c59 From Fred Fierling:
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-20 20:50:39 +00:00
Anders Broman a75d7209f5 From Fred Fierling:
Infinite loop in ZCL Discover Attributes dissection

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5303

svn path=/trunk/; revision=34575
2010-10-19 19:19:42 +00:00
Stig Bjørlykke d0dfefaca8 Fix for attribute boolean, from bug 5127.
svn path=/trunk/; revision=33887
2010-08-23 09:17:03 +00:00
Guy Harris 8e236e55de For fields of type FT_ABSOLUTE_TIME, have the "display" value be one of
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-12-19 03:17:44 +00:00
Anders Broman 423b8b31cd From Fred Fierling:
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-27 19:13:57 +00:00
Jaap Keuter fe2a12d423 Clean up header fields.
svn path=/trunk/; revision=30395
2009-10-08 05:43:19 +00:00
Kovarththanan Rajaratnam 57659e8133 Use tvb_get_ephemeral_string() to avoid memleak.
svn path=/trunk/; revision=30001
2009-09-20 08:35:49 +00:00
Bill Meier 6c545e0d79 Save some memory: Don't statically allocate ett[] arrays used "dynamically".
svn path=/trunk/; revision=29929
2009-09-15 17:37:54 +00:00
Bill Meier 46fcebf274 Validate a function parameter
svn path=/trunk/; revision=29595
2009-08-28 13:52:52 +00:00
Kovarththanan Rajaratnam ac463d2697 Don't guard col_clear with col_check
svn path=/trunk/; revision=29346
2009-08-09 08:14:59 +00:00
Bill Meier 62a8504eda Function dissect_zcl_attr_data_type() unused: comment it out
svn path=/trunk/; revision=29240
2009-07-29 22:54:28 +00:00
Bill Meier 6de62aee00 Fix a potential crash and do various other minor changes:
- 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-29 22:33:08 +00:00
Ronnie Sahlberg 148263ebf0 zigbee cluster dissector,
modified from entry in bug 3765 so it compiles cleanly


svn path=/trunk/; revision=29232
2009-07-29 11:29:53 +00:00