Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Switch pages to "Cfg Batch" page.

(1) Prepare a CSV file, which can be opened and made with a text editor or Excel (the template is in the samples folder of the HPT tool);

Image Modified

(2)HPT can batch generate cfg files in a Keyword-replace manner.
In MAC mode, the first column must be "MAC" column, where only MAC addresses allowed in the form like "001fc1aabbcc" (lowercase).
"Keyword-replace" means to replace the item content (P value) by the exact keyword . To do this, the item to be replaced need to set its content (P value) to a unique string, such as "$$userId_1". If the CSV file contained a column whose head is just "$$userId_1", then all cfg files generated will substitute "$$userId_1" with the string in the cell of the column (specific row is determined by the MAC column).

...

  • Modified csv file if need. You can add rows, edit content or save this table as another file.
  • Choose to encrypt the generate files or not.
  • If built-in HTTP server started, you can check "Autofill Server Path" to autofill the cfg server path and firmware server path.
  • Click "Batch" to generate cfg files and save them in the desired directory, or click "Batch to Buit-in Server" to generate and store them in the built-in HTTP server file directory (\server\htdocs\cfg and \server\htdocs\fw).

In the following example, we want to change the value of the LineKey_value and LineKey_label, so we set them to the variables $$userId_1, $$authenId_1 respectively, and fill in these

...

two variables in the visual editing page of the HPT tool and the csv file to be imported.

Image Added

Image Modified

...

Step 6.Search and provision online devices

...