◆ SeaMaxLinClose()

int SeaMaxLinClose ( SeaMaxLin SeaMaxPointer)

Close a SeaIO module. This function will attempt to close a previously opened seaMaxModule and clear any local data. It will also close the connection interface (socket or tty) and clean up any local data. You must call this when you are finished with the module.

Parameters
[in]*SeaMaxPointerthe pointer to the previously opened seaMaxModule.
Returns
int Error code.
Return values
0Successfully closed module.

References FTDI_DIRECT, MODBUS_RTU, and NO_CONNECT.

Referenced by CSeaMaxLin::Close(), and SeaMaxLinOpen().

 
 
Generated on Tue Sep 19 2017.