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 Global: To access MCS Global, please browse https://mcs.mediatek.com and specify the MCS API Server URL as "api.mediatek.com".
MCS China: To access MCS in China, please browse https://mcs.mediatek.cn and specify the MCS API Server URL as "api.mediatek.cn".
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