#include <string.h> and/or #include <stdio.h> not needed.
[obnox/wireshark/wip.git] / epan / dissectors / packet-h282.c
index 5d54522b206a2fe6d25aeb0cde8388bd70427f3f..e299706bdb3643cd7f1fa15d4eccf6972960d898 100644 (file)
@@ -1,7 +1,7 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
 /* packet-h282.c                                                              */
-/* ../../tools/asn2wrs.py -p h282 -c h282.cnf -s packet-h282-template RDC-PROTOCOL.asn */
+/* ../../tools/asn2wrs.py -p h282 -c ./h282.cnf -s ./packet-h282-template -D . RDC-PROTOCOL.asn */
 
 /* Input file: packet-h282-template.c */
 
 
 #include <glib.h>
 #include <epan/packet.h>
-#include <epan/conversation.h>
 #include <epan/oids.h>
 #include <epan/asn1.h>
 
-#include <stdio.h>
-#include <string.h>
-
 #include "packet-per.h"
 
 #define PNAME  "H.282 Remote Device Control"
@@ -51,7 +47,7 @@
 #define PFNAME "rdc"
 
 /* Initialize the protocol and registered fields */
-int proto_h282 = -1;
+static int proto_h282 = -1;
 
 /*--- Included file: packet-h282-hf.c ---*/
 #line 1 "packet-h282-hf.c"
@@ -490,7 +486,7 @@ static int hf_h282_deviceEventNotifyIndication = -1;  /* DeviceEventNotifyIndica
 static int hf_h282_nonStandardIndication = -1;    /* NonStandardPDU */
 
 /*--- End of included file: packet-h282-hf.c ---*/
-#line 48 "packet-h282-template.c"
+#line 44 "packet-h282-template.c"
 
 /* Initialize the subtree pointers */
 static int ett_h282 = -1;
@@ -642,7 +638,7 @@ static gint ett_h282_ResponsePDU = -1;
 static gint ett_h282_IndicationPDU = -1;
 
 /*--- End of included file: packet-h282-ett.c ---*/
-#line 52 "packet-h282-template.c"
+#line 48 "packet-h282-template.c"
 
 /* Dissectors */
 
@@ -754,7 +750,7 @@ dissect_h282_NonStandardIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t
 static int
 dissect_h282_TextString(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_BMPString(tvb, offset, actx, tree, hf_index,
-                                          0, 255);
+                                          0, 255, FALSE);
 
   return offset;
 }
@@ -918,7 +914,7 @@ static int
 dissect_h282_SET_SIZE_0_127_OF_DeviceProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_SET_SIZE_0_127_OF_DeviceProfile, SET_SIZE_0_127_OF_DeviceProfile_set_of,
-                                             0, 127);
+                                             0, 127, FALSE);
 
   return offset;
 }
@@ -932,7 +928,7 @@ static int
 dissect_h282_SET_SIZE_0_127_OF_StreamProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_SET_SIZE_0_127_OF_StreamProfile, SET_SIZE_0_127_OF_StreamProfile_set_of,
-                                             0, 127);
+                                             0, 127, FALSE);
 
   return offset;
 }
@@ -1210,7 +1206,7 @@ static int
 dissect_h282_T_presetCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_presetCapability, T_presetCapability_set_of,
-                                             0, 255);
+                                             0, 255, FALSE);
 
   return offset;
 }
@@ -1274,7 +1270,7 @@ static int
 dissect_h282_T_filterTextLabel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_filterTextLabel, T_filterTextLabel_set_of,
-                                             0, 255);
+                                             0, 255, FALSE);
 
   return offset;
 }
@@ -1318,7 +1314,7 @@ static int
 dissect_h282_T_accessoryTextLabel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_accessoryTextLabel, T_accessoryTextLabel_set_of,
-                                             0, 255);
+                                             0, 255, FALSE);
 
   return offset;
 }
@@ -1372,7 +1368,7 @@ static int
 dissect_h282_T_lightTextLabel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_lightTextLabel, T_lightTextLabel_set_of,
-                                             0, 10);
+                                             0, 10, FALSE);
 
   return offset;
 }
