Wireshark-bugs: [Wireshark-bugs] [Bug 8718] ZigBee ZCL Identify cluster not managed
Date: Mon, 17 Jun 2013 05:10:11 +0000

Comment # 21 on bug 8718 from
(In reply to comment #18)
> I tried the TFS function but there is a different condition. So,
> VALS(zbee_zcl_boolean_names) is used in
> hf_zbee_zcl_pwr_prof_energy_format_noleadingzero field. This field is shown
> like a attribute subfield. TFS needs FT_BOOLEAN type but with boolean type I
> can't display the value like a mask.
> Is there a solution ?

I'm not sure I understood what you mean. FT_BOOLEAN type can take a bitmask if
needed (any value different from 0 is considered as true). As stated in
README.developer:
"For FT_BOOLEAN fields that are also bitfields (i.e., 'bitmask' is non-zero),
'display' is used specify a "field-width" (i.e., tell the proto_tree how
wide the parent bitfield is). (If the FT_BOOLEAN 'bitmask' is zero, then
'display' must be BASE_NONE)."

So you can replace:
        { &hf_zbee_zcl_pwr_prof_energy_format_noleadingzero,
            { "Number of Digits to the left of the Decimal Point",
"zbee.zcl.pwrprof.energyformat_noleadingzero",
            FT_BOOLEAN, BASE_DEC, VALS(zbee_zcl_boolean_names),
ZBEE_ZCL_OPT_PWRPROF_NO_LEADING_ZERO, NULL, HFILL } },
by
        { &hf_zbee_zcl_pwr_prof_energy_format_noleadingzero,
            { "Number of Digits to the left of the Decimal Point",
"zbee.zcl.pwrprof.energyformat_noleadingzero",
            FT_BOOLEAN, 8, TFS(&tfs_true_false),
ZBEE_ZCL_OPT_PWRPROF_NO_LEADING_ZERO, NULL, HFILL } },

BTW I also ran the check*.pl scripts and it gave me the following errors:
$tools/checkAPIs.pl epan/dissectors/packet-zbee*.c
Error: Found non-ASCII characters on line 589 of
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee-zcl-meas-sensing.c
Error: Found non-ASCII characters on line 613 of
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee-zcl-meas-sensing.c
Error: Found non-ASCII characters on line 636 of
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee-zcl-meas-sensing.c
Error: Found non-ASCII characters on line 659 of
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee-zcl-meas-sensing.c

$tools/checkhf.pl epan/dissectors/packet-zbee*.c
Unused entry:
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee-zcl-general.c,
hf_zbee_zcl_basic_phy_env
Unused entry:
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee-zcl-general.c,
hf_zbee_zcl_pwr_prof_options
Unused entry:
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee-zcl-meas-sensing.c,
hf_zbee_zcl_press_meas_scale

$tools/checkfiltername.pl
/media/sf_dev/wireshark/trunk/epan/dissectors/packet-zbee*.c
epan/dissectors/packet-zbee-aps.c (2 (of 44) fields)
zbee_apf.count doesn't match PROTOABBREV of zbee-aps
zbee_apf.type doesn't match PROTOABBREV of zbee-aps
epan/dissectors/packet-zbee-nwk.c (9 (of 66) fields)
zbee_beacon.protocol doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.profile doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.version doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.router doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.depth doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.end_dev doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.ext_panid doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.tx_offset doesn't match PROTOABBREV of zbee-nwk
zbee_beacon.update_id doesn't match PROTOABBREV of zbee-nwk
epan/dissectors/packet-zbee-zcl-general.c (81 (of 81) fields)
zbee.zcl.part_attr.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part_srv_tx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part_srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.opt.first_block doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.opt.indic_len doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.opt.res doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.first_frame_id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.part_indicator doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.part_frame_length doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.part_frame doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.part_cluster_id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.acl_opt.part.nack_id.len doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.ack_opt.reserved doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.part.nack_id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.totprofnum doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.multiplesched doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.energyformat_rdigit doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.pwrprof.energyformat_ldigit doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.pwrprof.energyformat_noleadingzero doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.pwrprof.energyremote doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.schedmode_cheapest doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.pwrprof.schedmode_greenest doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.pwrprof.schedmode_reserved doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.pwr_prof_attr.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwr_prof_srv_tx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwr_prof_srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.pwrprofid doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.currency doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.price doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.pricetrailingdigit doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.pwrprof.numofschedphases doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.energyphaseid doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.scheduledtime doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.macrophaseid doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.expecduration doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.numoftransphases doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.peakpower doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.energy doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.maxactivdelay doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.pwrprofcount doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.pwrprofremctrl doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.pwrprofstate doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.startafter doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.stopbefore doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.options doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.options.01 doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.options.reserved doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.pwrprof.pwrprofstime doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.attr.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.time.mm doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.time.encoding_type doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.applctrl.time.hh doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.srv_tx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.status doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.remenflags doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.status2 doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.status2.array doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.execcmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.attr_func.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.applctrl.attr_func.datatype doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.applctrl.ovrlwarning.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.basic.attr.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.basic.pwr_src doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.basic.phy_env doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.basic.dev_en doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.basic.alarm_mask.gen_hw_fault doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.basic.alarm_mask.gen_sw_fault doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.basic.alarm_mask.reserved doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.basic.dis_loc_cfg.reset doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.basic.dis_loc_cfg.dev_cfg doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.basic.dis_loc_cfg.reserved doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.basic.srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.identify.attr.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.identify.identify_time doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.identify.identify_timeout doesn't match PROTOABBREV of
zbee-zcl-general
zbee.zcl.identify.srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.identify.srv_tx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.on_off.attr.id doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.on_off.attr.onoff doesn't match PROTOABBREV of zbee-zcl-general
zbee.zcl.on_off.srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-general
epan/dissectors/packet-zbee-zcl-ha.c (29 (of 29) fields)
zbee.zcl.applevtalt.srv_tx.cmd.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.count.num doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.count.type doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.alert_id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.category doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.status doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.reserved doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.proprietary doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.event.header doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applevtalt.event.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats_attr.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats_srv_tx.cmd.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats_srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats_utc_time doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats.log.length doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats.log.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats.log_queue_size doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.appl_stats.log.payload doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applident.attr.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applident.company.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applident.brand.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applident.string.len doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applident.prod.type.name doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applident.prod.type.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.applident.ceced.spec.ver doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.metident.attr.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.metident.meter_type.id doesn't match PROTOABBREV of zbee-zcl-ha
zbee.zcl.metident.data_quality.id doesn't match PROTOABBREV of zbee-zcl-ha
epan/dissectors/packet-zbee-zcl-meas-sensing.c (26 (of 26) fields)
zbee.zcl.press_meas.attr.id doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.press_meas.value doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.press_meas.value.min doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.press_meas.value.max doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.press_meas.tolerance doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.press_meas.scaled_value doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.press_meas.scaled_value.min doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.press_meas.scaled_value.max doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.press_meas.scaled_tolerance doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.press_meas.scale doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.relhum_meas.attr.id doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.relhum_meas.value doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.relhum_meas.value.min doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.relhum_meas.value.max doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.relhum_meas.tolerance doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.illum_meas.attr.id doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.illum_meas.value doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.illum_meas.value.min doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.illum_meas.value.max doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.illum_meas.tolerance doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.illum_meas.sensor_type doesn't match PROTOABBREV of
zbee-zcl-meas-sensing
zbee.zcl.temp_meas.attr.id doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.temp_meas.value doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.temp_meas.value.min doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.temp_meas.value.max doesn't match PROTOABBREV of zbee-zcl-meas-sensing
zbee.zcl.temp_meas.tolerance doesn't match PROTOABBREV of zbee-zcl-meas-sensing
epan/dissectors/packet-zbee-zcl-on-off.c (3 (of 3) fields)
zbee.zcl.on_off.attr.id doesn't match PROTOABBREV of zbee-zcl-on-off
zbee.zcl.on_off.attr.onoff doesn't match PROTOABBREV of zbee-zcl-on-off
zbee.zcl.on_off.srv_rx.cmd.id doesn't match PROTOABBREV of zbee-zcl-on-off
TOTAL ERRORS: 150 (6 files)
NO FIELDS: 0
AUTOMATED: 0
NO PROTOCOL: 4


You are receiving this mail because:
  • You are watching all bug changes.