You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.log.debug("Retrying connection to Roomba with cipher %s",ROBOT_CIPHERS[this.currentCipherIndex]);
@@ -880,3 +880,15 @@ function millisToString(millis: number): string {
880
880
return`${Math.round((millis/60_000)*10)/10}m`;
881
881
}
882
882
}
883
+
884
+
functionshouldTryDifferentCipher(error: Error){
885
+
/* Explicit TLS errors definitely suggest a different cipher should be used */
886
+
if(error.message.indexOf("TLS")!==-1){
887
+
returntrue;
888
+
}
889
+
/* We have seen this error connecting to an i1+ https://github.com/homebridge-plugins/homebridge-roomba2/issues/129#issuecomment-1520733025 */
0 commit comments