----------------------------------------------------------------------------- Get the node role as a string as reported in the Z-Wave+ Info report. -----------------------------------------------------------------------------
| 5142 | // Get the node role as a string as reported in the Z-Wave+ Info report. |
| 5143 | //----------------------------------------------------------------------------- |
| 5144 | string Driver::GetNodeRoleString |
| 5145 | ( |
| 5146 | uint8 const _nodeId |
| 5147 | ) |
| 5148 | { |
| 5149 | LockGuard LG(m_nodeMutex); |
| 5150 | if( Node* node = GetNode( _nodeId ) ) |
| 5151 | { |
| 5152 | return node->GetRoleTypeString(); |
| 5153 | } |
| 5154 | |
| 5155 | return ""; // unknown |
| 5156 | } |
| 5157 | |
| 5158 | //----------------------------------------------------------------------------- |
| 5159 | // <Driver::GetNodePlusType> |
nothing calls this directly
no test coverage detected