WebIDLpedia

SerialOptions dictionary

Definition

Web Serial API defines SerialOptions



dictionary SerialOptions {
  [EnforceRange] required unsigned long baudRate;
  [EnforceRange] octet dataBits = 8;
  [EnforceRange] octet stopBits = 1;
  ParityType parity = "none";
  [EnforceRange] unsigned long bufferSize = 255;
  FlowControlType flowControl = "none";
};

Referring IDL interfaces/dictionaries