ssCore.SerialIO.close

Close the COM port.


Availability:

First available in version 3.8 build 333.


Input Parameters:

None.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.SerialIO.close( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.SerialIO.close( paramsObject );


Notes:

None.


Examples:

var r:Object = ssCore.SerialIO.open({port:"com1", baudRate:"115200", parity:"none", dataBits:8, stopBits:1});

// do serial I/O stuff here

ssCore.SerialIO.close();