/* Message: FeatureStatV2Message Opcode: 0x0146 Type: RegistrationAndManagement Direction: pbx2dev VarLength: yes  */
static void handle_FeatureStatV2Message(ptvcursor_t *cursor, packet_info *pinfo _U_)
/* Message: FeatureStatV2Message Opcode: 0x0146 Type: RegistrationAndManagement Direction: pbx2dev VarLength: yes  */
static void handle_FeatureStatV2Message(ptvcursor_t *cursor, packet_info *pinfo _U_)
{
  guint32 featureTextLabel_len = 0;
  ptvcursor_add(cursor, hf_skinny_featureIndex, 4, ENC_LITTLE_ENDIAN);
  ptvcursor_add(cursor, hf_skinny_featureID, 4, ENC_LITTLE_ENDIAN);
  ptvcursor_add(cursor, hf_skinny_featureStatus, 4, ENC_LITTLE_ENDIAN);
  featureTextLabel_len = tvb_strnlen(ptvcursor_tvbuff(cursor), ptvcursor_current_offset(cursor), -1)+1;
  if (featureTextLabel_len > 1) {
    ptvcursor_add(cursor, hf_skinny_featureTextLabel, featureTextLabel_len, ENC_ASCII|ENC_NA);
  } else {
    ptvcursor_advance(cursor, 1);
  }
}