MCSDevice

The MCSDevice class creates device that can connect to specified MCS server. Also, send and receive data from the specified test device on MCS. Know more about MCS.

Constructor

MCSDevice()

Creates a device that can connect to MCS server.

Syntax

Parameters

device_id: The ID of the test device you created on MCS.

device_key: The key of the test device you created on MCS.

mcs_server_url: Optional. If it is not provided, it connects to "api.mediatek.com" by default.

mcs_server_port: Optional. If it is not provided, it connects with port 80 by default.

Returns

device is an instance of the MCSDevice class

Methods

addChannel()

connect()

connected()

process()

setDefaultTimeout()

To add a data channel instance to a MCSDevice instance.

Syntax

Parameters

data_channel_instance: an instance of the MCSDataChannel extended classes

Returns

none

Last updated