Regular API function

simSerialClose / sim.serialClose

Description Lua only. Closes a serial port (RS-232). See also sim.serialOpen.
C/C++
synopsis
simInt simSerialClose(simInt portHandle)
C/C++
parameters
portHandle: the handle returned by the simSerialOpen function
C/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
Python
synopsis

<