----------------------------------------------------------------------------- Get the node role as reported in the Z-Wave+ Info report. -----------------------------------------------------------------------------
| 5124 | // Get the node role as reported in the Z-Wave+ Info report. |
| 5125 | //----------------------------------------------------------------------------- |
| 5126 | uint8 Driver::GetNodeRole |
| 5127 | ( |
| 5128 | uint8 const _nodeId |
| 5129 | ) |
| 5130 | { |
| 5131 | LockGuard LG(m_nodeMutex); |
| 5132 | if( Node* node = GetNode( _nodeId ) ) |
| 5133 | { |
| 5134 | return node->GetRoleType(); |
| 5135 | } |
| 5136 | |
| 5137 | return 0x00; // unknown |
| 5138 | } |
| 5139 | |
| 5140 | //----------------------------------------------------------------------------- |
| 5141 | // <Driver::GetNodeRoleString> |
nothing calls this directly
no test coverage detected