Command writeserialport

The command writeserialport is used to write a hexadecimal message on the serial port.

Parameters

  1. buffer [string]
    Buffer, hexadecimal, which will be written on the serial port.
  2. variablehandle [integer]
    Handle of the open door.

Example


In the example above the command openserialport will open a connection on port COM1 with the rate 115200 and configuration A8N1.

The command writeserialport sends a buffer (message) to the door.

The command closeserialport closes the serial port.