The "connection" module is a module that manages the functions for performing remote execution.
Module name
The following functions are defined as:
Function | Description |
---|---|
initialize | Initializes the connection function |
finalize | Terminates the connection function |
connect | Connects with CRI Atom Craft |
disconnect | Disconnects with CRI Atom Craft |
get_status | Obtains the connection status with CRI Atom Craft |
Initializes the connection function.
Initialization is required before using the connection function for remote execution.
None
Name | Value |
---|---|
result | 0 if succeed, non-zero value if failed |
Terminates the connection function.
None
None
Connects with CRI Atom Craft.
Name | Value |
---|---|
ip_address | IP address of CRI Atom Craft |
port_number | Port number used for connection |
Name | Value |
---|---|
result | 0 if succeed, non-zero value if failed |
Disconnects with CRI Atom Craft.
None
None
Obtains the connection status with CRI Atom Craft.
None
Name | Value |
---|---|
result | 0 if connected, non-zero value if not connected |