-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version up 1.9.56 #752
version up 1.9.56 #752
Conversation
telliot_lite.js 추가
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
eslint
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 41 in 414b900
SETTING_VOICE_CMD: 0x0200, |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 43 in 414b900
// Genernal Request |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 44 in 414b900
GET_STATUS: 0xFFFE, |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 46 in 414b900
// PING Request |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 47 in 414b900
TELLIOT_PING: 0xFFFF, |
Missing semicolon.
entry-hw/app/modules/Telliot_Base.js
Lines 48 to 49 in 414b900
} | |
Missing semicolon.
entry-hw/app/modules/Telliot_Base.js
Lines 50 to 51 in 414b900
const TELLIOT_PACKET_HEADER = 0xAA55 | |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 53 in 414b900
constructor () { |
Unexpected space before function parentheses.
entry-hw/app/modules/Telliot_Base.js
Line 53 in 414b900
constructor () { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 54 in 414b900
super(); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 55 in 414b900
this.sp = null; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 56 in 414b900
this._sendBuffers = []; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 57 in 414b900
this._receiveBuffer = []; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 58 in 414b900
this._pingpacket = []; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 59 in 414b900
this._stt_data = []; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 60 in 414b900
this._deviceid = 0x0000; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 61 in 414b900
this._loglevel = Loglevel.DEBUG; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 62 in 414b900
this._isConnected = false; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 63 in 414b900
this._sendEntry = false; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 65 in 414b900
this.state = { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 66 in 414b900
sensors: [], |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 67 in 414b900
rfid: [] |
Missing trailing comma.
entry-hw/app/modules/Telliot_Base.js
Lines 67 to 68 in 414b900
rfid: [] | |
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 68 in 414b900
} |
Missing semicolon.
entry-hw/app/modules/Telliot_Base.js
Lines 68 to 69 in 414b900
} | |
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 69 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 73 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Initialize'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 74 in 414b900
this._lasttime = Date.now(); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 79 in 414b900
this._writeDebug(Loglevel.DEBUG, 'setSerialPort'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 85 in 414b900
this._writeDebug(Loglevel.DEBUG, 'requestInitialData Telliot Base'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 87 in 414b900
this._make_telliot_ping_packet(); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 89 in 414b900
return this._pingpacket; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 95 in 414b900
this._writeDebug(Loglevel.DEBUG, 'checkInitialData Telliot Base'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 107 in 414b900
if (this._sendEntry) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 108 in 414b900
this._writeDebug(Loglevel.DEBUG, 'requestRemoteData(send to browser)'); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 109 in 414b900
handler.write("state", {sensors: this.state.sensors, rfid: this.state.rfid}); |
Strings must use singlequote.
entry-hw/app/modules/Telliot_Base.js
Line 109 in 414b900
handler.write("state", {sensors: this.state.sensors, rfid: this.state.rfid}); |
A space is required after '{'.
entry-hw/app/modules/Telliot_Base.js
Line 109 in 414b900
handler.write("state", {sensors: this.state.sensors, rfid: this.state.rfid}); |
A space is required before '}'.
entry-hw/app/modules/Telliot_Base.js
Line 109 in 414b900
handler.write("state", {sensors: this.state.sensors, rfid: this.state.rfid}); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 110 in 414b900
this._sendEntry = false; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 111 in 414b900
} else { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 112 in 414b900
handler.write("state", {sensors: [], rfid: []}); |
Strings must use singlequote.
entry-hw/app/modules/Telliot_Base.js
Line 112 in 414b900
handler.write("state", {sensors: [], rfid: []}); |
A space is required after '{'.
entry-hw/app/modules/Telliot_Base.js
Line 112 in 414b900
handler.write("state", {sensors: [], rfid: []}); |
A space is required before '}'.
entry-hw/app/modules/Telliot_Base.js
Line 112 in 414b900
handler.write("state", {sensors: [], rfid: []}); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 113 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 114 in 414b900
//if (this._stt_data.length > 0) { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 115 in 414b900
// handler.write('telliot_talk', this._stt_data); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 116 in 414b900
// this._stt_data = []; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 117 in 414b900
//} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 123 in 414b900
const keys = Object.keys(handler.serverData); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 125 in 414b900
if (keys.length == 0) |
Expected { after 'if' condition.
entry-hw/app/modules/Telliot_Base.js
Line 125 in 414b900
if (keys.length == 0) |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 126 in 414b900
return; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 128 in 414b900
this._writeDebug(Loglevel.DEBUG, 'handleRemoteData : ' + keys); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 128 in 414b900
this._writeDebug(Loglevel.DEBUG, 'handleRemoteData : ' + keys); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 130 in 414b900
keys.forEach(key => this._processRequestData(key, handler.read(key))); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 136 in 414b900
if (this.sp === null) |
Expected { after 'if' condition.
entry-hw/app/modules/Telliot_Base.js
Line 136 in 414b900
if (this.sp === null) |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 137 in 414b900
return null; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 139 in 414b900
if (this._pingpacket.length === 0) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 140 in 414b900
this._make_telliot_ping_packet(); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 141 in 414b900
} |
This line has a length of 121. Maximum allowed is 120.
entry-hw/app/modules/Telliot_Base.js
Line 143 in 414b900
//this._writeDebug(Loglevel.DEBUG, 'requestLocalData : Send Ping Data (size = ' + this._pingpacket.length + ')'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 143 in 414b900
//this._writeDebug(Loglevel.DEBUG, 'requestLocalData : Send Ping Data (size = ' + this._pingpacket.length + ')'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 145 in 414b900
this.sp.write(this._pingpacket); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 147 in 414b900
return null; |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 150 in 414b900
// ����̽����� �� ������ ó���ϴ� ����. ���⼭�� ó���� �����Ͱ� ���� ��ŵ�Ͽ���. |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 152 in 414b900
//this._writeDebug(Loglevel.DEBUG, 'handleLocalData (from device)'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 153 in 414b900
this.state.sensors = [] |
Missing semicolon.
entry-hw/app/modules/Telliot_Base.js
Lines 153 to 154 in 414b900
this.state.sensors = [] | |
this.state.rfid = [] |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 154 in 414b900
this.state.rfid = [] |
Missing semicolon.
entry-hw/app/modules/Telliot_Base.js
Lines 154 to 155 in 414b900
this.state.rfid = [] | |
this._processReveivedData(data); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 155 in 414b900
this._processReveivedData(data); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 156 in 414b900
//this._receiveBuffer.push(...data); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 158 in 414b900
//while(this._receiveBuffer.length > 0) { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 159 in 414b900
// let length = this._receiveBuffer.length; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 160 in 414b900
// this._processReveivedData(this._receiveBuffer); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 162 in 414b900
// if (length == this._receiveBuffer.length) |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 163 in 414b900
// this._receiveBuffer.splice(0, 1); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 164 in 414b900
//} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 169 in 414b900
this._writeDebug(Loglevel.DEBUG, 'disconnect Telliot Base'); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 173 in 414b900
this.sp = null; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 179 in 414b900
this._writeDebug(Loglevel.DEBUG, 'reset'); |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 182 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 189 in 414b900
_checkLogLevel(level) |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 190 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 190 in 414b900
{ |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 191 in 414b900
if (level > this._loglevel) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 192 in 414b900
return false; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 193 in 414b900
} else { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 194 in 414b900
return true; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 195 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 196 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 198 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 205 in 414b900
_writeDebug(level, message) |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 206 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 206 in 414b900
{ |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 207 in 414b900
if (this._checkLogLevel(level) == true) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 208 in 414b900
console.log('[', level, '] : ', message); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 209 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 210 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 212 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 219 in 414b900
_writeArrayData(level, buffer, iscommand) { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 220 in 414b900
if (this._checkLogLevel(level) == true) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 221 in 414b900
var messages = Array.from(buffer, function (byte) { |
Unexpected var, use let or const instead.
entry-hw/app/modules/Telliot_Base.js
Lines 221 to 223 in 414b900
var messages = Array.from(buffer, function (byte) { | |
return ('0' + (byte & 0xff).toString(16)).slice(-2); | |
}).join(' '); |
Unexpected function expression.
entry-hw/app/modules/Telliot_Base.js
Lines 221 to 223 in 414b900
var messages = Array.from(buffer, function (byte) { | |
return ('0' + (byte & 0xff).toString(16)).slice(-2); | |
}).join(' '); |
Unexpected space before function parentheses.
entry-hw/app/modules/Telliot_Base.js
Line 221 in 414b900
var messages = Array.from(buffer, function (byte) { |
Expected indentation of 16 spaces but found 9 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 222 in 414b900
return ('0' + (byte & 0xff).toString(16)).slice(-2); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 222 in 414b900
return ('0' + (byte & 0xff).toString(16)).slice(-2); |
Expected indentation of 12 spaces but found 8 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 223 in 414b900
}).join(' '); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 224 in 414b900
if (iscommand) |
Expected { after 'if' condition.
entry-hw/app/modules/Telliot_Base.js
Line 224 in 414b900
if (iscommand) |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 225 in 414b900
console.log(' [ command ] : ' + messages); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 225 in 414b900
console.log(' [ command ] : ' + messages); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 226 in 414b900
else |
Expected { after 'else'.
entry-hw/app/modules/Telliot_Base.js
Line 226 in 414b900
else |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 227 in 414b900
console.log(' [ event ] : ' + messages); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 227 in 414b900
console.log(' [ event ] : ' + messages); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 228 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 229 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 231 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 238 in 414b900
_isTelliotPacket(data) |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 239 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 239 in 414b900
{ |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 240 in 414b900
if(data[0] == 0xAA && data[1] == 0x55) |
Expected { after 'if' condition.
entry-hw/app/modules/Telliot_Base.js
Line 240 in 414b900
if(data[0] == 0xAA && data[1] == 0x55) |
Expected space(s) after "if".
entry-hw/app/modules/Telliot_Base.js
Line 240 in 414b900
if(data[0] == 0xAA && data[1] == 0x55) |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 241 in 414b900
return true; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 242 in 414b900
else |
Expected { after 'else'.
entry-hw/app/modules/Telliot_Base.js
Line 242 in 414b900
else |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 243 in 414b900
return false; |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 244 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 246 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 255 in 414b900
_add_CRC_data(buffer) |
Identifier '_add_CRC_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 255 in 414b900
_add_CRC_data(buffer) |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 256 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 256 in 414b900
{ |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 257 in 414b900
const crcdata = [0x00, 0x00]; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 258 in 414b900
var crc = 0; |
Unexpected var, use let or const instead.
entry-hw/app/modules/Telliot_Base.js
Line 258 in 414b900
var crc = 0; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 259 in 414b900
const len = buffer.length; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 261 in 414b900
this._writeDebug(Loglevel.DEBUG, '_add_CRC_data : buffer length = ' + len); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 261 in 414b900
this._writeDebug(Loglevel.DEBUG, '_add_CRC_data : buffer length = ' + len); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 263 in 414b900
for (let index = 0; index < len; index++) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 264 in 414b900
crc += buffer[index]; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 265 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 267 in 414b900
crc += 1; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 269 in 414b900
this._writeDebug(Loglevel.DEBUG, '_add_CRC_data : CRC Data = ' + crc); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 269 in 414b900
this._writeDebug(Loglevel.DEBUG, '_add_CRC_data : CRC Data = ' + crc); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 271 in 414b900
crcdata[0] = crc; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 272 in 414b900
crcdata[1] = crc >> 8; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 274 in 414b900
buffer.push(...crcdata); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 276 in 414b900
return; |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 277 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 279 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 286 in 414b900
_request_telliot_command(cmd, param, param_length = 0) |
Identifier '_request_telliot_command' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 286 in 414b900
_request_telliot_command(cmd, param, param_length = 0) |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 287 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 287 in 414b900
{ |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 288 in 414b900
let len = 0; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 289 in 414b900
const buffer = []; //Buffer.alloc(8); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 291 in 414b900
len = param_length + 2; // length + CRC |
Identifier 'param_length' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 291 in 414b900
len = param_length + 2; // length + CRC |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 293 in 414b900
this._writeDebug(Loglevel.DEBUG, 'make_Command : CMD = ' + cmd); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 293 in 414b900
this._writeDebug(Loglevel.DEBUG, 'make_Command : CMD = ' + cmd); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 295 in 414b900
buffer.push(TELLIOT_PACKET_HEADER, TELLIOT_PACKET_HEADER >> 8); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 296 in 414b900
buffer.push(this._deviceid, this._deviceid >> 8); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 297 in 414b900
buffer.push(cmd, cmd >> 8); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 298 in 414b900
buffer.push(len, len >> 8); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 299 in 414b900
if (param_length > 0) { |
Identifier 'param_length' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 299 in 414b900
if (param_length > 0) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 300 in 414b900
this._writeDebug(Loglevel.DEBUG, 'make_Command : param length = ' + param_length); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 300 in 414b900
this._writeDebug(Loglevel.DEBUG, 'make_Command : param length = ' + param_length); |
Identifier 'param_length' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 300 in 414b900
this._writeDebug(Loglevel.DEBUG, 'make_Command : param length = ' + param_length); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 301 in 414b900
buffer.push(...param); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 302 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 304 in 414b900
this._sendBuffers.length = 0; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 305 in 414b900
this._sendBuffers.push(...buffer); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 307 in 414b900
this._add_CRC_data(this._sendBuffers); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 309 in 414b900
this.sp.write(this._sendBuffers); |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 310 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 312 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 319 in 414b900
_make_telliot_ping_packet() |
Identifier '_make_telliot_ping_packet' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 319 in 414b900
_make_telliot_ping_packet() |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 320 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 320 in 414b900
{ |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 321 in 414b900
let len = 0; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 322 in 414b900
const buffer = Buffer.alloc(8); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 324 in 414b900
len = 2; // CRC |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 326 in 414b900
buffer[0] = TELLIOT_PACKET_HEADER; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 327 in 414b900
buffer[1] = TELLIOT_PACKET_HEADER >> 8; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 328 in 414b900
buffer[2] = this._deviceid; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 329 in 414b900
buffer[3] = this._deviceid >> 8; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 330 in 414b900
buffer[4] = Instruction.TELLIOT_PING; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 331 in 414b900
buffer[5] = Instruction.TELLIOT_PING >> 8; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 332 in 414b900
buffer[6] = len; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 333 in 414b900
buffer[7] = len >> 8; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 335 in 414b900
this._pingpacket.length = 0; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 336 in 414b900
this._pingpacket.push(...buffer); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 338 in 414b900
this._add_CRC_data(this._pingpacket); |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 339 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 341 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 348 in 414b900
_processReveivedData (data) { |
Unexpected space before function parentheses.
entry-hw/app/modules/Telliot_Base.js
Line 348 in 414b900
_processReveivedData (data) { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 349 in 414b900
var received_data = data.slice(); |
Unexpected var, use let or const instead.
entry-hw/app/modules/Telliot_Base.js
Line 349 in 414b900
var received_data = data.slice(); |
Identifier 'received_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 349 in 414b900
var received_data = data.slice(); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 351 in 414b900
if (this._isTelliotPacket(received_data) === true) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 352 in 414b900
let telliot_event = received_data[4] | received_data[5] << 8; |
Identifier 'telliot_event' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 352 in 414b900
let telliot_event = received_data[4] | received_data[5] << 8; |
'telliot_event' is never reassigned. Use 'const' instead.
entry-hw/app/modules/Telliot_Base.js
Line 352 in 414b900
let telliot_event = received_data[4] | received_data[5] << 8; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 353 in 414b900
let len = received_data[6] | received_data[7] << 8; |
'len' is never reassigned. Use 'const' instead.
entry-hw/app/modules/Telliot_Base.js
Line 353 in 414b900
let len = received_data[6] | received_data[7] << 8; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 355 in 414b900
if (telliot_event != 0xFFFF) { |
Identifier 'telliot_event' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 355 in 414b900
if (telliot_event != 0xFFFF) { |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 356 in 414b900
this._writeArrayData(Loglevel.DEBUG, received_data, false); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 357 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Event : ' + telliot_event + ' len : ' + len); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 357 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Event : ' + telliot_event + ' len : ' + len); |
Identifier 'telliot_event' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 357 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Event : ' + telliot_event + ' len : ' + len); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 358 in 414b900
} |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 360 in 414b900
switch (telliot_event) |
Identifier 'telliot_event' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 360 in 414b900
switch (telliot_event) |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 361 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 361 in 414b900
{ |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 362 in 414b900
case TelliotEvent.EVENT_CMD_STATUS : |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 363 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Received the EVENT_CMD_STATUS'); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 364 in 414b900
break; |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 365 in 414b900
case TelliotEvent.EVENT_CMD_VOICE_TO_TEXT : |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 366 in 414b900
this._stt_data = []; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 367 in 414b900
this._stt_data.push(data.slice(8, len - 2)); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 368 in 414b900
break; |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 369 in 414b900
case TelliotEvent.EVENT_CMD_SENSOR_DETECTED : |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 370 in 414b900
let sensor_data = received_data[8] | received_data[9] << 8; |
Unexpected lexical declaration in case block.
entry-hw/app/modules/Telliot_Base.js
Line 370 in 414b900
let sensor_data = received_data[8] | received_data[9] << 8; |
Identifier 'sensor_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 370 in 414b900
let sensor_data = received_data[8] | received_data[9] << 8; |
'sensor_data' is never reassigned. Use 'const' instead.
entry-hw/app/modules/Telliot_Base.js
Line 370 in 414b900
let sensor_data = received_data[8] | received_data[9] << 8; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 371 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Received the EVENT_CMD_SENSOR_DETECTED'); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 373 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Sensor Data : ' + sensor_data); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 373 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Sensor Data : ' + sensor_data); |
Identifier 'sensor_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 373 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Sensor Data : ' + sensor_data); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 374 in 414b900
this.state.sensors = sensor_data; |
Identifier 'sensor_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 374 in 414b900
this.state.sensors = sensor_data; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 375 in 414b900
this._sendEntry = true; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 376 in 414b900
break; |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 377 in 414b900
case TelliotEvent.EVENT_CMD_RFID_TAG_DETECTED : |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 378 in 414b900
let tag_id = received_data[8] | received_data[9] << 8; |
Unexpected lexical declaration in case block.
entry-hw/app/modules/Telliot_Base.js
Line 378 in 414b900
let tag_id = received_data[8] | received_data[9] << 8; |
Identifier 'tag_id' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 378 in 414b900
let tag_id = received_data[8] | received_data[9] << 8; |
'tag_id' is never reassigned. Use 'const' instead.
entry-hw/app/modules/Telliot_Base.js
Line 378 in 414b900
let tag_id = received_data[8] | received_data[9] << 8; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 379 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Received the EVENT_CMD_RFID_TAG_DETECTED'); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 381 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Tag ID : ' + tag_id); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 381 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Tag ID : ' + tag_id); |
Identifier 'tag_id' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 381 in 414b900
this._writeDebug(Loglevel.DEBUG, 'Tag ID : ' + tag_id); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 382 in 414b900
this.state.rfid[tag_id - 1] = 1; |
Identifier 'tag_id' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 382 in 414b900
this.state.rfid[tag_id - 1] = 1; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 383 in 414b900
this._sendEntry = true; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 384 in 414b900
break; |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 385 in 414b900
default : |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 386 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 387 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 388 in 414b900
} else { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 389 in 414b900
data.slice(0,1); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 390 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 391 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 393 in 414b900
_toUTF8Array(str) { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 394 in 414b900
let utf8 = []; |
'utf8' is never reassigned. Use 'const' instead.
entry-hw/app/modules/Telliot_Base.js
Line 394 in 414b900
let utf8 = []; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 395 in 414b900
for (let i = 0; i < str.length; i++) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 396 in 414b900
let charcode = str.charCodeAt(i); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 397 in 414b900
if (charcode < 0x80) utf8.push(charcode); |
Expected { after 'if' condition.
entry-hw/app/modules/Telliot_Base.js
Line 397 in 414b900
if (charcode < 0x80) utf8.push(charcode); |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 398 in 414b900
else if (charcode < 0x800) { |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 399 in 414b900
utf8.push(0xc0 | (charcode >> 6), |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 401 in 414b900
} |
Closing curly brace does not appear on the same line as the subsequent block.
entry-hw/app/modules/Telliot_Base.js
Line 401 in 414b900
} |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 402 in 414b900
else if (charcode < 0xd800 || charcode >= 0xe000) { |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 403 in 414b900
utf8.push(0xe0 | (charcode >> 12), |
Operator '>>' must be spaced.
entry-hw/app/modules/Telliot_Base.js
Line 404 in 414b900
0x80 | ((charcode>>6) & 0x3f), |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 406 in 414b900
} |
Closing curly brace does not appear on the same line as the subsequent block.
entry-hw/app/modules/Telliot_Base.js
Line 406 in 414b900
} |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 407 in 414b900
// surrogate pair |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 408 in 414b900
else { |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 409 in 414b900
i++; |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 410 in 414b900
// UTF-16 encodes 0x10000-0x10FFFF by |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 411 in 414b900
// subtracting 0x10000 and splitting the |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 412 in 414b900
// 20 bits of 0x0-0xFFFFF into two halves |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 413 in 414b900
charcode = 0x10000 + (((charcode & 0x3ff)<<10) |
Operator '<<' must be spaced.
entry-hw/app/modules/Telliot_Base.js
Line 413 in 414b900
charcode = 0x10000 + (((charcode & 0x3ff)<<10) |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 415 in 414b900
utf8.push(0xf0 | (charcode >>18), |
Operator '>>' must be spaced.
entry-hw/app/modules/Telliot_Base.js
Line 415 in 414b900
utf8.push(0xf0 | (charcode >>18), |
Operator '>>' must be spaced.
entry-hw/app/modules/Telliot_Base.js
Line 416 in 414b900
0x80 | ((charcode>>12) & 0x3f), |
Operator '>>' must be spaced.
entry-hw/app/modules/Telliot_Base.js
Line 417 in 414b900
0x80 | ((charcode>>6) & 0x3f), |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 419 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 420 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 421 in 414b900
return utf8; |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 422 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 424 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 431 in 414b900
_predefined_action(action_id, action_value) { |
Identifier '_predefined_action' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 431 in 414b900
_predefined_action(action_id, action_value) { |
Identifier 'action_id' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 431 in 414b900
_predefined_action(action_id, action_value) { |
Identifier 'action_value' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 431 in 414b900
_predefined_action(action_id, action_value) { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 432 in 414b900
var param = { action_id, action_value }; |
Unexpected var, use let or const instead.
entry-hw/app/modules/Telliot_Base.js
Line 432 in 414b900
var param = { action_id, action_value }; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 434 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + action_id + ' ' + action_value); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 434 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + action_id + ' ' + action_value); |
Identifier 'action_id' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 434 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + action_id + ' ' + action_value); |
Identifier 'action_value' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 434 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + action_id + ' ' + action_value); |
Expected indentation of 8 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 435 in 414b900
//this._request_telliot_command(Instruction.EXT_DEVICE_PRE_ACTION_CMD, param, param.length); |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 436 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 438 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 445 in 414b900
_processRequestData (command, data) { |
Unexpected space before function parentheses.
entry-hw/app/modules/Telliot_Base.js
Line 445 in 414b900
_processRequestData (command, data) { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 446 in 414b900
const keys = data ? Object.keys(data) : []; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 448 in 414b900
this._writeDebug(Loglevel.DEBUG, 'command : ' + command); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 448 in 414b900
this._writeDebug(Loglevel.DEBUG, 'command : ' + command); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 450 in 414b900
switch(command) { |
Expected space(s) after "switch".
entry-hw/app/modules/Telliot_Base.js
Line 450 in 414b900
switch(command) { |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 451 in 414b900
case 'req_voice_trigger_btn_pressed': |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 452 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 453 in 414b900
case 'req_voice_trigger_btn_released': |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 454 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 455 in 414b900
case 'req_voice_trigger_click' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 456 in 414b900
this._request_telliot_command(Instruction.VOICE_TRIGGER_CLICK_CMD, keys, keys.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 457 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 458 in 414b900
case 'req_stt': |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 459 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 460 in 414b900
case 'req_tts': |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 461 in 414b900
let str = unescape(data.toString()); |
Unexpected lexical declaration in case block.
entry-hw/app/modules/Telliot_Base.js
Line 461 in 414b900
let str = unescape(data.toString()); |
'str' is never reassigned. Use 'const' instead.
entry-hw/app/modules/Telliot_Base.js
Line 461 in 414b900
let str = unescape(data.toString()); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 462 in 414b900
var arr = this._toUTF8Array(str); |
Unexpected var, use let or const instead.
entry-hw/app/modules/Telliot_Base.js
Line 462 in 414b900
var arr = this._toUTF8Array(str); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 464 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + str); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 464 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + str); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 465 in 414b900
this._writeArrayData(Loglevel.DEBUG, arr, true); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 467 in 414b900
this._request_telliot_command(Instruction.TEXT_TO_VOICE_CMD, arr, arr.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 468 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 469 in 414b900
case 'add_chatbot' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 470 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 471 in 414b900
case 'add_prompt' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 472 in 414b900
let ai_prompt = unescape(data.toString()); |
Unexpected lexical declaration in case block.
entry-hw/app/modules/Telliot_Base.js
Line 472 in 414b900
let ai_prompt = unescape(data.toString()); |
Identifier 'ai_prompt' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 472 in 414b900
let ai_prompt = unescape(data.toString()); |
'ai_prompt' is never reassigned. Use 'const' instead.
entry-hw/app/modules/Telliot_Base.js
Line 472 in 414b900
let ai_prompt = unescape(data.toString()); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 473 in 414b900
var arr_data = this._toUTF8Array(ai_prompt); |
Unexpected var, use let or const instead.
entry-hw/app/modules/Telliot_Base.js
Line 473 in 414b900
var arr_data = this._toUTF8Array(ai_prompt); |
Identifier 'arr_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 473 in 414b900
var arr_data = this._toUTF8Array(ai_prompt); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 475 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + ai_prompt); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 475 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + ai_prompt); |
Identifier 'ai_prompt' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 475 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + ai_prompt); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 476 in 414b900
this._writeArrayData(Loglevel.DEBUG, arr_data, true); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 478 in 414b900
this._request_telliot_command(Instruction.ADD_PROMPT_CMD, arr_data, arr_data.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 479 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 480 in 414b900
case 'req_volume' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 481 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 482 in 414b900
case 'req_mute_unmute' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 483 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 484 in 414b900
case 'pre_action' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 485 in 414b900
{ |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 486 in 414b900
const predefined_action = []; |
Identifier 'predefined_action' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 486 in 414b900
const predefined_action = []; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 488 in 414b900
keys.forEach(key => predefined_action.push(data[key])); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 489 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + predefined_action); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 489 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + predefined_action); |
Identifier 'predefined_action' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 489 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + predefined_action); |
This line has a length of 134. Maximum allowed is 120.
entry-hw/app/modules/Telliot_Base.js
Line 490 in 414b900
this._request_telliot_command(Instruction.EXT_DEVICE_PRE_ACTION_CMD, predefined_action, predefined_action.length); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 490 in 414b900
this._request_telliot_command(Instruction.EXT_DEVICE_PRE_ACTION_CMD, predefined_action, predefined_action.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 491 in 414b900
} |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 492 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 493 in 414b900
case 'motor_ctrl' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 494 in 414b900
{ |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 495 in 414b900
const motor = []; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 497 in 414b900
keys.forEach(key => motor.push(data[key])); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 498 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + motor); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 498 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + motor); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 499 in 414b900
this._request_telliot_command(Instruction.EXT_DEVICE_MOTOR_CTRL_CMD, motor, motor.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 500 in 414b900
} |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 501 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 502 in 414b900
case 'line_trace' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 503 in 414b900
{ |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 504 in 414b900
const line_trace_data = []; |
Identifier 'line_trace_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 504 in 414b900
const line_trace_data = []; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 506 in 414b900
keys.forEach(key => line_trace_data.push(data[key])); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 507 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + line_trace_data); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 507 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + line_trace_data); |
Identifier 'line_trace_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 507 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + line_trace_data); |
This line has a length of 130. Maximum allowed is 120.
entry-hw/app/modules/Telliot_Base.js
Line 508 in 414b900
this._request_telliot_command(Instruction.EXT_DEVICE_LINE_TRACE_CMD, line_trace_data, line_trace_data.length); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 508 in 414b900
this._request_telliot_command(Instruction.EXT_DEVICE_LINE_TRACE_CMD, line_trace_data, line_trace_data.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 509 in 414b900
} |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 510 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 511 in 414b900
case 'sensor_detect' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 512 in 414b900
{ |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 513 in 414b900
const sensor_data = []; |
Identifier 'sensor_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 513 in 414b900
const sensor_data = []; |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 515 in 414b900
keys.forEach(key => sensor_data.push(data[key])); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 516 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + sensor_data); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 516 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + sensor_data); |
Identifier 'sensor_data' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 516 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + sensor_data); |
Expected indentation of 20 spaces but found 5 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 517 in 414b900
this._request_telliot_command(Instruction.EXT_DEVICE_SENSOR_CMD, sensor_data, sensor_data.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 518 in 414b900
} |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 519 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 520 in 414b900
case 'rfid_detect' : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 521 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + keys); |
Unexpected string concatenation.
entry-hw/app/modules/Telliot_Base.js
Line 521 in 414b900
this._writeDebug(Loglevel.DEBUG, 'data : ' + keys); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 522 in 414b900
this._request_telliot_command(Instruction.VOICE_TRIGGER_CLICK_CMD, keys, keys.length); |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 523 in 414b900
break; |
Expected indentation of 12 spaces but found 3 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 524 in 414b900
default : |
Expected indentation of 16 spaces but found 4 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 525 in 414b900
break; |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 526 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 527 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 529 in 414b900
/************************************************************************* |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 536 in 414b900
_request_telliot_status() |
Identifier '_request_telliot_status' is not in camel case.
entry-hw/app/modules/Telliot_Base.js
Line 536 in 414b900
_request_telliot_status() |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 537 in 414b900
{ |
Opening curly brace does not appear on the same line as controlling statement.
entry-hw/app/modules/Telliot_Base.js
Line 537 in 414b900
{ |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 538 in 414b900
this._writeDebug(Loglevel.DEBUG, '_request_telliot_status'); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 540 in 414b900
this._request_telliot_command(Instruction.GET_STATUS, null); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 542 in 414b900
//this.sp.write(this._sendBuffers); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/Telliot_Base.js
Line 543 in 414b900
this._sendBuffers = []; |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/Telliot_Base.js
Line 544 in 414b900
} |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/telliot_lite.js
Line 2 in 414b900
TelliotBase, |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/telliot_lite.js
Line 3 in 414b900
Loglevel, |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/telliot_lite.js
Line 4 in 414b900
TelliotEvent |
Missing trailing comma.
entry-hw/app/modules/telliot_lite.js
Lines 4 to 5 in 414b900
TelliotEvent | |
} = require('./Telliot_Base'); |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/telliot_lite.js
Line 8 in 414b900
constructor () { |
Useless constructor.
entry-hw/app/modules/telliot_lite.js
Lines 8 to 10 in 414b900
constructor () { | |
super(); | |
} |
Unexpected space before function parentheses.
entry-hw/app/modules/telliot_lite.js
Line 8 in 414b900
constructor () { |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 9 in 414b900
super(); |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/telliot_lite.js
Line 10 in 414b900
} |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 14 in 414b900
super.init(handler, config); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 19 in 414b900
super.setSerialPort(sp); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 41 in 414b900
super.requestRemoteData(handler); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 47 in 414b900
super.handleRemoteData(handler); |
Expected indentation of 4 spaces but found 1 tab.
entry-hw/app/modules/telliot_lite.js
Line 56 in 414b900
// ����̽����� �� ������ ó���ϴ� ����. ���⼭�� ó���� �����Ͱ� ���� ��ŵ�Ͽ���. |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 58 in 414b900
super.handleLocalData(data); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 63 in 414b900
super.disconnect(connector); |
Expected indentation of 8 spaces but found 2 tabs.
entry-hw/app/modules/telliot_lite.js
Line 68 in 414b900
super.reset(); |
Newline required at end of file but not found.
entry-hw/app/modules/telliot_lite.js
Line 72 in 414b900
module.exports = new TelliotLite(); |
const BaseModule = require('./baseModule'); | ||
|
||
const Loglevel = { | ||
ERROR: 0x00, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
const Loglevel = { | ||
ERROR: 0x00, | ||
WARNING: 0x01, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const Loglevel = { | ||
ERROR: 0x00, | ||
WARNING: 0x01, | ||
DEBUG: 0x02, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ERROR: 0x00, | ||
WARNING: 0x01, | ||
DEBUG: 0x02, | ||
INFO: 0x03, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING: 0x01, | ||
DEBUG: 0x02, | ||
INFO: 0x03, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// External device command | ||
EXT_DEVICE_PRE_ACTION_CMD: 0x0100, | ||
EXT_DEVICE_MOTOR_CTRL_CMD: 0x0101, | ||
EXT_DEVICE_LINE_TRACE_CMD: 0x0102, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXT_DEVICE_PRE_ACTION_CMD: 0x0100, | ||
EXT_DEVICE_MOTOR_CTRL_CMD: 0x0101, | ||
EXT_DEVICE_LINE_TRACE_CMD: 0x0102, | ||
EXT_DEVICE_LED_CTRL_CMD: 0x0103, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXT_DEVICE_MOTOR_CTRL_CMD: 0x0101, | ||
EXT_DEVICE_LINE_TRACE_CMD: 0x0102, | ||
EXT_DEVICE_LED_CTRL_CMD: 0x0103, | ||
EXT_DEVICE_SENSOR_CMD: 0x0104, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXT_DEVICE_LINE_TRACE_CMD: 0x0102, | ||
EXT_DEVICE_LED_CTRL_CMD: 0x0103, | ||
EXT_DEVICE_SENSOR_CMD: 0x0104, | ||
EXT_DEVICE_TAG_DETECT: 0x0105, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXT_DEVICE_SENSOR_CMD: 0x0104, | ||
EXT_DEVICE_TAG_DETECT: 0x0105, | ||
|
||
// Setting Command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#748