Snapex7.Client.set_connection_params
You're seeing just the function
set_connection_params
, go back to Snapex7.Client module for more information.
Specs
set_connection_params(GenServer.server(), [connect_opt()]) :: :ok | {:error, map()} | {:error, :einval}
Sets internally (IP, LocalTSAP, RemoteTSAP) Coordinates The following options are available:
:ip
- (string) PLC/Equipment IPV4 Address (e.g., "192.168.0.1"):local_tsap
- (int) Local TSAP (PC TSAP) // 0.:remote_tsap
- (int) Remote TSAP (PLC TSAP) // 0.