Add support for byte array as a property type
It is useful for the PIM to hold byte array type properties.
In some cases, data to write to the d-bus is of array of bytes type.
One of that case is vpd data where D-bus method "Notify" gets called
to write it down.
Change-Id: I1cdd3479197b16c86d3976a70636877713cf33ad
Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
diff --git a/types.hpp b/types.hpp
index 1526ce9..bd43bdf 100644
--- a/types.hpp
+++ b/types.hpp
@@ -29,7 +29,8 @@
/** @brief Inventory manager supported property types. */
using InterfaceVariantType =
- sdbusplus::message::variant_ns::variant<bool, int64_t, std::string>;
+ sdbusplus::message::variant_ns::variant<bool, int64_t, std::string,
+ std::vector<uint8_t>>;
template <typename T>
using InterfaceType = std::map<std::string, T>;