try {
response = callback.getResponse();
if (!response.equals("")) {
- logger.debug("Altona protocol violation - didn't start with an inital empty response: '{}'", response);
+ logger.debug("Atlona protocol violation - didn't start with an inital empty response: '{}'", response);
}
} catch (Exception e) {
// ignore - may not having given us an initial ""
// we can tell which by the response to the invalid command
session.sendCommand(NOTVALID_USER_OR_CMD);
- // Command failed - Altona not configured with IPLogin - return success
+ // Command failed - Atlona not configured with IPLogin - return success
response = callback.getResponse();
if (response.startsWith(RSP_FAILED)) {
- logger.debug("Altona didn't require a login");
+ logger.debug("Atlona didn't require a login");
postLogin();
return null;
}
// We should have been presented with a new "\r\nLogin: "
response = callback.getResponse();
if (!response.equals("")) {
- logger.debug("Altona protocol violation - didn't start with an inital empty response: '{}'", response);
+ logger.debug("Atlona protocol violation - didn't start with an inital empty response: '{}'", response);
}
// Get the new "Login: " prompt response
// Send the username and wait for a ": " response
session.sendCommand(config.getUserName());
} else {
- return "Altona protocol violation - wasn't initially a command failure or login prompt: " + response;
+ return "Atlona protocol violation - wasn't initially a command failure or login prompt: " + response;
}
// We should have gotten the password response
if (response.equals(RSP_LOGIN)) {
return "Username " + config.getUserName() + " is not a valid user on the atlona";
}
- return "Altona protocol violation - invalid response to a login: " + response;
+ return "Atlona protocol violation - invalid response to a login: " + response;
}
// Make sure we have a password
// First make sure we had an empty response (the "\r\n" part)
if (!response.equals("")) {
- logger.debug("Altona protocol violation - not an empty response after password: '{}'", response);
+ logger.debug("Atlona protocol violation - not an empty response after password: '{}'", response);
}
// Now send an invalid command
try {
response = callback.getResponse();
if (!response.equals("")) {
- logger.debug("Altona protocol violation - didn't start with an inital empty response: '{}'", response);
+ logger.debug("Atlona protocol violation - didn't start with an inital empty response: '{}'", response);
}
} catch (Exception e) {
// ignore - may not having given us an initial ""
response = callback.getResponse();
if (response.startsWith(RSP_WELCOME)) {
- logger.debug("Altona AT-PRO3HD66M didn't require a login");
+ logger.debug("Atlona AT-PRO3HD66M didn't require a login");
postLogin();
return null;
} else {
if (!response.startsWith(RSP_LOGIN_PLEASE)) {
- logger.debug("Altona protocol violation - didn't start with login prompt '{}'", response);
+ logger.debug("Atlona protocol violation - didn't start with login prompt '{}'", response);
}
// Since we were not logged in automatically, a user name is required from the configuration
if (config.getUserName() == null || config.getUserName().trim().length() == 0) {
// Check for an empty response after the login prompt (the "\r\n" part)
response = callback.getResponse();
if (!response.equals("")) {
- logger.debug("Altona protocol violation - not an empty response after password: '{}'", response);
+ logger.debug("Atlona protocol violation - not an empty response after password: '{}'", response);
}
// Send the username and wait for a ": " response
// We should have gotten the username response
response = callback.getResponse();
if (!response.startsWith(RSP_USERNAME)) {
- logger.debug("Altona protocol violation - invalid response to username: '{}'", response);
+ logger.debug("Atlona protocol violation - invalid response to username: '{}'", response);
}
// Send the password
# thing types config
-thing-type.config.altona.hdmimatrix.ipAddress.label = IP or Host Name
-thing-type.config.altona.hdmimatrix.ipAddress.description = IP or Host name of Atlona Matrix Switch
-thing-type.config.altona.hdmimatrix.password.label = Password
-thing-type.config.altona.hdmimatrix.password.description = Password to login with if Telnet Login is on
-thing-type.config.altona.hdmimatrix.ping.label = Ping Interval
-thing-type.config.altona.hdmimatrix.ping.description = Ping Interval (in seconds) to keep the connection alive
-thing-type.config.altona.hdmimatrix.polling.label = Polling Interval
-thing-type.config.altona.hdmimatrix.polling.description = Interval (in seconds) to poll the actual state of the Matrix
-thing-type.config.altona.hdmimatrix.retryPolling.label = Polling Interval to Try to Reconnect
-thing-type.config.altona.hdmimatrix.retryPolling.description = Interval (in seconds) to try to (re)connect to the Matrix
-thing-type.config.altona.hdmimatrix.userName.label = User Name
-thing-type.config.altona.hdmimatrix.userName.description = User Name to login with if Telnet Login is on
+thing-type.config.atlona.hdmimatrix.ipAddress.label = IP or Host Name
+thing-type.config.atlona.hdmimatrix.ipAddress.description = IP or Host name of Atlona Matrix Switch
+thing-type.config.atlona.hdmimatrix.password.label = Password
+thing-type.config.atlona.hdmimatrix.password.description = Password to login with if Telnet Login is on
+thing-type.config.atlona.hdmimatrix.ping.label = Ping Interval
+thing-type.config.atlona.hdmimatrix.ping.description = Ping Interval (in seconds) to keep the connection alive
+thing-type.config.atlona.hdmimatrix.polling.label = Polling Interval
+thing-type.config.atlona.hdmimatrix.polling.description = Interval (in seconds) to poll the actual state of the Matrix
+thing-type.config.atlona.hdmimatrix.retryPolling.label = Polling Interval to Try to Reconnect
+thing-type.config.atlona.hdmimatrix.retryPolling.description = Interval (in seconds) to try to (re)connect to the Matrix
+thing-type.config.atlona.hdmimatrix.userName.label = User Name
+thing-type.config.atlona.hdmimatrix.userName.description = User Name to login with if Telnet Login is on
# channel group types