| Sora Su | e482087 | 2025-07-10 18:51:40 +0800 | [diff] [blame^] | 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 | */ |
| 14 | eid mapTIDtoEID(const pldm_tid_t& tid) |
| 15 | { |
| 16 | eid EID = static_cast<eid>(tid); |
| 17 | return EID; |
| 18 | } |
| 19 | |
| 20 | } // namespace |
| 21 | |
| 22 | bool checkMetaIana(const pldm_tid_t& tid) |
| 23 | { |
| 24 | [[maybe_unused]] const eid& EID = mapTIDtoEID(tid); |
| 25 | return true; |
| 26 | } |
| 27 | |
| 28 | std::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 |