| 663 | } |
| 664 | |
| 665 | void LuxController::connected_cb(LuxControlConnection& _conn) |
| 666 | { |
| 667 | reconnect_timeout = RECONNECT_TIMEOUT_START; |
| 668 | // First send a PROTOCOLINFO command to figure out what authentication is expected |
| 669 | if (!_conn.Command("PROTOCOLINFO 1", boost::bind(&LuxController::protocolinfo_cb, this, _1, _2))) |
| 670 | LogPrintf("lux: Error sending initial protocolinfo command\n"); |
| 671 | } |
| 672 | |
| 673 | void LuxController::disconnected_cb(LuxControlConnection& _conn) |
| 674 | { |