Skip to content

The pcfg CSV File

John Serock edited this page Jun 17, 2023 · 3 revisions

The pcfg CSV File

The pcfg CSV file describes the parameters whose values are in the paramconfig binary file. There are two primary types of parameters: integers and byte arrays.

The pcfg CSV file has the following information for each parameter:

  1. Descriptor, or name, of a parameter
  2. Index (a unique, relative location of a parameter)
  3. Length (integers have a length of 1, byte arrays have a length greater than 1)
  4. Size in bits (integers have a size of 8, 16, or 32 bits; byte array elements have a size of 8 bits)
  5. Flash offset (the offset in bytes from the beginning of the image in the paramconfig file)

Indices are generally sequential; however, there are gaps. For example, the 121 parameters of the D-Link DHP-700AV 1.01.B01 North American firmware have indices that range from 0 to 136; no parameter has an index of 32, 66, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 91, or 102.

File format

Header row: Yes

Column separator: semicolon (;)

Line terminator: linefeed (\n)

Clone this wiki locally