-
-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
type: enhancementProposed improvementProposed improvement
Description
We are using http://socket.io/ but only for its reconnections.
We could leverage the concept of events in order to have a clearer API.
For example:
Event from the client | Arguments |
---|---|
CmdDiscover | |
CmdOpen | {port: "", baud: ""} |
CmdClose | {port: ""} |
CmdSend | {port: "", data: ""} |
CmdDownload | {tool: "", version: ""} |
CmdTools | |
CmdInterrupt |
Event from the agent | Arguments |
---|---|
DiscoverSerial | []array of boards |
DiscoverNetwork | []array of boards |
ProgramOutput | {msg: "", type: "debug"} |
ProgramSuccess | {msg: ""} |
ProgramError | {msg: "", err: ""} |
DownloadOutput | {msg: "", type: "debug"} |
DownloadSuccess | {msg: ""} |
DownloadError | {msg: "", err: ""} |
Metadata
Metadata
Assignees
Labels
type: enhancementProposed improvementProposed improvement