Skip to content

Conversation

@robertsipka
Copy link
Contributor

Adding new options to select serial protocol and rawpacket communcation channel.

Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the related documentation as well (docs/devs/Use-JerryScript-Debugger.md).

@robertsipka robertsipka force-pushed the debugger_packets branch 3 times, most recently from 830a361 to a98ee7b Compare May 20, 2019 08:56
@robertsipka
Copy link
Contributor Author

robertsipka commented May 20, 2019

@LaszloLango : Thanks for the review, I've updated it accordingly.

Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


#### Select transport and protocol layers

There are two available extension-provided transport layers, websocket and rawpacket, and two procotol layers, tcp and serial. Each initializes the debugger and blocks until a client connects. If you want to specify the debugger transmission layer (default: websocket) or transmission protocol (default: tcp) over the communication you can do with the `--debug-channel [websocket|rawpacket]` and `--debug-protocol [tcp|serial]` options:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title is a bit confusing. There are many terms here. (transport layer, protocol layer, transmission layer, and transmission protocol.) How about using only channel and protocol?

e.g) Select transport and protocol layers - > Select Channel and Protocol

@robertsipka
Copy link
Contributor Author

@daeyeon : You're right, thanks. I've changed it.


#### Select channel and Protocol

There are two available extension-provided channel, websocket and rawpacket, and two procotol, tcp and serial. Each initializes the debugger and blocks until a client connects. If you want to specify the debugger channel (default: websocket) or protocol (default: tcp) over the communication you can do with the `--debug-channel [websocket|rawpacket]` and `--debug-protocol [tcp|serial]` options:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a typo: procotol -> protocol. Please also check the plural form for channel and protocol.

Adding new options to select serial protocol and rawpacket communcation channel.

IoT.js-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
Copy link
Member

@daeyeon daeyeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yichoi yichoi merged commit f047529 into jerryscript-project:master May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants