Discover
CkInoDriveAPI.discover(net_adapter_ip=None, num_attempts=2)
Discover InoDrive Module(s) and gather their information by parsing through Client Network Adapter(s).
Arguments:
• net_adapter_ip (String): (Optional) IP Address of Client Network Adapter the Module is connected to.
• num_attempts (Integer): (Optional) Number of attempts to retrieve Module Information. The default is 2 attempts.
Returns: List – A List of Dictionaries containing the InoDrive’s Module and Network Information.
import CkInoDriveAPI # Discover Module(s) and their Information without specifying the Client IP Address modulesInfo = CkInoDriveAPI.discover() # Discover Module(s) and their Information with a specific Client IP Address modulesInfo = CkInoDriveAPI.discover('192.168.0.1')