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

Method SendSlaveLearnModeOff

cpp/src/Driver.cpp:6437–6448  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Disable Slave Learn Mode. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6435// Disable Slave Learn Mode.
6436//-----------------------------------------------------------------------------
6437void Driver::SendSlaveLearnModeOff
6438(
6439)
6440{
6441 if( !( IsPrimaryController() || IsInclusionController() ) )
6442 {
6443 Msg* msg = new Msg( "Set Slave Learn Mode Off ", 0xff, REQUEST, FUNC_ID_ZW_SET_SLAVE_LEARN_MODE, true );
6444 msg->Append( 0 ); // filler node id
6445 msg->Append( SLAVE_LEARN_MODE_DISABLE );
6446 SendMsg( msg, MsgQueue_Command );
6447 }
6448}
6449
6450//-----------------------------------------------------------------------------
6451// <Driver::SaveButtons>

Callers

nothing calls this directly

Calls 3

IsPrimaryControllerFunction · 0.85
IsInclusionControllerFunction · 0.85
AppendMethod · 0.45

Tested by

no test coverage detected