MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / protocolIndex

Method protocolIndex

app/src/IO/Drivers/Modbus.cpp:507–510  ·  view source on GitHub ↗

* @brief Returns the current protocol index (0 = RTU, 1 = TCP) */

Source from the content-addressed store, hash-verified

505 * @brief Returns the current protocol index (0 = RTU, 1 = TCP)
506 */
507quint8 IO::Drivers::Modbus::protocolIndex() const
508{
509 return m_protocolIndex;
510}
511
512/**
513 * @brief Returns the current slave address

Callers 2

getConfigurationMethod · 0.80
getProtocolListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected