Home Manual Reference Source Test Repository
public class | source

Telemetry

Extends:

src/drivers/motion/MotionDriverSimulator.js~EventEmitter → Telemetry

Enables communication between mep-core and mep-dash.

Method Summary

Public Methods
public

genOn(tag: *, action: *): string

Helper that generates query string for .on()

public

send(tag: *, action: *, params: *)

Send log or command to mep-dash.

Public Methods

public genOn(tag: *, action: *): string source

Helper that generates query string for .on()

Params:

NameTypeAttributeDescription
tag *

{String} - Message tag

action *

{String} - Message action

Return:

string

Generated query string for .on()

public send(tag: *, action: *, params: *) source

Send log or command to mep-dash.

Params:

NameTypeAttributeDescription
tag *

{String} - Message tag

action *

{String} - Message action

params *

{Object} - Additional parameters of interest to action