Mbed Host Tests
|
Public Member Functions | |
def | __init__ (self, name, config) |
def | read (self, count) |
Read data from DUT, count is not used for FastModel. More... | |
def | write (self, payload, log=False) |
Write 'payload' to DUT. More... | |
def | flush (self) |
flush not supported in FastModel_module More... | |
def | connected (self) |
return whether FastModel is connected More... | |
def | finish (self) |
shutdown the FastModel and release the allocation More... | |
def | reset (self) |
Reset the dut. More... | |
def | __del__ (self) |
![]() | |
def | __init__ (self, name) |
def | write_kv (self, key, value) |
Forms and sends Key-Value protocol message. More... | |
def | error (self) |
Returns LAST_ERROR value. More... | |
Public Attributes | |
config | |
fm_config | |
platform_name | |
image_path | |
polling_timeout | |
fm_agent_module | |
resource | |
![]() | |
LAST_ERROR | |
logger | |
polling_timeout | |
Definition at line 23 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.__init__ | ( | self, | |
name, | |||
config | |||
) |
Definition at line 24 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.__del__ | ( | self | ) |
Definition at line 161 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.connected | ( | self | ) |
return whether FastModel is connected
Reimplemented from mbed_host_tests.host_tests_conn_proxy.conn_primitive.ConnectorPrimitive.
Definition at line 137 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.finish | ( | self | ) |
shutdown the FastModel and release the allocation
Reimplemented from mbed_host_tests.host_tests_conn_proxy.conn_primitive.ConnectorPrimitive.
Definition at line 144 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.flush | ( | self | ) |
flush not supported in FastModel_module
Reimplemented from mbed_host_tests.host_tests_conn_proxy.conn_primitive.ConnectorPrimitive.
Definition at line 133 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.read | ( | self, | |
count | |||
) |
Read data from DUT, count is not used for FastModel.
Reimplemented from mbed_host_tests.host_tests_conn_proxy.conn_primitive.ConnectorPrimitive.
Definition at line 107 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.reset | ( | self | ) |
Reset the dut.
Reimplemented from mbed_host_tests.host_tests_conn_proxy.conn_primitive.ConnectorPrimitive.
Definition at line 153 of file conn_primitive_fastmodel.py.
def mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.write | ( | self, | |
payload, | |||
log = False |
|||
) |
Write 'payload' to DUT.
Reimplemented from mbed_host_tests.host_tests_conn_proxy.conn_primitive.ConnectorPrimitive.
Definition at line 119 of file conn_primitive_fastmodel.py.
mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.config |
Definition at line 26 of file conn_primitive_fastmodel.py.
mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.fm_agent_module |
Definition at line 33 of file conn_primitive_fastmodel.py.
mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.fm_config |
Definition at line 27 of file conn_primitive_fastmodel.py.
mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.image_path |
Definition at line 29 of file conn_primitive_fastmodel.py.
mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.platform_name |
Definition at line 28 of file conn_primitive_fastmodel.py.
mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.polling_timeout |
Definition at line 30 of file conn_primitive_fastmodel.py.
mbed_host_tests.host_tests_conn_proxy.conn_primitive_fastmodel.FastmodelConnectorPrimitive.resource |
Definition at line 34 of file conn_primitive_fastmodel.py.