We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0b8f3b commit 985c92fCopy full SHA for 985c92f
kernel/src/services/DeviceService.ts
@@ -124,6 +124,7 @@ export class DeviceService {
124
}
125
126
async sendCommand(code: string): Promise<boolean> {
127
+ console.log('Before reconnect check');
128
if (code.includes(reconnectString)) {
129
// Reconnect the device or connect for the first time
130
console.log('Reconnect command detected, reconnecting device...');
@@ -132,6 +133,7 @@ export class DeviceService {
132
133
await this.connect();
134
console.log('Device connected');
135
136
+ console.log('After reconnect check');
137
138
if (!this.transport || !this.transport.device.writable) {
139
return false;
0 commit comments