-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't workingtask/verifyBug or feature is ready to be tested and verifiedBug or feature is ready to be tested and verified
Milestone
Description
If you do not have a connection to a device when using the non-ws client, it will simulate the terminal and inform you that no devices are connected. When using the websocket client, it thinks that "No devices" is a device, and tries to connect with it, which then causes a bunch of communication errors.
We can use getComPort() in the callback for the terminal to verify a connection, but getComPort() is slow because it's looking for the selected option in the menu instead of just getting the menu's value:
// current (slow)
var getComPort = function () {
return $('#comPort').find(":selected").text();
};
// should be (faster)
var getComPort = function () {
return $('#comPort').val();
};
We should then replace text like "Searching..." and "No devices detected." with string constants because we'll have to test for them.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtask/verifyBug or feature is ready to be tested and verifiedBug or feature is ready to be tested and verified
