1 #include "utils.hpp" 2 3 #include "common/types.hpp" 4 5 namespace pldm::oem_meta 6 { 7 8 namespace 9 { 10 11 /* @brief map PLDM TID to MCTP EID; currently, they have a one-to-one 12 * correspondence 13 */ mapTIDtoEID(const pldm_tid_t & tid)14eid mapTIDtoEID(const pldm_tid_t& tid) 15 { 16 eid EID = static_cast<eid>(tid); 17 return EID; 18 } 19 20 } // namespace 21 checkMetaIana(const pldm_tid_t & tid)22bool checkMetaIana(const pldm_tid_t& tid) 23 { 24 [[maybe_unused]] const eid& EID = mapTIDtoEID(tid); 25 return true; 26 } 27 getSlotNumberStringByTID(const pldm_tid_t & tid)28std::string getSlotNumberStringByTID(const pldm_tid_t& tid) 29 { 30 [[maybe_unused]] const eid& EID = mapTIDtoEID(tid); 31 return std::string{"0"}; 32 } 33 34 } // namespace pldm::oem_meta 35