MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / GetNodeMaxBaudRate

Method GetNodeMaxBaudRate

cpp/src/Driver.cpp:4785–4798  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the maximum baud rate of a node's communications -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4783// Get the maximum baud rate of a node's communications
4784//-----------------------------------------------------------------------------
4785uint32 Driver::GetNodeMaxBaudRate
4786(
4787 uint8 const _nodeId
4788)
4789{
4790 uint32 baud = 0;
4791 LockGuard LG(m_nodeMutex);
4792 if( Node* node = GetNode( _nodeId ) )
4793 {
4794 baud = node->GetMaxBaudRate();
4795 }
4796
4797 return baud;
4798}
4799
4800//-----------------------------------------------------------------------------
4801// <Driver::GetNodeVersion>

Callers

nothing calls this directly

Calls 1

GetMaxBaudRateMethod · 0.80

Tested by

no test coverage detected