-
Notifications
You must be signed in to change notification settings - Fork 0
The pcfg CSV File
John Serock edited this page Jun 17, 2023
·
3 revisions
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:
- Descriptor, or name, of a parameter
- Index (a unique, relative location of a parameter)
- Length (integers have a length of 1, byte arrays have a length greater than 1)
- Size in bits (integers have a size of 8, 16, or 32 bits; byte array elements have a size of 8 bits)
- 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.
Header row: Yes
Column separator: semicolon (;
)
Line terminator: linefeed (\n
)