Regular API function

simSerialClose / sim.serialClose

Description Closes a serial port (RS-232). See also sim.serialOpen.
C synopsis simInt simSerialClose(simInt portHandle)
C parameters
portHandle: the handle returned by the simSerialOpen function
C return value
-1 if operation was not successful
Lua synopsis sim.serialClose(int portHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values
none