Regular API function


Description Closes a serial port (RS-232). See also simSerialOpen.
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. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSerialClose(number portHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page