----------------------------------------------------------------------------- Get the product Id value with the specified ID -----------------------------------------------------------------------------
| 1461 | // Get the product Id value with the specified ID |
| 1462 | //----------------------------------------------------------------------------- |
| 1463 | string Manager::GetNodeProductId |
| 1464 | ( |
| 1465 | uint32 const _homeId, |
| 1466 | uint8 const _nodeId |
| 1467 | ) |
| 1468 | { |
| 1469 | if( Driver* driver = GetDriver( _homeId ) ) |
| 1470 | { |
| 1471 | uint16 mid = driver->GetNodeProductId( _nodeId ); |
| 1472 | std::stringstream ss; |
| 1473 | ss << "0x" << std::hex << std::setw(4) << std::setfill('0') << mid; |
| 1474 | return ss.str(); |
| 1475 | } |
| 1476 | |
| 1477 | return "Unknown"; |
| 1478 | } |
| 1479 | |
| 1480 | //----------------------------------------------------------------------------- |
| 1481 | // <Manager::SetNodeOn> |
nothing calls this directly
no outgoing calls
no test coverage detected