Bi-monthly release with minor bug fixes and improvements
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
bool LX200Gemini::sleepMount()
{
const char *cmd = ":hN#";
// Response
int rc = 0, nbytes_written = 0;
LOGF_DEBUG("CMD: <%s>", cmd);
tcflush(PortFD, TCIOFLUSH);
if ((rc = tty_write(PortFD, cmd, 5, &nbytes_written)) != TTY_OK)
{
char errmsg[256];
tty_error_msg(rc, errmsg, 256);
LOGF_ERROR("Error writing to device %s (%d)", errmsg, rc);
return false;
}
tcflush(PortFD, TCIOFLUSH);
m_isSleeping = true;
LOG_INFO("Mount is sleeping...");
return true;
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.