-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #752 from entrylabs/develop-hw
version up 1.9.56
- Loading branch information
Showing
9 changed files
with
706 additions
and
42 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
const { | ||
TelliotBase, | ||
Loglevel, | ||
TelliotEvent | ||
} = require('./Telliot_Base'); | ||
|
||
class TelliotLite extends TelliotBase { | ||
constructor () { | ||
super(); | ||
} | ||
|
||
// ��Ʈ�� �������� ����Ǿ����� ȣ��� | ||
init(handler, config) { | ||
super.init(handler, config); | ||
} | ||
|
||
// ���� ����õ�(handshake) ���� �Ŀ� ȣ��� | ||
setSerialPort(sp) { | ||
super.setSerialPort(sp); | ||
} | ||
|
||
// ���� ����õ��� ����̽��� ���� ������. checkInitialData �� ����Ǿ��ִٸ� �ʼ� | ||
requestInitialData() { | ||
return super.requestInitialData(); | ||
} | ||
|
||
// ���� ����õ����� ����̽��� ������ ��, ���ϴ� �����Ͱ� �´��� �Ǵ��ϴ� ���� | ||
// requestInitialData �� ����Ǿ��ִٸ� �ʼ� | ||
checkInitialData(data, config) { | ||
return super.checkInitialData(data, config); | ||
} | ||
|
||
// �ش� �Լ��� �����ϸ�, ����̽����� ������ �ƿ� �� validate �� ��ģ��. ������ �״�� ó���������� �����Ѵ�. | ||
validateLocalData(data) { | ||
return super.validateLocalData(data); | ||
} | ||
|
||
// ����̽����� ������ �ƿ� ��, �������� ������ ������ ���� ȣ��Ǵ� ����. handler �� �����ϴ� ������ ���� ���� �� �ִ�. | ||
// handler.write(key, value) �� ������ ���� Entry.hw.portData ���� �ƺ� �� �ִ�. | ||
requestRemoteData(handler) { | ||
super.requestRemoteData(handler); | ||
} | ||
|
||
// ��Ʈ�� ���������� �� ������ ó���Ѵ�. handler.read �� �������� ������ �о�� �� �ִ�. | ||
// handler �� ���� Entry.hw.sendQueue �� ������ ���� ����. | ||
handleRemoteData(handler) { | ||
super.handleRemoteData(handler); | ||
} | ||
|
||
// ����̽��� ������ ������ ����. control: slave �� ��� duration �ֱ ���� ����̽��� ������ ������. | ||
// return ������ ���۸� ��ȯ�ϸ� ����̽��� ������ ������, �Ƶ��̳��� ��� ���Ž� �ڵ带 ������ �ִ�. | ||
requestLocalData() { | ||
return super.requestLocalData(); | ||
} | ||
|
||
// ����̽����� �� ������ ó���ϴ� ����. ���⼭�� ó���� �����Ͱ� ���� ��ŵ�Ͽ���. | ||
handleLocalData(data) { | ||
super.handleLocalData(data); | ||
} | ||
|
||
// Ŀ���Ͱ� ���������� �� ȣ��Ǵ� ����, ��ĵ ���� Ȥ�� ����̽� ���� ������ ȣ��ȴ�. | ||
disconnect(connector) { | ||
super.disconnect(connector); | ||
} | ||
|
||
// ��Ʈ�� ���������� ���� ������ �������� �� ���ϴ� ����. | ||
reset() { | ||
super.reset(); | ||
} | ||
} | ||
|
||
module.exports = new TelliotLite(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"id": "600101", | ||
"name": { | ||
"en": "GoldenKidsAICar", | ||
"ko": "금쪽이 카" | ||
}, | ||
"category": "board", | ||
"platform": ["win32", "darwin"], | ||
"icon": "telliot_lite.png", | ||
"module": "telliot_lite.js", | ||
"url": "https://www.iotedcorp.com/", | ||
"email": "[email protected]", | ||
"reconnect" : false, | ||
"entry": { | ||
"protocol": "json" | ||
}, | ||
"select_com_port" : true, | ||
"hardware": { | ||
"type": "bluetooth", | ||
"control": "slave", | ||
"duration": 1000, | ||
"vendor": "Microsoft", | ||
"parity": "none", | ||
"baudRate": 115200, | ||
"firmwarecheck": false | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters