private static void setChipVersion() {
      //TODO: Get chip version directly if possible.
      String model = IrisHal.getModel();
      if (Model.isV2(model)) {
         hardware.set("ZM5304AU-CME3R");
      }
      else if (Model.isV3(model)) {
         hardware.set("ZM5101");
      }
      else {
         hardware.set("unknown");
      }
   }
private static void setChipVersion() {
     
      String model = IrisHal.getModel();
      if (Model.isV2(model)) {
         hardware.set("ZM5304AU-CME3R");
      }
      else if (Model.isV3(model)) {
         hardware.set("ZM5101");
      }
      else {
         hardware.set("unknown");
      }
   }
private static void setchipversion() { string model = irishal.getmodel(); if (model.isv2(model)) { hardware.set("zm5304au-cme3r"); } else if (model.isv3(model)) { hardware.set("zm5101"); } else { hardware.set("unknown"); } }