Make Terminus ID & Terminus Handle configurable

The current pldm code hardcoded the terminus id and the
terminus handles, making it configurable so that the
oem vendors can set them as per thier need in the
bitbake meta data.

Also,in the current state the FRU record set PDR's and
the Sensor/Effecter PDR's are generated with terminus
handle 0, but the terminus locator PDR is hardcoded with
handle 1. This commit also fixes that behaviour.

Tested :

1. Terminus locator PDR
{
    "nextRecordHandle": 89,
    "responseCount": 19,
    "recordHandle": 88,
    "PDRHeaderVersion": 1,
    "PDRType": "Terminus Locator PDR",
    "recordChangeNumber": 0,
    "dataLength": 9,
    "PLDMTerminusHandle": 1,
    "validity": "valid",
    "TID": 1,
    "containerID": 0,
    "terminusLocatorType": "MCTP_EID",
    "terminusLocatorValueSize": 1,
    "EID": 8
}
2. FRU record set PDR
{
    "nextRecordHandle": 77,
    "responseCount": 20,
    "recordHandle": 76,
    "PDRHeaderVersion": 1,
    "PDRType": "FRU Record Set PDR",
    "recordChangeNumber": 0,
    "dataLength": 10,
    "PLDMTerminusHandle": 1,
    "FRURecordSetIdentifier": 76,
    "entityType": "[Physical] Slot",
    "entityInstanceNumber": 12,
    "containerID": 3
}
3. Sensor PDR
{
    "nextRecordHandle": 208,
    "responseCount": 28,
    "recordHandle": 207,
    "PDRHeaderVersion": 1,
    "PDRType": "State Sensor PDR",
    "recordChangeNumber": 0,
    "dataLength": 18,
    "PLDMTerminusHandle": 1,
    "sensorID": 2,
    "entityType": "[Physical] External Environment",
    "entityInstanceNumber": 0,
    "containerID": 1,
    "sensorInit": "noInit",
    "sensorAuxiliaryNamesPDR": false,
    "compositeSensorCount": 1,
    "stateSetID[0]": "Health State(1)",
    "possibleStatesSize[0]": 2,
    "possibleStates[0]": [
        "Normal(1)",
        "Upper Fatal(9)"
    ]
}
4. Effecter PDR
{
    "nextRecordHandle": 142,
    "responseCount": 29,
    "recordHandle": 141,
    "PDRHeaderVersion": 1,
    "PDRType": "State Effecter PDR",
    "recordChangeNumber": 0,
    "dataLength": 19,
    "PLDMTerminusHandle": 1,
    "effecterID": 53,
    "entityType": "[Physical] Fan",
    "entityInstanceNumber": 1,
    "containerID": 3,
    "effecterSemanticID": 0,
    "effecterInit": "noInit",
    "effecterDescriptionPDR": false,
    "compositeEffecterCount": 1,
    "stateSetID[0]": "Identify State(17)",
    "possibleStatesSize[0]": 1,
    "possibleStates[0]": [
        "Identify State Unasserted(1)",
        "Identify State Asserted(2)"
    ]
}

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I68d1c5c121b9389cc9b89dde9f1a8d8679b068f1
diff --git a/meson_options.txt b/meson_options.txt
index 5462403..a535fee 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -20,3 +20,8 @@
 option('response-time-out', type: 'integer', min: 300, max: 4800, description: 'The amount of time a requester has to wait for a response message in milliseconds', value: 2000)
 
 option('heartbeat-timeout-seconds', type: 'integer', description: ' The amount of time host waits for BMC to respond to pings from host, as part of host-bmc surveillance', value: 120)
+
+# PLDM Terminus options
+option('terminus-id', type:'integer', min:0, max: 255, description: 'The terminus id value of the device that is running this pldm stack', value:1)
+option('terminus-handle',type:'integer',min:0, max:65535, description: 'The terminus handle value of the device that is running this pldm stack', value:1)
+