@@ -1595,7 +1591,7 @@ static int
 dissect_h282_T_multiplierFactors(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_multiplierFactors, T_multiplierFactors_set_of,
-                                             1, 64);
+                                             1, 64, FALSE);
 
   return offset;
 }
@@ -1609,7 +1605,7 @@ static int
 dissect_h282_T_divisorFactors(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_divisorFactors, T_divisorFactors_set_of,
-                                             1, 64);
+                                             1, 64, FALSE);
 
   return offset;
 }
@@ -1673,7 +1669,7 @@ static int
 dissect_h282_T_availableDevices(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_availableDevices, T_availableDevices_set_of,
-                                             2, 64);
+                                             2, 64, FALSE);
 
   return offset;
 }
@@ -1718,7 +1714,7 @@ static int
 dissect_h282_T_availableDevices_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_availableDevices_01, T_availableDevices_01_set_of,
-                                             2, 64);
+                                             2, 64, FALSE);
 
   return offset;
 }
@@ -2553,7 +2549,7 @@ static int
 dissect_h282_T_inputDevices(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_T_inputDevices, T_inputDevices_set_of,
-                                             2, 64);
+                                             2, 64, FALSE);
 
   return offset;
 }
@@ -4005,7 +4001,7 @@ static int
 dissect_h282_SET_SIZE_1_8_OF_ControlAttribute(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_SET_SIZE_1_8_OF_ControlAttribute, SET_SIZE_1_8_OF_ControlAttribute_set_of,
-                                             1, 8);
+                                             1, 8, FALSE);
 
   return offset;
 }
@@ -4036,7 +4032,7 @@ static int
 dissect_h282_SET_SIZE_1_16_OF_StatusAttributeIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_SET_SIZE_1_16_OF_StatusAttributeIdentifier, SET_SIZE_1_16_OF_StatusAttributeIdentifier_set_of,
-                                             1, 16);
+                                             1, 16, FALSE);
 
   return offset;
 }
@@ -4067,7 +4063,7 @@ static int
 dissect_h282_SET_SIZE_1_16_OF_StatusAttribute(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_SET_SIZE_1_16_OF_StatusAttribute, SET_SIZE_1_16_OF_StatusAttribute_set_of,
-                                             1, 16);
+                                             1, 16, FALSE);
 
   return offset;
 }
@@ -4198,7 +4194,7 @@ static int
 dissect_h282_SET_SIZE_1_8_OF_DeviceEvent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
                                              ett_h282_SET_SIZE_1_8_OF_DeviceEvent, SET_SIZE_1_8_OF_DeviceEvent_set_of,
-                                             1, 8);
+                                             1, 8, FALSE);
 
   return offset;
 }
@@ -4272,7 +4268,7 @@ dissect_h282_RequestPDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_,
 
 #line 27 "h282.cnf"
   p = match_strval(msg_type, VALS(h282_RequestPDU_vals));
-  if (p && check_col(actx->pinfo->cinfo, COL_INFO))
+  if (p)
     col_add_fstr(actx->pinfo->cinfo, COL_INFO, "RequestPDU/%s", p);
 
   return offset;
@@ -4315,7 +4311,7 @@ dissect_h282_ResponsePDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_
 
 #line 38 "h282.cnf"
   p = match_strval(msg_type, VALS(h282_ResponsePDU_vals));
-  if (p && check_col(actx->pinfo->cinfo, COL_INFO))
+  if (p)
     col_add_fstr(actx->pinfo->cinfo, COL_INFO, "ResponsePDU/%s", p);
 
   return offset;
@@ -4350,7 +4346,7 @@ dissect_h282_IndicationPDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _
 
 #line 49 "h282.cnf"
   p = match_strval(msg_type, VALS(h282_IndicationPDU_vals));
-  if (p && check_col(actx->pinfo->cinfo, COL_INFO))
+  if (p)
     col_add_fstr(actx->pinfo->cinfo, COL_INFO, "IndicationPDU/%s", p);
 
   return offset;
@@ -4401,7 +4397,7 @@ static int dissect_RDCPDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_t
 
 
 /*--- End of included file: packet-h282-fn.c ---*/
