OID Conversion Method
This is an example of how to manually convert a property OID in decimal format into a constructed TLV command data.
ConfigType is the first number (node 6) to the left of the OID.
[2] . 1 . 2 . 2 . 2 . 1
node(6) node(1)
To construct the remaining nodes, logical OR as follows.
OR node 1 with C0
OR nodes 2 - 5 with E0
Result:
1 . 2 . 2 . 2 . 1
OR E0 E0 E0 E0 C0
= E1 E2 E2 E2 C1
Add Lengths to each node to include all lower nodes and data.
The fully Constructed TLV command data:
Use the configType and command data for the SDK APIs.
Example Get: Device Model Name