Add to read model number from VPD
1. Read model number from VPD and set to DBus property
2. Since the original I2C read fucntion (Smbus block read)
can't read from VPD, change the read function to I2C
Master write/read for all read actions
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I13a52469ec6db68a4209d4a8092113c44173aaac
diff --git a/nvme_manager.hpp b/nvme_manager.hpp
index b454ed3..7017475 100644
--- a/nvme_manager.hpp
+++ b/nvme_manager.hpp
@@ -72,6 +72,7 @@
bool present; /* Whether or not the nvme is present */
std::string vendor; /* The nvme manufacturer */
std::string serialNumber; /* The nvme serial number */
+ std::string modelNumber; /* The nvme model number */
std::string smartWarnings; /* Indicates smart warnings for the state */
std::string statusFlags; /* Indicates the status of the drives */
std::string