-#line 58 "packet-h282-template.c"
+#line 54 "packet-h282-template.c"
 
 static int
 dissect_h282(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
@@ -4409,8 +4405,7 @@ dissect_h282(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   proto_item  *ti = NULL;
   proto_tree  *h282_tree = NULL;
 
-  if (check_col(pinfo->cinfo, COL_PROTOCOL))
-    col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
+  col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
   ti = proto_tree_add_item(tree, proto_h282, tvb, 0, -1, FALSE);
   h282_tree = proto_item_add_subtree(ti, ett_h282);
@@ -4440,7 +4435,7 @@ void proto_register_h282(void) {
         "h282.OBJECT_IDENTIFIER", HFILL }},
     { &hf_h282_h221NonStandard,
       { "h221NonStandard", "h282.h221NonStandard",
-        FT_BYTES, BASE_HEX, NULL, 0,
+        FT_BYTES, BASE_NONE, NULL, 0,
         "h282.H221NonStandardIdentifier", HFILL }},
     { &hf_h282_key,
       { "key", "h282.key",
@@ -4448,11 +4443,11 @@ void proto_register_h282(void) {
         "h282.Key", HFILL }},
     { &hf_h282_data,
       { "data", "h282.data",
-        FT_BYTES, BASE_HEX, NULL, 0,
+        FT_BYTES, BASE_NONE, NULL, 0,
         "h282.OCTET_STRING", HFILL }},
     { &hf_h282_h221nonStandard,
       { "h221nonStandard", "h282.h221nonStandard",
-        FT_BYTES, BASE_HEX, NULL, 0,
+        FT_BYTES, BASE_NONE, NULL, 0,
         "h282.H221NonStandardIdentifier", HFILL }},
     { &hf_h282_camera,
       { "camera", "h282.camera",
@@ -4488,23 +4483,23 @@ void proto_register_h282(void) {
         "h282.DeviceID", HFILL }},
     { &hf_h282_audioSourceFlag,
       { "audioSourceFlag", "h282.audioSourceFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_audioSinkFlag,
       { "audioSinkFlag", "h282.audioSinkFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_videoSourceFlag,
       { "videoSourceFlag", "h282.videoSourceFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_videoSinkFlag,
       { "videoSinkFlag", "h282.videoSinkFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_remoteControlFlag,
       { "remoteControlFlag", "h282.remoteControlFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_instanceNumber,
       { "instanceNumber", "h282.instanceNumber",
@@ -4520,11 +4515,11 @@ void proto_register_h282(void) {
         "h282.StreamID", HFILL }},
     { &hf_h282_videoStreamFlag,
       { "videoStreamFlag", "h282.videoStreamFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_sourceChangeFlag,
       { "sourceChangeFlag", "h282.sourceChangeFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_streamName,
       { "streamName", "h282.streamName",
@@ -4539,7 +4534,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, VALS(h282_Key_vals), 0,
         "h282.Key", HFILL }},
     { &hf_h282_NonCollapsingCapabilities_item,
-      { "NonCollapsingCapabilities", "h282.NonCollapsingCapabilities_item",
+      { "NonCollapsingCapabilities item", "h282.NonCollapsingCapabilities_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.NonCollapsingCapabilities_item", HFILL }},
     { &hf_h282_capabilityID,
@@ -4555,7 +4550,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_SIZE_0_127_OF_DeviceProfile", HFILL }},
     { &hf_h282_deviceList_item,
-      { "deviceList", "h282.deviceList_item",
+      { "DeviceProfile", "h282.DeviceProfile",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.DeviceProfile", HFILL }},
     { &hf_h282_streamList,
@@ -4563,7 +4558,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_SIZE_0_127_OF_StreamProfile", HFILL }},
     { &hf_h282_streamList_item,
-      { "streamList", "h282.streamList_item",
+      { "StreamProfile", "h282.StreamProfile",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.StreamProfile", HFILL }},
     { &hf_h282_playing,
@@ -4615,7 +4610,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_presetCapability", HFILL }},
     { &hf_h282_presetCapability_item,
-      { "presetCapability", "h282.presetCapability_item",
+      { "presetCapability item", "h282.presetCapability_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.T_presetCapability_item", HFILL }},
     { &hf_h282_presetNumber,
@@ -4624,11 +4619,11 @@ void proto_register_h282(void) {
         "h282.PresetNumber", HFILL }},
     { &hf_h282_storeModeSupported,
       { "storeModeSupported", "h282.storeModeSupported",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_presetTextLabel,
       { "presetTextLabel", "h282.presetTextLabel",
-        FT_BYTES, BASE_HEX, NULL, 0,
+        FT_BYTES, BASE_NONE, NULL, 0,
         "h282.DeviceText", HFILL }},
     { &hf_h282_maxNumberOfFilters,
       { "maxNumberOfFilters", "h282.maxNumberOfFilters",
@@ -4639,7 +4634,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_filterTextLabel", HFILL }},
     { &hf_h282_filterTextLabel_item,
-      { "filterTextLabel", "h282.filterTextLabel_item",
+      { "filterTextLabel item", "h282.filterTextLabel_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.T_filterTextLabel_item", HFILL }},
     { &hf_h282_filterNumber,
@@ -4648,7 +4643,7 @@ void proto_register_h282(void) {
         "h282.INTEGER_1_255", HFILL }},
     { &hf_h282_filterTextLabel_01,
       { "filterTextLabel", "h282.filterTextLabel",
-        FT_BYTES, BASE_HEX, NULL, 0,
+        FT_BYTES, BASE_NONE, NULL, 0,
         "h282.DeviceText", HFILL }},
     { &hf_h282_maxNumberOfLens,
       { "maxNumberOfLens", "h282.maxNumberOfLens",
@@ -4659,7 +4654,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_accessoryTextLabel", HFILL }},
     { &hf_h282_accessoryTextLabel_item,
-      { "accessoryTextLabel", "h282.accessoryTextLabel_item",
+      { "accessoryTextLabel item", "h282.accessoryTextLabel_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.T_accessoryTextLabel_item", HFILL }},
     { &hf_h282_lensNumber,
@@ -4668,7 +4663,7 @@ void proto_register_h282(void) {
         "h282.INTEGER_1_255", HFILL }},
     { &hf_h282_lensTextLabel,
       { "lensTextLabel", "h282.lensTextLabel",
-        FT_BYTES, BASE_HEX, NULL, 0,
+        FT_BYTES, BASE_NONE, NULL, 0,
         "h282.DeviceText", HFILL }},
     { &hf_h282_maxNumber_01,
       { "maxNumber", "h282.maxNumber",
@@ -4679,7 +4674,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_lightTextLabel", HFILL }},
     { &hf_h282_lightTextLabel_item,
-      { "lightTextLabel", "h282.lightTextLabel_item",
+      { "lightTextLabel item", "h282.lightTextLabel_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.T_lightTextLabel_item", HFILL }},
     { &hf_h282_lightNumber,
@@ -4688,7 +4683,7 @@ void proto_register_h282(void) {
         "h282.INTEGER_1_10", HFILL }},
     { &hf_h282_lightLabel,
       { "lightLabel", "h282.lightLabel",
-        FT_BYTES, BASE_HEX, NULL, 0,
+        FT_BYTES, BASE_NONE, NULL, 0,
         "h282.DeviceText", HFILL }},
     { &hf_h282_maxSpeed,
       { "maxSpeed", "h282.maxSpeed",
@@ -4739,7 +4734,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_multiplierFactors", HFILL }},
     { &hf_h282_multiplierFactors_item,
-      { "multiplierFactors", "h282.multiplierFactors_item",
+      { "multiplierFactors item", "h282.multiplierFactors_item",
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.INTEGER_10_1000", HFILL }},
     { &hf_h282_divisorFactors,
@@ -4747,7 +4742,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_divisorFactors", HFILL }},
     { &hf_h282_divisorFactors_item,
-      { "divisorFactors", "h282.divisorFactors_item",
+      { "divisorFactors item", "h282.divisorFactors_item",
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.INTEGER_10_1000", HFILL }},
     { &hf_h282_numberOfDeviceInputs,
@@ -4763,7 +4758,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_availableDevices", HFILL }},
     { &hf_h282_availableDevices_item,
-      { "availableDevices", "h282.availableDevices_item",
+      { "availableDevices item", "h282.availableDevices_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.T_availableDevices_item", HFILL }},
     { &hf_h282_deviceClass,
@@ -4779,7 +4774,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_availableDevices_01", HFILL }},
     { &hf_h282_availableDevices_item_01,
-      { "availableDevices", "h282.availableDevices_item",
+      { "availableDevices item", "h282.availableDevices_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.T_availableDevices_item_01", HFILL }},
     { &hf_h282_deviceStateSupported,
@@ -5248,14 +5243,14 @@ void proto_register_h282(void) {
         "h282.INTEGER_10_1000", HFILL }},
     { &hf_h282_multiplyFactor,
       { "multiplyFactor", "h282.multiplyFactor",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_inputDevices,
       { "inputDevices", "h282.inputDevices",
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.T_inputDevices", HFILL }},
     { &hf_h282_inputDevices_item,
-      { "inputDevices", "h282.inputDevices_item",
+      { "inputDevices item", "h282.inputDevices_item",
         FT_NONE, BASE_NONE, NULL, 0,
         "h282.T_inputDevices_item", HFILL }},
     { &hf_h282_setDeviceState,
@@ -5408,23 +5403,23 @@ void proto_register_h282(void) {
         "h282.AutoSlideDisplayTime", HFILL }},
     { &hf_h282_continuousRewindControl,
       { "continuousRewindControl", "h282.continuousRewindControl",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_continuousFastForwardControl,
       { "continuousFastForwardControl", "h282.continuousFastForwardControl",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_searchBackwardsControl,
       { "searchBackwardsControl", "h282.searchBackwardsControl",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_searchForwardsControl,
       { "searchForwardsControl", "h282.searchForwardsControl",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_pause_01,
       { "pause", "h282.pause",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_selectProgram,
       { "selectProgram", "h282.selectProgram",
@@ -5440,7 +5435,7 @@ void proto_register_h282(void) {
         "h282.ProgramDuration", HFILL }},
     { &hf_h282_continuousPlayBackMode,
       { "continuousPlayBackMode", "h282.continuousPlayBackMode",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_setPlaybackSpeed,
       { "setPlaybackSpeed", "h282.setPlaybackSpeed",
@@ -5448,11 +5443,11 @@ void proto_register_h282(void) {
         "h282.PlaybackSpeed", HFILL }},
     { &hf_h282_play,
       { "play", "h282.play",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_setAudioOutputMute,
       { "setAudioOutputMute", "h282.setAudioOutputMute",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_playToNormalPlayTimePoint,
       { "playToNormalPlayTimePoint", "h282.playToNormalPlayTimePoint",
@@ -5460,7 +5455,7 @@ void proto_register_h282(void) {
         "h282.ProgramDuration", HFILL }},
     { &hf_h282_record,
       { "record", "h282.record",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_recordForDuration,
       { "recordForDuration", "h282.recordForDuration",
@@ -5700,7 +5695,7 @@ void proto_register_h282(void) {
         "h282.PlaybackSpeed", HFILL }},
     { &hf_h282_mute,
       { "mute", "h282.mute",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_currentdeviceState,
       { "currentdeviceState", "h282.currentdeviceState",
@@ -5876,11 +5871,11 @@ void proto_register_h282(void) {
         "h282.NonStandardIdentifier", HFILL }},
     { &hf_h282_deviceLockChanged,
       { "deviceLockChanged", "h282.deviceLockChanged",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_deviceAvailabilityChanged,
       { "deviceAvailabilityChanged", "h282.deviceAvailabilityChanged",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_cameraPannedToLimit,
       { "cameraPannedToLimit", "h282.cameraPannedToLimit",
@@ -5952,7 +5947,7 @@ void proto_register_h282(void) {
         "h282.NULL", HFILL }},
     { &hf_h282_sourceEventNotify,
       { "sourceEventNotify", "h282.sourceEventNotify",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_result_01,
       { "result", "h282.result",
@@ -5967,7 +5962,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_OF_DeviceAttribute", HFILL }},
     { &hf_h282_deviceAttributeList_item,
-      { "deviceAttributeList", "h282.deviceAttributeList_item",
+      { "DeviceAttribute", "h282.DeviceAttribute",
         FT_UINT32, BASE_DEC, VALS(h282_DeviceAttribute_vals), 0,
         "h282.DeviceAttribute", HFILL }},
     { &hf_h282_result_02,
@@ -5980,7 +5975,7 @@ void proto_register_h282(void) {
         "h282.NULL", HFILL }},
     { &hf_h282_lockFlag,
       { "lockFlag", "h282.lockFlag",
-        FT_BOOLEAN, 8, NULL, 0,
+        FT_BOOLEAN, BASE_NONE, NULL, 0,
         "h282.BOOLEAN", HFILL }},
     { &hf_h282_result_03,
       { "result", "h282.result",
@@ -6011,7 +6006,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_SIZE_1_8_OF_ControlAttribute", HFILL }},
     { &hf_h282_controlAttributeList_item,
-      { "controlAttributeList", "h282.controlAttributeList_item",
+      { "ControlAttribute", "h282.ControlAttribute",
         FT_UINT32, BASE_DEC, VALS(h282_ControlAttribute_vals), 0,
         "h282.ControlAttribute", HFILL }},
     { &hf_h282_statusAttributeIdentifierList,
@@ -6019,7 +6014,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_SIZE_1_16_OF_StatusAttributeIdentifier", HFILL }},
     { &hf_h282_statusAttributeIdentifierList_item,
-      { "statusAttributeIdentifierList", "h282.statusAttributeIdentifierList_item",
+      { "StatusAttributeIdentifier", "h282.StatusAttributeIdentifier",
         FT_UINT32, BASE_DEC, VALS(h282_StatusAttributeIdentifier_vals), 0,
         "h282.StatusAttributeIdentifier", HFILL }},
     { &hf_h282_statusAttributeList,
@@ -6027,7 +6022,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_SIZE_1_16_OF_StatusAttribute", HFILL }},
     { &hf_h282_statusAttributeList_item,
-      { "statusAttributeList", "h282.statusAttributeList_item",
+      { "StatusAttribute", "h282.StatusAttribute",
         FT_UINT32, BASE_DEC, VALS(h282_StatusAttribute_vals), 0,
         "h282.StatusAttribute", HFILL }},
     { &hf_h282_result_05,
@@ -6043,7 +6038,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_OF_DeviceEventIdentifier", HFILL }},
     { &hf_h282_deviceEventIdentifierList_item,
-      { "deviceEventIdentifierList", "h282.deviceEventIdentifierList_item",
+      { "DeviceEventIdentifier", "h282.DeviceEventIdentifier",
         FT_UINT32, BASE_DEC, VALS(h282_DeviceEventIdentifier_vals), 0,
         "h282.DeviceEventIdentifier", HFILL }},
     { &hf_h282_result_06,
@@ -6055,7 +6050,7 @@ void proto_register_h282(void) {
         FT_UINT32, BASE_DEC, NULL, 0,
         "h282.SET_SIZE_1_8_OF_DeviceEvent", HFILL }},
     { &hf_h282_deviceEventList_item,
-      { "deviceEventList", "h282.deviceEventList_item",
+      { "DeviceEvent", "h282.DeviceEvent",
         FT_UINT32, BASE_DEC, VALS(h282_DeviceEvent_vals), 0,
         "h282.DeviceEvent", HFILL }},
     { &hf_h282_nonStandardData,
@@ -6160,7 +6155,7 @@ void proto_register_h282(void) {
         "h282.NonStandardPDU", HFILL }},
 
 /*--- End of included file: packet-h282-hfarr.c ---*/
-#line 80 "packet-h282-template.c"
+#line 75 "packet-h282-template.c"
   };
 
   /* List of subtrees */
@@ -6314,7 +6309,7 @@ void proto_register_h282(void) {
     &ett_h282_IndicationPDU,
 
 /*--- End of included file: packet-h282-ettarr.c ---*/
-#line 86 "packet-h282-template.c"
+#line 81 "packet-h282-template.c"
   };
 
   /* Register protocol */