diff options
author | Martin Boye Petersen <martinboyepetersen@gmail.com> | 2018-01-21 21:17:08 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-22 11:45:14 +0000 |
commit | a6ae7f75714d6a7cb0f8d0ea2b1a4e649da59533 (patch) | |
tree | 57dbfe018e1535004311ddd80e64f16c2e45fd4a /epan/dissectors/packet-zbee-aps.h | |
parent | 3e14d3b440eb85fce8e48d5d0326c60dff7fe10a (diff) |
ZigBee: Add a preference to choose ZigBee Smart Energy version used for dissecting
Some ZigBee commands within the Smart Energy Profile does not have the same payload
across different specifications. With this preference it is possible to choose what
version of the specification to use when dissecting payloads.
The default version is set to the latest one, which is Smart Energy 1.4, even though
it is still under development.
Change-Id: Iaec5528f2a418aeec4e39cfa087a58e531570d42
Reviewed-on: https://code.wireshark.org/review/25409
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-zbee-aps.h')
-rw-r--r-- | epan/dissectors/packet-zbee-aps.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/dissectors/packet-zbee-aps.h b/epan/dissectors/packet-zbee-aps.h index e196180910..5131430826 100644 --- a/epan/dissectors/packet-zbee-aps.h +++ b/epan/dissectors/packet-zbee-aps.h @@ -300,6 +300,17 @@ typedef struct{ gboolean src_present; } zbee_aps_packet; +/* ZigBee Smart Energy version used for preferences */ +extern gint gPREF_zbee_se_protocol_version; + +enum { + ZBEE_SE_VERSION_1_1B, + ZBEE_SE_VERSION_1_2, + ZBEE_SE_VERSION_1_2A, + ZBEE_SE_VERSION_1_2B, + ZBEE_SE_VERSION_1_4 +}; + /************************************** * Value Strings ************************************** |