github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/serial/apis.js.wasm.yaml (about)

     1  - File: webext/serial.idl
     2    Callback:
     3      Name: ClearBreakCallback
     4      Args:
     5        - Name: result
     6          Type:
     7            Name: boolean
     8            ExtAttrs:
     9              - Name: Namespace
    10                Values:
    11                  - chrome
    12                  - serial
    13          ExtAttrs:
    14            - Name: Namespace
    15              Values:
    16                - chrome
    17                - serial
    18      Returns:
    19        - Name: void
    20          ExtAttrs:
    21            - Name: Namespace
    22              Values:
    23                - chrome
    24                - serial
    25      ExtAttrs:
    26        - Name: Namespace
    27          Values:
    28            - chrome
    29            - serial
    30  - File: webext/serial.idl
    31    Callback:
    32      Name: ConnectCallback
    33      Args:
    34        - Name: connectionInfo
    35          Type:
    36            Name: ConnectionInfo
    37            ExtAttrs:
    38              - Name: Namespace
    39                Values:
    40                  - chrome
    41                  - serial
    42          ExtAttrs:
    43            - Name: Namespace
    44              Values:
    45                - chrome
    46                - serial
    47      Returns:
    48        - Name: void
    49          ExtAttrs:
    50            - Name: Namespace
    51              Values:
    52                - chrome
    53                - serial
    54      ExtAttrs:
    55        - Name: Namespace
    56          Values:
    57            - chrome
    58            - serial
    59  - File: webext/serial.idl
    60    Dict:
    61      Name: ConnectionInfo
    62      ExtAttrs:
    63        - Name: Namespace
    64          Values:
    65            - chrome
    66            - serial
    67      Fields:
    68        - Name: connectionId
    69          Type:
    70            Name: long
    71            ExtAttrs:
    72              - Name: Namespace
    73                Values:
    74                  - chrome
    75                  - serial
    76          ExtAttrs:
    77            - Name: Namespace
    78              Values:
    79                - chrome
    80                - serial
    81        - Name: paused
    82          Type:
    83            Name: boolean
    84            ExtAttrs:
    85              - Name: Namespace
    86                Values:
    87                  - chrome
    88                  - serial
    89          ExtAttrs:
    90            - Name: Namespace
    91              Values:
    92                - chrome
    93                - serial
    94        - Name: persistent
    95          Type:
    96            Name: boolean
    97            ExtAttrs:
    98              - Name: Namespace
    99                Values:
   100                  - chrome
   101                  - serial
   102          ExtAttrs:
   103            - Name: Namespace
   104              Values:
   105                - chrome
   106                - serial
   107        - Name: name
   108          Type:
   109            Name: DOMString
   110            ExtAttrs:
   111              - Name: Namespace
   112                Values:
   113                  - chrome
   114                  - serial
   115          ExtAttrs:
   116            - Name: Namespace
   117              Values:
   118                - chrome
   119                - serial
   120        - Name: bufferSize
   121          Type:
   122            Name: long
   123            ExtAttrs:
   124              - Name: Namespace
   125                Values:
   126                  - chrome
   127                  - serial
   128          ExtAttrs:
   129            - Name: Namespace
   130              Values:
   131                - chrome
   132                - serial
   133        - Name: receiveTimeout
   134          Type:
   135            Name: long
   136            ExtAttrs:
   137              - Name: Namespace
   138                Values:
   139                  - chrome
   140                  - serial
   141          ExtAttrs:
   142            - Name: Namespace
   143              Values:
   144                - chrome
   145                - serial
   146        - Name: sendTimeout
   147          Type:
   148            Name: long
   149            ExtAttrs:
   150              - Name: Namespace
   151                Values:
   152                  - chrome
   153                  - serial
   154          ExtAttrs:
   155            - Name: Namespace
   156              Values:
   157                - chrome
   158                - serial
   159        - Name: bitrate
   160          Type:
   161            Name: long
   162            Nullable: true
   163            ExtAttrs:
   164              - Name: Namespace
   165                Values:
   166                  - chrome
   167                  - serial
   168          ExtAttrs:
   169            - Name: Namespace
   170              Values:
   171                - chrome
   172                - serial
   173        - Name: dataBits
   174          Type:
   175            Name: DataBits
   176            Nullable: true
   177            ExtAttrs:
   178              - Name: Namespace
   179                Values:
   180                  - chrome
   181                  - serial
   182          ExtAttrs:
   183            - Name: Namespace
   184              Values:
   185                - chrome
   186                - serial
   187        - Name: parityBit
   188          Type:
   189            Name: ParityBit
   190            Nullable: true
   191            ExtAttrs:
   192              - Name: Namespace
   193                Values:
   194                  - chrome
   195                  - serial
   196          ExtAttrs:
   197            - Name: Namespace
   198              Values:
   199                - chrome
   200                - serial
   201        - Name: stopBits
   202          Type:
   203            Name: StopBits
   204            Nullable: true
   205            ExtAttrs:
   206              - Name: Namespace
   207                Values:
   208                  - chrome
   209                  - serial
   210          ExtAttrs:
   211            - Name: Namespace
   212              Values:
   213                - chrome
   214                - serial
   215        - Name: ctsFlowControl
   216          Type:
   217            Name: boolean
   218            Nullable: true
   219            ExtAttrs:
   220              - Name: Namespace
   221                Values:
   222                  - chrome
   223                  - serial
   224          ExtAttrs:
   225            - Name: Namespace
   226              Values:
   227                - chrome
   228                - serial
   229  - File: webext/serial.idl
   230    Dict:
   231      Name: ConnectionOptions
   232      ExtAttrs:
   233        - Name: Namespace
   234          Values:
   235            - chrome
   236            - serial
   237      Fields:
   238        - Name: persistent
   239          Type:
   240            Name: boolean
   241            Nullable: true
   242            ExtAttrs:
   243              - Name: Namespace
   244                Values:
   245                  - chrome
   246                  - serial
   247          ExtAttrs:
   248            - Name: Namespace
   249              Values:
   250                - chrome
   251                - serial
   252        - Name: name
   253          Type:
   254            Name: DOMString
   255            Nullable: true
   256            ExtAttrs:
   257              - Name: Namespace
   258                Values:
   259                  - chrome
   260                  - serial
   261          ExtAttrs:
   262            - Name: Namespace
   263              Values:
   264                - chrome
   265                - serial
   266        - Name: bufferSize
   267          Type:
   268            Name: long
   269            Nullable: true
   270            ExtAttrs:
   271              - Name: Namespace
   272                Values:
   273                  - chrome
   274                  - serial
   275          ExtAttrs:
   276            - Name: Namespace
   277              Values:
   278                - chrome
   279                - serial
   280        - Name: bitrate
   281          Type:
   282            Name: long
   283            Nullable: true
   284            ExtAttrs:
   285              - Name: Namespace
   286                Values:
   287                  - chrome
   288                  - serial
   289          ExtAttrs:
   290            - Name: Namespace
   291              Values:
   292                - chrome
   293                - serial
   294        - Name: dataBits
   295          Type:
   296            Name: DataBits
   297            Nullable: true
   298            ExtAttrs:
   299              - Name: Namespace
   300                Values:
   301                  - chrome
   302                  - serial
   303          ExtAttrs:
   304            - Name: Namespace
   305              Values:
   306                - chrome
   307                - serial
   308        - Name: parityBit
   309          Type:
   310            Name: ParityBit
   311            Nullable: true
   312            ExtAttrs:
   313              - Name: Namespace
   314                Values:
   315                  - chrome
   316                  - serial
   317          ExtAttrs:
   318            - Name: Namespace
   319              Values:
   320                - chrome
   321                - serial
   322        - Name: stopBits
   323          Type:
   324            Name: StopBits
   325            Nullable: true
   326            ExtAttrs:
   327              - Name: Namespace
   328                Values:
   329                  - chrome
   330                  - serial
   331          ExtAttrs:
   332            - Name: Namespace
   333              Values:
   334                - chrome
   335                - serial
   336        - Name: ctsFlowControl
   337          Type:
   338            Name: boolean
   339            Nullable: true
   340            ExtAttrs:
   341              - Name: Namespace
   342                Values:
   343                  - chrome
   344                  - serial
   345          ExtAttrs:
   346            - Name: Namespace
   347              Values:
   348                - chrome
   349                - serial
   350        - Name: receiveTimeout
   351          Type:
   352            Name: long
   353            Nullable: true
   354            ExtAttrs:
   355              - Name: Namespace
   356                Values:
   357                  - chrome
   358                  - serial
   359          ExtAttrs:
   360            - Name: Namespace
   361              Values:
   362                - chrome
   363                - serial
   364        - Name: sendTimeout
   365          Type:
   366            Name: long
   367            Nullable: true
   368            ExtAttrs:
   369              - Name: Namespace
   370                Values:
   371                  - chrome
   372                  - serial
   373          ExtAttrs:
   374            - Name: Namespace
   375              Values:
   376                - chrome
   377                - serial
   378  - File: webext/serial.idl
   379    Enum:
   380      Name: DataBits
   381      Values:
   382        - seven
   383        - eight
   384      ExtAttrs:
   385        - Name: Namespace
   386          Values:
   387            - chrome
   388            - serial
   389  - File: webext/serial.idl
   390    Dict:
   391      Name: DeviceControlSignals
   392      ExtAttrs:
   393        - Name: Namespace
   394          Values:
   395            - chrome
   396            - serial
   397      Fields:
   398        - Name: dcd
   399          Type:
   400            Name: boolean
   401            ExtAttrs:
   402              - Name: Namespace
   403                Values:
   404                  - chrome
   405                  - serial
   406          ExtAttrs:
   407            - Name: Namespace
   408              Values:
   409                - chrome
   410                - serial
   411        - Name: cts
   412          Type:
   413            Name: boolean
   414            ExtAttrs:
   415              - Name: Namespace
   416                Values:
   417                  - chrome
   418                  - serial
   419          ExtAttrs:
   420            - Name: Namespace
   421              Values:
   422                - chrome
   423                - serial
   424        - Name: ri
   425          Type:
   426            Name: boolean
   427            ExtAttrs:
   428              - Name: Namespace
   429                Values:
   430                  - chrome
   431                  - serial
   432          ExtAttrs:
   433            - Name: Namespace
   434              Values:
   435                - chrome
   436                - serial
   437        - Name: dsr
   438          Type:
   439            Name: boolean
   440            ExtAttrs:
   441              - Name: Namespace
   442                Values:
   443                  - chrome
   444                  - serial
   445          ExtAttrs:
   446            - Name: Namespace
   447              Values:
   448                - chrome
   449                - serial
   450  - File: webext/serial.idl
   451    Dict:
   452      Name: DeviceInfo
   453      ExtAttrs:
   454        - Name: Namespace
   455          Values:
   456            - chrome
   457            - serial
   458      Fields:
   459        - Name: path
   460          Type:
   461            Name: DOMString
   462            ExtAttrs:
   463              - Name: Namespace
   464                Values:
   465                  - chrome
   466                  - serial
   467          ExtAttrs:
   468            - Name: Namespace
   469              Values:
   470                - chrome
   471                - serial
   472        - Name: vendorId
   473          Type:
   474            Name: long
   475            Nullable: true
   476            ExtAttrs:
   477              - Name: Namespace
   478                Values:
   479                  - chrome
   480                  - serial
   481          ExtAttrs:
   482            - Name: Namespace
   483              Values:
   484                - chrome
   485                - serial
   486        - Name: productId
   487          Type:
   488            Name: long
   489            Nullable: true
   490            ExtAttrs:
   491              - Name: Namespace
   492                Values:
   493                  - chrome
   494                  - serial
   495          ExtAttrs:
   496            - Name: Namespace
   497              Values:
   498                - chrome
   499                - serial
   500        - Name: displayName
   501          Type:
   502            Name: DOMString
   503            Nullable: true
   504            ExtAttrs:
   505              - Name: Namespace
   506                Values:
   507                  - chrome
   508                  - serial
   509          ExtAttrs:
   510            - Name: Namespace
   511              Values:
   512                - chrome
   513                - serial
   514  - File: webext/serial.idl
   515    Callback:
   516      Name: DisconnectCallback
   517      Args:
   518        - Name: result
   519          Type:
   520            Name: boolean
   521            ExtAttrs:
   522              - Name: Namespace
   523                Values:
   524                  - chrome
   525                  - serial
   526          ExtAttrs:
   527            - Name: Namespace
   528              Values:
   529                - chrome
   530                - serial
   531      Returns:
   532        - Name: void
   533          ExtAttrs:
   534            - Name: Namespace
   535              Values:
   536                - chrome
   537                - serial
   538      ExtAttrs:
   539        - Name: Namespace
   540          Values:
   541            - chrome
   542            - serial
   543  - File: webext/serial.idl
   544    Callback:
   545      Name: FlushCallback
   546      Args:
   547        - Name: result
   548          Type:
   549            Name: boolean
   550            ExtAttrs:
   551              - Name: Namespace
   552                Values:
   553                  - chrome
   554                  - serial
   555          ExtAttrs:
   556            - Name: Namespace
   557              Values:
   558                - chrome
   559                - serial
   560      Returns:
   561        - Name: void
   562          ExtAttrs:
   563            - Name: Namespace
   564              Values:
   565                - chrome
   566                - serial
   567      ExtAttrs:
   568        - Name: Namespace
   569          Values:
   570            - chrome
   571            - serial
   572  - File: webext/serial.idl
   573    Callback:
   574      Name: GetConnectionsCallback
   575      Args:
   576        - Name: connectionInfos
   577          Type:
   578            Name: sequence
   579            Params:
   580              - Name: ConnectionInfo
   581                ExtAttrs:
   582                  - Name: Namespace
   583                    Values:
   584                      - chrome
   585                      - serial
   586            ExtAttrs:
   587              - Name: Namespace
   588                Values:
   589                  - chrome
   590                  - serial
   591          ExtAttrs:
   592            - Name: Namespace
   593              Values:
   594                - chrome
   595                - serial
   596      Returns:
   597        - Name: void
   598          ExtAttrs:
   599            - Name: Namespace
   600              Values:
   601                - chrome
   602                - serial
   603      ExtAttrs:
   604        - Name: Namespace
   605          Values:
   606            - chrome
   607            - serial
   608  - File: webext/serial.idl
   609    Callback:
   610      Name: GetControlSignalsCallback
   611      Args:
   612        - Name: signals
   613          Type:
   614            Name: DeviceControlSignals
   615            ExtAttrs:
   616              - Name: Namespace
   617                Values:
   618                  - chrome
   619                  - serial
   620          ExtAttrs:
   621            - Name: Namespace
   622              Values:
   623                - chrome
   624                - serial
   625      Returns:
   626        - Name: void
   627          ExtAttrs:
   628            - Name: Namespace
   629              Values:
   630                - chrome
   631                - serial
   632      ExtAttrs:
   633        - Name: Namespace
   634          Values:
   635            - chrome
   636            - serial
   637  - File: webext/serial.idl
   638    Callback:
   639      Name: GetDevicesCallback
   640      Args:
   641        - Name: ports
   642          Type:
   643            Name: sequence
   644            Params:
   645              - Name: DeviceInfo
   646                ExtAttrs:
   647                  - Name: Namespace
   648                    Values:
   649                      - chrome
   650                      - serial
   651            ExtAttrs:
   652              - Name: Namespace
   653                Values:
   654                  - chrome
   655                  - serial
   656          ExtAttrs:
   657            - Name: Namespace
   658              Values:
   659                - chrome
   660                - serial
   661      Returns:
   662        - Name: void
   663          ExtAttrs:
   664            - Name: Namespace
   665              Values:
   666                - chrome
   667                - serial
   668      ExtAttrs:
   669        - Name: Namespace
   670          Values:
   671            - chrome
   672            - serial
   673  - File: webext/serial.idl
   674    Callback:
   675      Name: GetInfoCallback
   676      Args:
   677        - Name: connectionInfo
   678          Type:
   679            Name: ConnectionInfo
   680            ExtAttrs:
   681              - Name: Namespace
   682                Values:
   683                  - chrome
   684                  - serial
   685          ExtAttrs:
   686            - Name: Namespace
   687              Values:
   688                - chrome
   689                - serial
   690      Returns:
   691        - Name: void
   692          ExtAttrs:
   693            - Name: Namespace
   694              Values:
   695                - chrome
   696                - serial
   697      ExtAttrs:
   698        - Name: Namespace
   699          Values:
   700            - chrome
   701            - serial
   702  - File: webext/serial.idl
   703    Dict:
   704      Name: HostControlSignals
   705      ExtAttrs:
   706        - Name: Namespace
   707          Values:
   708            - chrome
   709            - serial
   710      Fields:
   711        - Name: dtr
   712          Type:
   713            Name: boolean
   714            Nullable: true
   715            ExtAttrs:
   716              - Name: Namespace
   717                Values:
   718                  - chrome
   719                  - serial
   720          ExtAttrs:
   721            - Name: Namespace
   722              Values:
   723                - chrome
   724                - serial
   725        - Name: rts
   726          Type:
   727            Name: boolean
   728            Nullable: true
   729            ExtAttrs:
   730              - Name: Namespace
   731                Values:
   732                  - chrome
   733                  - serial
   734          ExtAttrs:
   735            - Name: Namespace
   736              Values:
   737                - chrome
   738                - serial
   739  - File: webext/serial.idl
   740    Enum:
   741      Name: ParityBit
   742      Values:
   743        - "no"
   744        - odd
   745        - even
   746      ExtAttrs:
   747        - Name: Namespace
   748          Values:
   749            - chrome
   750            - serial
   751  - File: webext/serial.idl
   752    Enum:
   753      Name: ReceiveError
   754      Values:
   755        - disconnected
   756        - timeout
   757        - device_lost
   758        - break
   759        - frame_error
   760        - overrun
   761        - buffer_overflow
   762        - parity_error
   763        - system_error
   764      ExtAttrs:
   765        - Name: Namespace
   766          Values:
   767            - chrome
   768            - serial
   769  - File: webext/serial.idl
   770    Dict:
   771      Name: ReceiveErrorInfo
   772      ExtAttrs:
   773        - Name: Namespace
   774          Values:
   775            - chrome
   776            - serial
   777      Fields:
   778        - Name: connectionId
   779          Type:
   780            Name: long
   781            ExtAttrs:
   782              - Name: Namespace
   783                Values:
   784                  - chrome
   785                  - serial
   786          ExtAttrs:
   787            - Name: Namespace
   788              Values:
   789                - chrome
   790                - serial
   791        - Name: error
   792          Type:
   793            Name: ReceiveError
   794            ExtAttrs:
   795              - Name: Namespace
   796                Values:
   797                  - chrome
   798                  - serial
   799          ExtAttrs:
   800            - Name: Namespace
   801              Values:
   802                - chrome
   803                - serial
   804  - File: webext/serial.idl
   805    Dict:
   806      Name: ReceiveInfo
   807      ExtAttrs:
   808        - Name: Namespace
   809          Values:
   810            - chrome
   811            - serial
   812      Fields:
   813        - Name: connectionId
   814          Type:
   815            Name: long
   816            ExtAttrs:
   817              - Name: Namespace
   818                Values:
   819                  - chrome
   820                  - serial
   821          ExtAttrs:
   822            - Name: Namespace
   823              Values:
   824                - chrome
   825                - serial
   826        - Name: data
   827          Type:
   828            Name: ArrayBuffer
   829            ExtAttrs:
   830              - Name: Namespace
   831                Values:
   832                  - chrome
   833                  - serial
   834          ExtAttrs:
   835            - Name: Namespace
   836              Values:
   837                - chrome
   838                - serial
   839  - File: webext/serial.idl
   840    Callback:
   841      Name: SendCallback
   842      Args:
   843        - Name: sendInfo
   844          Type:
   845            Name: SendInfo
   846            ExtAttrs:
   847              - Name: Namespace
   848                Values:
   849                  - chrome
   850                  - serial
   851          ExtAttrs:
   852            - Name: Namespace
   853              Values:
   854                - chrome
   855                - serial
   856      Returns:
   857        - Name: void
   858          ExtAttrs:
   859            - Name: Namespace
   860              Values:
   861                - chrome
   862                - serial
   863      ExtAttrs:
   864        - Name: Namespace
   865          Values:
   866            - chrome
   867            - serial
   868  - File: webext/serial.idl
   869    Enum:
   870      Name: SendError
   871      Values:
   872        - disconnected
   873        - pending
   874        - timeout
   875        - system_error
   876      ExtAttrs:
   877        - Name: Namespace
   878          Values:
   879            - chrome
   880            - serial
   881  - File: webext/serial.idl
   882    Dict:
   883      Name: SendInfo
   884      ExtAttrs:
   885        - Name: Namespace
   886          Values:
   887            - chrome
   888            - serial
   889      Fields:
   890        - Name: bytesSent
   891          Type:
   892            Name: long
   893            ExtAttrs:
   894              - Name: Namespace
   895                Values:
   896                  - chrome
   897                  - serial
   898          ExtAttrs:
   899            - Name: Namespace
   900              Values:
   901                - chrome
   902                - serial
   903        - Name: error
   904          Type:
   905            Name: SendError
   906            Nullable: true
   907            ExtAttrs:
   908              - Name: Namespace
   909                Values:
   910                  - chrome
   911                  - serial
   912          ExtAttrs:
   913            - Name: Namespace
   914              Values:
   915                - chrome
   916                - serial
   917  - File: webext/serial.idl
   918    Callback:
   919      Name: SetBreakCallback
   920      Args:
   921        - Name: result
   922          Type:
   923            Name: boolean
   924            ExtAttrs:
   925              - Name: Namespace
   926                Values:
   927                  - chrome
   928                  - serial
   929          ExtAttrs:
   930            - Name: Namespace
   931              Values:
   932                - chrome
   933                - serial
   934      Returns:
   935        - Name: void
   936          ExtAttrs:
   937            - Name: Namespace
   938              Values:
   939                - chrome
   940                - serial
   941      ExtAttrs:
   942        - Name: Namespace
   943          Values:
   944            - chrome
   945            - serial
   946  - File: webext/serial.idl
   947    Callback:
   948      Name: SetControlSignalsCallback
   949      Args:
   950        - Name: result
   951          Type:
   952            Name: boolean
   953            ExtAttrs:
   954              - Name: Namespace
   955                Values:
   956                  - chrome
   957                  - serial
   958          ExtAttrs:
   959            - Name: Namespace
   960              Values:
   961                - chrome
   962                - serial
   963      Returns:
   964        - Name: void
   965          ExtAttrs:
   966            - Name: Namespace
   967              Values:
   968                - chrome
   969                - serial
   970      ExtAttrs:
   971        - Name: Namespace
   972          Values:
   973            - chrome
   974            - serial
   975  - File: webext/serial.idl
   976    Callback:
   977      Name: SetPausedCallback
   978      Returns:
   979        - Name: void
   980          ExtAttrs:
   981            - Name: Namespace
   982              Values:
   983                - chrome
   984                - serial
   985      ExtAttrs:
   986        - Name: Namespace
   987          Values:
   988            - chrome
   989            - serial
   990  - File: webext/serial.idl
   991    Enum:
   992      Name: StopBits
   993      Values:
   994        - one
   995        - two
   996      ExtAttrs:
   997        - Name: Namespace
   998          Values:
   999            - chrome
  1000            - serial
  1001  - File: webext/serial.idl
  1002    Callback:
  1003      Name: UpdateCallback
  1004      Args:
  1005        - Name: result
  1006          Type:
  1007            Name: boolean
  1008            ExtAttrs:
  1009              - Name: Namespace
  1010                Values:
  1011                  - chrome
  1012                  - serial
  1013          ExtAttrs:
  1014            - Name: Namespace
  1015              Values:
  1016                - chrome
  1017                - serial
  1018      Returns:
  1019        - Name: void
  1020          ExtAttrs:
  1021            - Name: Namespace
  1022              Values:
  1023                - chrome
  1024                - serial
  1025      ExtAttrs:
  1026        - Name: Namespace
  1027          Values:
  1028            - chrome
  1029            - serial
  1030  - File: webext/serial.idl
  1031    WebextFunc:
  1032      Name: clearBreak
  1033      Modifier: static
  1034      Args:
  1035        - Name: connectionId
  1036          Type:
  1037            Name: long
  1038            ExtAttrs:
  1039              - Name: Namespace
  1040                Values:
  1041                  - chrome
  1042                  - serial
  1043          ExtAttrs:
  1044            - Name: Namespace
  1045              Values:
  1046                - chrome
  1047                - serial
  1048      Returns:
  1049        - Name: Promise
  1050          Params:
  1051            - Name: boolean
  1052              ExtAttrs:
  1053                - Name: Namespace
  1054                  Values:
  1055                    - chrome
  1056                    - serial
  1057      ExtAttrs:
  1058        - Name: supportsPromises
  1059        - Name: Namespace
  1060          Values:
  1061            - chrome
  1062            - serial
  1063  - File: webext/serial.idl
  1064    WebextFunc:
  1065      Name: connect
  1066      Modifier: static
  1067      Args:
  1068        - Name: path
  1069          Type:
  1070            Name: DOMString
  1071            ExtAttrs:
  1072              - Name: Namespace
  1073                Values:
  1074                  - chrome
  1075                  - serial
  1076          ExtAttrs:
  1077            - Name: Namespace
  1078              Values:
  1079                - chrome
  1080                - serial
  1081        - Name: options
  1082          Optional: true
  1083          Type:
  1084            Name: ConnectionOptions
  1085            ExtAttrs:
  1086              - Name: Namespace
  1087                Values:
  1088                  - chrome
  1089                  - serial
  1090          ExtAttrs:
  1091            - Name: Namespace
  1092              Values:
  1093                - chrome
  1094                - serial
  1095      Returns:
  1096        - Name: Promise
  1097          Params:
  1098            - Name: ConnectionInfo
  1099              ExtAttrs:
  1100                - Name: Namespace
  1101                  Values:
  1102                    - chrome
  1103                    - serial
  1104      ExtAttrs:
  1105        - Name: supportsPromises
  1106        - Name: Namespace
  1107          Values:
  1108            - chrome
  1109            - serial
  1110  - File: webext/serial.idl
  1111    WebextFunc:
  1112      Name: disconnect
  1113      Modifier: static
  1114      Args:
  1115        - Name: connectionId
  1116          Type:
  1117            Name: long
  1118            ExtAttrs:
  1119              - Name: Namespace
  1120                Values:
  1121                  - chrome
  1122                  - serial
  1123          ExtAttrs:
  1124            - Name: Namespace
  1125              Values:
  1126                - chrome
  1127                - serial
  1128      Returns:
  1129        - Name: Promise
  1130          Params:
  1131            - Name: boolean
  1132              ExtAttrs:
  1133                - Name: Namespace
  1134                  Values:
  1135                    - chrome
  1136                    - serial
  1137      ExtAttrs:
  1138        - Name: supportsPromises
  1139        - Name: Namespace
  1140          Values:
  1141            - chrome
  1142            - serial
  1143  - File: webext/serial.idl
  1144    WebextFunc:
  1145      Name: flush
  1146      Modifier: static
  1147      Args:
  1148        - Name: connectionId
  1149          Type:
  1150            Name: long
  1151            ExtAttrs:
  1152              - Name: Namespace
  1153                Values:
  1154                  - chrome
  1155                  - serial
  1156          ExtAttrs:
  1157            - Name: Namespace
  1158              Values:
  1159                - chrome
  1160                - serial
  1161      Returns:
  1162        - Name: Promise
  1163          Params:
  1164            - Name: boolean
  1165              ExtAttrs:
  1166                - Name: Namespace
  1167                  Values:
  1168                    - chrome
  1169                    - serial
  1170      ExtAttrs:
  1171        - Name: supportsPromises
  1172        - Name: Namespace
  1173          Values:
  1174            - chrome
  1175            - serial
  1176  - File: webext/serial.idl
  1177    WebextFunc:
  1178      Name: getConnections
  1179      Modifier: static
  1180      Returns:
  1181        - Name: Promise
  1182          Params:
  1183            - Name: sequence
  1184              Params:
  1185                - Name: ConnectionInfo
  1186                  ExtAttrs:
  1187                    - Name: Namespace
  1188                      Values:
  1189                        - chrome
  1190                        - serial
  1191              ExtAttrs:
  1192                - Name: Namespace
  1193                  Values:
  1194                    - chrome
  1195                    - serial
  1196      ExtAttrs:
  1197        - Name: supportsPromises
  1198        - Name: Namespace
  1199          Values:
  1200            - chrome
  1201            - serial
  1202  - File: webext/serial.idl
  1203    WebextFunc:
  1204      Name: getControlSignals
  1205      Modifier: static
  1206      Args:
  1207        - Name: connectionId
  1208          Type:
  1209            Name: long
  1210            ExtAttrs:
  1211              - Name: Namespace
  1212                Values:
  1213                  - chrome
  1214                  - serial
  1215          ExtAttrs:
  1216            - Name: Namespace
  1217              Values:
  1218                - chrome
  1219                - serial
  1220      Returns:
  1221        - Name: Promise
  1222          Params:
  1223            - Name: DeviceControlSignals
  1224              ExtAttrs:
  1225                - Name: Namespace
  1226                  Values:
  1227                    - chrome
  1228                    - serial
  1229      ExtAttrs:
  1230        - Name: supportsPromises
  1231        - Name: Namespace
  1232          Values:
  1233            - chrome
  1234            - serial
  1235  - File: webext/serial.idl
  1236    WebextFunc:
  1237      Name: getDevices
  1238      Modifier: static
  1239      Returns:
  1240        - Name: Promise
  1241          Params:
  1242            - Name: sequence
  1243              Params:
  1244                - Name: DeviceInfo
  1245                  ExtAttrs:
  1246                    - Name: Namespace
  1247                      Values:
  1248                        - chrome
  1249                        - serial
  1250              ExtAttrs:
  1251                - Name: Namespace
  1252                  Values:
  1253                    - chrome
  1254                    - serial
  1255      ExtAttrs:
  1256        - Name: supportsPromises
  1257        - Name: Namespace
  1258          Values:
  1259            - chrome
  1260            - serial
  1261  - File: webext/serial.idl
  1262    WebextFunc:
  1263      Name: getInfo
  1264      Modifier: static
  1265      Args:
  1266        - Name: connectionId
  1267          Type:
  1268            Name: long
  1269            ExtAttrs:
  1270              - Name: Namespace
  1271                Values:
  1272                  - chrome
  1273                  - serial
  1274          ExtAttrs:
  1275            - Name: Namespace
  1276              Values:
  1277                - chrome
  1278                - serial
  1279      Returns:
  1280        - Name: Promise
  1281          Params:
  1282            - Name: ConnectionInfo
  1283              ExtAttrs:
  1284                - Name: Namespace
  1285                  Values:
  1286                    - chrome
  1287                    - serial
  1288      ExtAttrs:
  1289        - Name: supportsPromises
  1290        - Name: Namespace
  1291          Values:
  1292            - chrome
  1293            - serial
  1294  - File: webext/serial.idl
  1295    WebextEvent:
  1296      Name: onReceive
  1297      Modifier: static
  1298      Args:
  1299        - Name: info
  1300          Type:
  1301            Name: ReceiveInfo
  1302            ExtAttrs:
  1303              - Name: Namespace
  1304                Values:
  1305                  - chrome
  1306                  - serial
  1307          ExtAttrs:
  1308            - Name: Namespace
  1309              Values:
  1310                - chrome
  1311                - serial
  1312      Returns:
  1313        - Name: void
  1314          ExtAttrs:
  1315            - Name: Namespace
  1316              Values:
  1317                - chrome
  1318                - serial
  1319      ExtAttrs:
  1320        - Name: Namespace
  1321          Values:
  1322            - chrome
  1323            - serial
  1324  - File: webext/serial.idl
  1325    WebextEvent:
  1326      Name: onReceiveError
  1327      Modifier: static
  1328      Args:
  1329        - Name: info
  1330          Type:
  1331            Name: ReceiveErrorInfo
  1332            ExtAttrs:
  1333              - Name: Namespace
  1334                Values:
  1335                  - chrome
  1336                  - serial
  1337          ExtAttrs:
  1338            - Name: Namespace
  1339              Values:
  1340                - chrome
  1341                - serial
  1342      Returns:
  1343        - Name: void
  1344          ExtAttrs:
  1345            - Name: Namespace
  1346              Values:
  1347                - chrome
  1348                - serial
  1349      ExtAttrs:
  1350        - Name: Namespace
  1351          Values:
  1352            - chrome
  1353            - serial
  1354  - File: webext/serial.idl
  1355    WebextFunc:
  1356      Name: send
  1357      Modifier: static
  1358      Args:
  1359        - Name: connectionId
  1360          Type:
  1361            Name: long
  1362            ExtAttrs:
  1363              - Name: Namespace
  1364                Values:
  1365                  - chrome
  1366                  - serial
  1367          ExtAttrs:
  1368            - Name: Namespace
  1369              Values:
  1370                - chrome
  1371                - serial
  1372        - Name: data
  1373          Type:
  1374            Name: ArrayBuffer
  1375            ExtAttrs:
  1376              - Name: Namespace
  1377                Values:
  1378                  - chrome
  1379                  - serial
  1380          ExtAttrs:
  1381            - Name: Namespace
  1382              Values:
  1383                - chrome
  1384                - serial
  1385      Returns:
  1386        - Name: Promise
  1387          Params:
  1388            - Name: SendInfo
  1389              ExtAttrs:
  1390                - Name: Namespace
  1391                  Values:
  1392                    - chrome
  1393                    - serial
  1394      ExtAttrs:
  1395        - Name: supportsPromises
  1396        - Name: Namespace
  1397          Values:
  1398            - chrome
  1399            - serial
  1400  - File: webext/serial.idl
  1401    WebextFunc:
  1402      Name: setBreak
  1403      Modifier: static
  1404      Args:
  1405        - Name: connectionId
  1406          Type:
  1407            Name: long
  1408            ExtAttrs:
  1409              - Name: Namespace
  1410                Values:
  1411                  - chrome
  1412                  - serial
  1413          ExtAttrs:
  1414            - Name: Namespace
  1415              Values:
  1416                - chrome
  1417                - serial
  1418      Returns:
  1419        - Name: Promise
  1420          Params:
  1421            - Name: boolean
  1422              ExtAttrs:
  1423                - Name: Namespace
  1424                  Values:
  1425                    - chrome
  1426                    - serial
  1427      ExtAttrs:
  1428        - Name: supportsPromises
  1429        - Name: Namespace
  1430          Values:
  1431            - chrome
  1432            - serial
  1433  - File: webext/serial.idl
  1434    WebextFunc:
  1435      Name: setControlSignals
  1436      Modifier: static
  1437      Args:
  1438        - Name: connectionId
  1439          Type:
  1440            Name: long
  1441            ExtAttrs:
  1442              - Name: Namespace
  1443                Values:
  1444                  - chrome
  1445                  - serial
  1446          ExtAttrs:
  1447            - Name: Namespace
  1448              Values:
  1449                - chrome
  1450                - serial
  1451        - Name: signals
  1452          Type:
  1453            Name: HostControlSignals
  1454            ExtAttrs:
  1455              - Name: Namespace
  1456                Values:
  1457                  - chrome
  1458                  - serial
  1459          ExtAttrs:
  1460            - Name: Namespace
  1461              Values:
  1462                - chrome
  1463                - serial
  1464      Returns:
  1465        - Name: Promise
  1466          Params:
  1467            - Name: boolean
  1468              ExtAttrs:
  1469                - Name: Namespace
  1470                  Values:
  1471                    - chrome
  1472                    - serial
  1473      ExtAttrs:
  1474        - Name: supportsPromises
  1475        - Name: Namespace
  1476          Values:
  1477            - chrome
  1478            - serial
  1479  - File: webext/serial.idl
  1480    WebextFunc:
  1481      Name: setPaused
  1482      Modifier: static
  1483      Args:
  1484        - Name: connectionId
  1485          Type:
  1486            Name: long
  1487            ExtAttrs:
  1488              - Name: Namespace
  1489                Values:
  1490                  - chrome
  1491                  - serial
  1492          ExtAttrs:
  1493            - Name: Namespace
  1494              Values:
  1495                - chrome
  1496                - serial
  1497        - Name: paused
  1498          Type:
  1499            Name: boolean
  1500            ExtAttrs:
  1501              - Name: Namespace
  1502                Values:
  1503                  - chrome
  1504                  - serial
  1505          ExtAttrs:
  1506            - Name: Namespace
  1507              Values:
  1508                - chrome
  1509                - serial
  1510      Returns:
  1511        - Name: Promise
  1512          Params:
  1513            - Name: void
  1514      ExtAttrs:
  1515        - Name: supportsPromises
  1516        - Name: Namespace
  1517          Values:
  1518            - chrome
  1519            - serial
  1520  - File: webext/serial.idl
  1521    WebextFunc:
  1522      Name: update
  1523      Modifier: static
  1524      Args:
  1525        - Name: connectionId
  1526          Type:
  1527            Name: long
  1528            ExtAttrs:
  1529              - Name: Namespace
  1530                Values:
  1531                  - chrome
  1532                  - serial
  1533          ExtAttrs:
  1534            - Name: Namespace
  1535              Values:
  1536                - chrome
  1537                - serial
  1538        - Name: options
  1539          Type:
  1540            Name: ConnectionOptions
  1541            ExtAttrs:
  1542              - Name: Namespace
  1543                Values:
  1544                  - chrome
  1545                  - serial
  1546          ExtAttrs:
  1547            - Name: Namespace
  1548              Values:
  1549                - chrome
  1550                - serial
  1551      Returns:
  1552        - Name: Promise
  1553          Params:
  1554            - Name: boolean
  1555              ExtAttrs:
  1556                - Name: Namespace
  1557                  Values:
  1558                    - chrome
  1559                    - serial
  1560      ExtAttrs:
  1561        - Name: supportsPromises
  1562        - Name: Namespace
  1563          Values:
  1564            - chrome
  1565            - serial