----------------------------------------------------------------------------- Send a NIF frame from the Controller to the Node -----------------------------------------------------------------------------
| 4445 | // Send a NIF frame from the Controller to the Node |
| 4446 | //----------------------------------------------------------------------------- |
| 4447 | bool Manager::CreateButton |
| 4448 | ( |
| 4449 | uint32 const _homeId, |
| 4450 | uint8 const _nodeId, |
| 4451 | uint8 const _buttonid |
| 4452 | ) |
| 4453 | { |
| 4454 | if (Driver *driver = GetDriver( _homeId ) ) { |
| 4455 | LockGuard LG(driver->m_nodeMutex); |
| 4456 | return driver->BeginControllerCommand( |
| 4457 | Driver::ControllerCommand_CreateButton, |
| 4458 | NULL, NULL, true, _nodeId, _buttonid); |
| 4459 | } |
| 4460 | return false; |
| 4461 | } |
| 4462 | |
| 4463 | //----------------------------------------------------------------------------- |
| 4464 | // <Manager::DeleteButton> |
nothing calls this directly
no test coverage detected