[{"data":1,"prerenderedAt":2657},["ShallowReactive",2],{"navigation":3,"\u002Freference\u002Fserial-port":116,"\u002Freference\u002Fserial-port-surround":2652},[4,27,53,74,108,112],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":26},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18,22],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":23,"path":24,"stem":25},"Example app and development","\u002Fgetting-started\u002Fdevelopment","1.getting-started\u002F4.development",false,{"title":28,"icon":29,"path":30,"stem":31,"children":32,"page":26},"Guides","i-lucide-book-open","\u002Fguides","2.guides",[33,37,41,45,49],{"title":34,"path":35,"stem":36},"JavaScript API","\u002Fguides\u002Fjavascript-api","2.guides\u002F1.javascript-api",{"title":38,"path":39,"stem":40},"AT commands, exchange and CMUX","\u002Fguides\u002Fat-commands","2.guides\u002F2.at-commands",{"title":42,"path":43,"stem":44},"Rust","\u002Fguides\u002Frust","2.guides\u002F3.rust",{"title":46,"path":47,"stem":48},"Permissions","\u002Fguides\u002Fpermissions","2.guides\u002F4.permissions",{"title":50,"path":51,"stem":52},"Parsers","\u002Fguides\u002Fparsers","2.guides\u002F5.parsers",{"title":54,"icon":55,"path":56,"stem":57,"children":58,"page":26},"API reference","i-lucide-file-code","\u002Freference","3.reference",[59,63,67,71],{"title":60,"path":61,"stem":62},"SerialPort","\u002Freference\u002Fserial-port","3.reference\u002F1.serial-port",{"title":64,"path":65,"stem":66},"Types","\u002Freference\u002Ftypes","3.reference\u002F2.types",{"title":68,"path":69,"stem":70},"Tauri commands","\u002Freference\u002Fcommands","3.reference\u002F3.commands",{"title":46,"path":72,"stem":73},"\u002Freference\u002Fpermissions","3.reference\u002F4.permissions",{"title":75,"icon":76,"path":77,"stem":78,"children":79,"page":26},"Platforms","i-lucide-monitor-smartphone","\u002Fplatforms","4.platforms",[80,84,88,92,96,100,104],{"title":81,"path":82,"stem":83},"Overview","\u002Fplatforms\u002Foverview","4.platforms\u002F1.overview",{"title":85,"path":86,"stem":87},"Desktop","\u002Fplatforms\u002Fdesktop","4.platforms\u002F2.desktop",{"title":89,"path":90,"stem":91},"Android (USB)","\u002Fplatforms\u002Fandroid","4.platforms\u002F3.android",{"title":93,"path":94,"stem":95},"iOS","\u002Fplatforms\u002Fios","4.platforms\u002F4.ios",{"title":97,"path":98,"stem":99},"Serial over TCP","\u002Fplatforms\u002Ftcp","4.platforms\u002F5.tcp",{"title":101,"path":102,"stem":103},"Bluetooth LE (BLE)","\u002Fplatforms\u002Fble","4.platforms\u002F6.ble",{"title":105,"path":106,"stem":107},"DTR \u002F RTS on open","\u002Fplatforms\u002Fdtr-rts","4.platforms\u002F7.dtr-rts",{"title":109,"path":110,"stem":111},"Migration guide","\u002Fmigration","5.migration",{"title":113,"path":114,"stem":115},"Changelog","\u002Fchangelog","9.changelog",{"id":117,"title":60,"body":118,"description":2645,"extension":2646,"generated":2647,"links":2648,"meta":2649,"navigation":2647,"path":61,"seo":2650,"stem":62,"__hash__":2651},"docs\u002F3.reference\u002F1.serial-port.md",{"type":119,"value":120,"toc":2578},"minimark",[121,151,776,781,788,808,814,818,824,841,845,859,864,878,882,897,903,909,929,932,936,942,970,972,978,1020,1024,1030,1064,1073,1079,1129,1139,1145,1168,1170,1176,1196,1200,1206,1224,1226,1232,1251,1253,1259,1282,1284,1288,1294,1326,1341,1347,1384,1386,1392,1409,1411,1417,1441,1449,1455,1469,1471,1477,1490,1492,1498,1521,1525,1530,1551,1557,1563,1589,1597,1603,1630,1636,1642,1666,1668,1674,1693,1695,1701,1720,1722,1728,1747,1749,1755,1774,1776,1782,1801,1803,1809,1828,1830,1836,1854,1856,1862,1884,1886,1892,1914,1916,1922,1944,1946,1952,1974,1976,1982,2005,2007,2013,2035,2037,2043,2062,2064,2069,2101,2105,2111,2142,2144,2150,2189,2191,2197,2220,2224,2230,2248,2250,2256,2273,2275,2281,2299,2305,2311,2330,2334,2340,2373,2375,2381,2405,2407,2413,2450,2456,2462,2480,2482,2488,2506,2508,2514,2536,2538,2544,2572,2574],[122,123,124,125,128,129,132,133,142,143,146,147,150],"p",{},"The ",[126,127,60],"code",{}," class exported by ",[126,130,131],{},"tauri-plugin-serialplugin-api",". Signatures and descriptions come\nstraight from ",[134,135,139],"a",{"href":136,"rel":137},"https:\u002F\u002Fgithub.com\u002Fs00d\u002Ftauri-plugin-serialplugin\u002Fblob\u002Fmain\u002Fguest-js\u002Fserial-port.ts",[138],"nofollow",[126,140,141],{},"guest-js\u002Fserial-port.ts","; for how the pieces fit\ntogether see the ",[134,144,145],{"href":35},"JavaScript API guide",". Option and result types are on the\n",[134,148,149],{"href":65},"types page",".",[152,153,154,167],"table",{},[155,156,157],"thead",{},[158,159,160,164],"tr",{},[161,162,163],"th",{},"Method",[161,165,166],{},"Description",[168,169,170,181,195,217,239,249,262,272,282,292,321,331,341,363,373,383,397,415,436,452,462,472,482,492,502,512,522,532,542,552,562,572,582,592,602,616,626,636,648,658,668,685,698,708,718,736,746,756,766],"tbody",{},[158,171,172,178],{},[173,174,175],"td",{},[126,176,177],{},"SerialPort.getCapabilities(): Promise\u003CCapabilities>",[173,179,180],{},"Native build info (transport, platform, plugin version); cached after the first call.",[158,182,183,188],{},[173,184,185],{},[126,186,187],{},"SerialPort.available_ports(options?: AvailablePortsOptions): Promise\u003CRecord\u003Cstring, PortInfo>>",[173,189,190,191,194],{},"List serial ports, keyed by path. ",[126,192,193],{},"singlePortPerDevice"," keeps one path per USB device.",[158,196,197,202],{},[173,198,199],{},[126,200,201],{},"SerialPort.watchAvailablePorts(handlers: WatchPortsHandlers, options?: WatchPortsOptions): Promise\u003CWatchHandle>",[173,203,204,205,208,209,212,213,216],{},"Subscribe to available-port hotplug (attach\u002Fdetach). Sends an initial snapshot, then ",[126,206,207],{},"added"," \u002F ",[126,210,211],{},"removed"," events. Call ",[126,214,215],{},"unwatch()"," on the returned handle to stop.",[158,218,219,224],{},[173,220,221],{},[126,222,223],{},"SerialPort.scanBlePorts(options?: { timeoutMs?: number }): Promise\u003CRecord\u003Cstring, BlePortInfo>>",[173,225,226,227,230,231,234,235,238],{},"Scan for Bluetooth LE devices that advertise the Nordic UART Service (desktop, iOS and Android; the Rust side needs the plugin's ",[126,228,229],{},"ble"," feature). Keys are ",[126,232,233],{},"ble:\u002F\u002F\u003Cid>"," paths that ",[126,236,237],{},"new SerialPort({ path })"," can open.",[158,240,241,246],{},[173,242,243],{},[126,244,245],{},"SerialPort.managed_ports(): Promise\u003Cstring[]>",[173,247,248],{},"Paths of the ports this plugin currently holds open.",[158,250,251,256],{},[173,252,253],{},[126,254,255],{},"SerialPort.forceClose(path: string): Promise\u003Cvoid>",[173,257,258,259,261],{},"Close a port by path without a ",[126,260,60],{}," instance (stops its watch too).",[158,263,264,269],{},[173,265,266],{},[126,267,268],{},"SerialPort.closeAll(): Promise\u003Cvoid>",[173,270,271],{},"Close every port this plugin holds open.",[158,273,274,279],{},[173,275,276],{},[126,277,278],{},"SerialPort.setLogLevel(level: LogLevel): Promise\u003Cvoid>",[173,280,281],{},"Set the native and JS log level.",[158,283,284,289],{},[173,285,286],{},[126,287,288],{},"SerialPort.getLogLevel(): Promise\u003CLogLevel>",[173,290,291],{},"Current native log level (also applied to the JS logger).",[158,293,294,299],{},[173,295,296],{},[126,297,298],{},"watch(handlers: WatchHandlers, options?: WatchOptions): Promise\u003CWatchHandle>",[173,300,301,302,305,306,309,310,312,313,316,317,320],{},"Stream received data through a native channel; one watch per port instance. Without ",[126,303,304],{},"parser",", bytes are batched (~20 ms window or ",[126,307,308],{},"size"," bytes per event); with ",[126,311,304],{},", each complete frame is one ",[126,314,315],{},"onData"," call. ",[126,318,319],{},"onUrc"," turns on URC routing. Auto-reconnect re-creates the watch with the same handlers and options.",[158,322,323,328],{},[173,324,325],{},[126,326,327],{},"change(options: { path?: string; baudRate?: number }): Promise\u003Cvoid>",[173,329,330],{},"Switch path and\u002For baud rate: closes, reopens and restores an active watch.",[158,332,333,338],{},[173,334,335],{},[126,336,337],{},"close(): Promise\u003Cvoid>",[173,339,340],{},"Stop the watch and auto-reconnect, cancel a pending read and close the port.",[158,342,343,348],{},[173,344,345],{},[126,346,347],{},"enableAutoReconnect(options: AutoReconnectOptions = {}): void",[173,349,350,351,354,355,358,359,362],{},"Reopen (and re-watch) after a disconnect every ",[126,352,353],{},"interval"," ms (default 5000), up to ",[126,356,357],{},"maxAttempts"," (default 10, ",[126,360,361],{},"null"," = unlimited).",[158,364,365,370],{},[173,366,367],{},[126,368,369],{},"disableAutoReconnect(): void",[173,371,372],{},"Stop auto-reconnect and forget the saved watch session.",[158,374,375,380],{},[173,376,377],{},[126,378,379],{},"getAutoReconnectInfo(): AutoReconnectInfo",[173,381,382],{},"Current auto-reconnect settings and attempt count.",[158,384,385,390],{},[173,386,387],{},[126,388,389],{},"manualReconnect(): Promise\u003Cboolean>",[173,391,392,393,396],{},"Reopen now and restore the saved watch; resolves ",[126,394,395],{},"false"," instead of throwing on failure.",[158,398,399,404],{},[173,400,401],{},[126,402,403],{},"open(): Promise\u003Cstring>",[173,405,406,407,410,411,414],{},"Open the port with the constructor settings. Resolves to the canonical path (e.g. a ",[126,408,409],{},"tcp:\u002F\u002F"," or ",[126,412,413],{},"ble:\u002F\u002F"," path as the native side names it).",[158,416,417,422],{},[173,418,419],{},[126,420,421],{},"read(options?: ReadOptions): Promise\u003Cstring>",[173,423,424,425,427,428,431,432,435],{},"Read up to ",[126,426,308],{}," bytes within ",[126,429,430],{},"timeout"," ms and decode them with ",[126,433,434],{},"encoding"," (a split multi-byte character is kept for the next read). Not allowed while a watch is active.",[158,437,438,443],{},[173,439,440],{},[126,441,442],{},"readBinary(options?: ReadOptions): Promise\u003CUint8Array>",[173,444,445,446,448,449,451],{},"Read raw bytes: waits up to ",[126,447,430],{}," ms to fill ",[126,450,308],{}," bytes, resolves with what arrived, rejects if nothing did. Not allowed while a watch is active.",[158,453,454,459],{},[173,455,456],{},[126,457,458],{},"setBaudRate(value: number | BaudRate): Promise\u003Cvoid>",[173,460,461],{},"Change the baud rate of the open port (kept for reopen).",[158,463,464,469],{},[173,465,466],{},[126,467,468],{},"setDataBits(value: DataBits): Promise\u003Cvoid>",[173,470,471],{},"Change the data bits of the open port (kept for reopen).",[158,473,474,479],{},[173,475,476],{},[126,477,478],{},"setFlowControl(value: FlowControl): Promise\u003Cvoid>",[173,480,481],{},"Change flow control of the open port (kept for reopen).",[158,483,484,489],{},[173,485,486],{},[126,487,488],{},"setParity(value: Parity): Promise\u003Cvoid>",[173,490,491],{},"Change parity of the open port (kept for reopen).",[158,493,494,499],{},[173,495,496],{},[126,497,498],{},"setStopBits(value: StopBits): Promise\u003Cvoid>",[173,500,501],{},"Change stop bits of the open port (kept for reopen).",[158,503,504,509],{},[173,505,506],{},[126,507,508],{},"setTimeout(value: number): Promise\u003Cvoid>",[173,510,511],{},"Change the port read\u002Fwrite timeout in ms (kept for reopen).",[158,513,514,519],{},[173,515,516],{},[126,517,518],{},"writeRequestToSend(level: boolean): Promise\u003Cvoid>",[173,520,521],{},"Set the RTS line.",[158,523,524,529],{},[173,525,526],{},[126,527,528],{},"writeDataTerminalReady(level: boolean): Promise\u003Cvoid>",[173,530,531],{},"Set the DTR line.",[158,533,534,539],{},[173,535,536],{},[126,537,538],{},"readClearToSend(): Promise\u003Cboolean>",[173,540,541],{},"Read the CTS line.",[158,543,544,549],{},[173,545,546],{},[126,547,548],{},"readDataSetReady(): Promise\u003Cboolean>",[173,550,551],{},"Read the DSR line.",[158,553,554,559],{},[173,555,556],{},[126,557,558],{},"readRingIndicator(): Promise\u003Cboolean>",[173,560,561],{},"Read the RI line.",[158,563,564,569],{},[173,565,566],{},[126,567,568],{},"readCarrierDetect(): Promise\u003Cboolean>",[173,570,571],{},"Read the CD line.",[158,573,574,579],{},[173,575,576],{},[126,577,578],{},"bytesToRead(): Promise\u003Cnumber>",[173,580,581],{},"Bytes waiting in the input buffer.",[158,583,584,589],{},[173,585,586],{},[126,587,588],{},"bytesToWrite(): Promise\u003Cnumber>",[173,590,591],{},"Bytes still waiting in the output buffer.",[158,593,594,599],{},[173,595,596],{},[126,597,598],{},"clearBuffer(buffer: ClearBuffer): Promise\u003Cvoid>",[173,600,601],{},"Discard the input, output or both buffers.",[158,603,604,609],{},[173,605,606],{},[126,607,608],{},"exchange(value: string, options?: ExchangeOptions): Promise\u003CExchangeResponse>",[173,610,611,612,615],{},"Write and read until terminators, idle silence, or timeout (native ",[126,613,614],{},"exchange",").",[158,617,618,623],{},[173,619,620],{},[126,621,622],{},"exchangeBinary(value: Uint8Array, options?: ExchangeOptions): Promise\u003CExchangeResponse>",[173,624,625],{},"Binary write + read-until (e.g. CMGS PDU + Ctrl+Z).",[158,627,628,633],{},[173,629,630],{},[126,631,632],{},"enableMux(options?: { command?: string; timeoutMs?: number; }): Promise\u003Cvoid>",[173,634,635],{},"Enter GSM 07.10 CMUX mode on this physical port.",[158,637,638,643],{},[173,639,640],{},[126,641,642],{},"openMuxChannel(dlci: number): Promise\u003CSerialPort>",[173,644,645,646,150],{},"Open a virtual AT\u002Fdata channel after CMUX is enabled. Returns a new ",[126,647,60],{},[158,649,650,655],{},[173,651,652],{},[126,653,654],{},"disableMux(): Promise\u003Cvoid>",[173,656,657],{},"Tear down CMUX and close all virtual channels on this physical port.",[158,659,660,665],{},[173,661,662],{},[126,663,664],{},"cancelExchange(): Promise\u003Cvoid>",[173,666,667],{},"Cancel an in-flight exchange \u002F AT job on this port.",[158,669,670,675],{},[173,671,672],{},[126,673,674],{},"cancelAt(): Promise\u003Cvoid>",[173,676,677,678,684],{},"Alias for ",[679,680,681],"span",{},[126,682,683],{},"cancelExchange"," — cancels native AT transaction queue.",[158,686,687,692],{},[173,688,689],{},[126,690,691],{},"configureAtSession(session: AtSessionOptions): Promise\u003Cvoid>",[173,693,694,695,150],{},"Configure AT session defaults (native queue). Call after open if not using constructor ",[126,696,697],{},"atSession",[158,699,700,705],{},[173,701,702],{},[126,703,704],{},"sendAt(command: string, options?: AtCommandOptions): Promise\u003CAtCommandResult>",[173,706,707],{},"Send one AT command through the native FIFO queue.",[158,709,710,715],{},[173,711,712],{},[126,713,714],{},"sendAtPhases(phases: AtPhase[]): Promise\u003CAtCommandResult[]>",[173,716,717],{},"Multi-phase AT flow (e.g. CMGS) as one atomic native queue job.",[158,719,720,725],{},[173,721,722],{},[126,723,724],{},"sendSmsPdu(length: number, pdu: Uint8Array, options?: SendSmsPduOptions): Promise\u003CAtCommandResult[]>",[173,726,727,728,731,732,735],{},"Built-in CMGS recipe: ",[126,729,730],{},"AT+CMGS=n"," → ",[126,733,734],{},">"," → PDU + Ctrl+Z.",[158,737,738,743],{},[173,739,740],{},[126,741,742],{},"setBreak(): Promise\u003Cvoid>",[173,744,745],{},"Start a break condition on TX.",[158,747,748,753],{},[173,749,750],{},[126,751,752],{},"clearBreak(): Promise\u003Cvoid>",[173,754,755],{},"End the break condition.",[158,757,758,763],{},[173,759,760],{},[126,761,762],{},"write(value: string): Promise\u003Cnumber>",[173,764,765],{},"Write a string (UTF-8). Resolves to the number of bytes written.",[158,767,768,773],{},[173,769,770],{},[126,771,772],{},"writeBinary(value: Uint8Array | number[]): Promise\u003Cnumber>",[173,774,775],{},"Write raw bytes. Resolves to the number of bytes written.",[777,778,780],"h2",{"id":779},"constructor","Constructor",[782,783,785],"h3",{"id":784},"new-serialport",[126,786,787],{},"new SerialPort()",[789,790,795],"pre",{"className":791,"code":792,"language":793,"meta":794,"style":794},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","constructor(options: SerialportOptions)\n","ts","",[126,796,797],{"__ignoreMap":794},[679,798,801,804],{"class":799,"line":800},"line",1,[679,802,779],{"class":803},"s2Zo4",[679,805,807],{"class":806},"sTEyZ","(options: SerialportOptions)\n",[122,809,810,811,150],{},"Describe a port; nothing is opened until ",[126,812,813],{},"open()",[777,815,817],{"id":816},"properties","Properties",[782,819,821],{"id":820},"isopen",[126,822,823],{},"isOpen",[789,825,827],{"className":791,"code":826,"language":793,"meta":794,"style":794},"isOpen: boolean\n",[126,828,829],{"__ignoreMap":794},[679,830,831,834,838],{"class":799,"line":800},[679,832,823],{"class":833},"sBMFI",[679,835,837],{"class":836},"sMK4o",":",[679,839,840],{"class":806}," boolean\n",[782,842,843],{"id":434},[126,844,434],{},[789,846,848],{"className":791,"code":847,"language":793,"meta":794,"style":794},"encoding: string\n",[126,849,850],{"__ignoreMap":794},[679,851,852,854,856],{"class":799,"line":800},[679,853,434],{"class":833},[679,855,837],{"class":836},[679,857,858],{"class":806}," string\n",[782,860,862],{"id":861},"options",[126,863,861],{},[789,865,867],{"className":791,"code":866,"language":793,"meta":794,"style":794},"options: Options\n",[126,868,869],{"__ignoreMap":794},[679,870,871,873,875],{"class":799,"line":800},[679,872,861],{"class":833},[679,874,837],{"class":836},[679,876,877],{"class":806}," Options\n",[782,879,880],{"id":308},[126,881,308],{},[789,883,885],{"className":791,"code":884,"language":793,"meta":794,"style":794},"get size(): number\n",[126,886,887],{"__ignoreMap":794},[679,888,889,892,894],{"class":799,"line":800},[679,890,891],{"class":806},"get ",[679,893,308],{"class":803},[679,895,896],{"class":806},"(): number\n",[122,898,899,900,902],{},"Default read chunk size in bytes (",[126,901,308],{}," option, 1024 if unset).",[782,904,906],{"id":905},"activewatch",[126,907,908],{},"activeWatch",[789,910,912],{"className":791,"code":911,"language":793,"meta":794,"style":794},"get activeWatch(): WatchHandle | null\n",[126,913,914],{"__ignoreMap":794},[679,915,916,918,920,923,926],{"class":799,"line":800},[679,917,891],{"class":806},[679,919,908],{"class":803},[679,921,922],{"class":806},"(): WatchHandle ",[679,924,925],{"class":836},"|",[679,927,928],{"class":836}," null\n",[122,930,931],{},"Active watch handle, if any.",[777,933,935],{"id":934},"static-methods","Static methods",[782,937,939],{"id":938},"serialportgetcapabilities",[126,940,941],{},"SerialPort.getCapabilities()",[789,943,945],{"className":791,"code":944,"language":793,"meta":794,"style":794},"static async getCapabilities(): Promise\u003CCapabilities>\n",[126,946,947],{"__ignoreMap":794},[679,948,949,952,955,958,961,964,967],{"class":799,"line":800},[679,950,951],{"class":806},"static async ",[679,953,954],{"class":803},"getCapabilities",[679,956,957],{"class":806},"(): ",[679,959,960],{"class":833},"Promise",[679,962,963],{"class":836},"\u003C",[679,965,966],{"class":806},"Capabilities",[679,968,969],{"class":836},">\n",[122,971,180],{},[782,973,975],{"id":974},"serialportavailable_ports",[126,976,977],{},"SerialPort.available_ports()",[789,979,981],{"className":791,"code":980,"language":793,"meta":794,"style":794},"static async available_ports(options?: AvailablePortsOptions): Promise\u003CRecord\u003Cstring, PortInfo>>\n",[126,982,983],{"__ignoreMap":794},[679,984,985,987,990,993,996,999,1001,1003,1006,1008,1011,1014,1017],{"class":799,"line":800},[679,986,951],{"class":806},[679,988,989],{"class":803},"available_ports",[679,991,992],{"class":806},"(options",[679,994,995],{"class":836},"?:",[679,997,998],{"class":806}," AvailablePortsOptions): ",[679,1000,960],{"class":833},[679,1002,963],{"class":836},[679,1004,1005],{"class":806},"Record",[679,1007,963],{"class":836},[679,1009,1010],{"class":806},"string",[679,1012,1013],{"class":836},",",[679,1015,1016],{"class":806}," PortInfo",[679,1018,1019],{"class":836},">>\n",[122,1021,190,1022,194],{},[126,1023,193],{},[782,1025,1027],{"id":1026},"serialportwatchavailableports",[126,1028,1029],{},"SerialPort.watchAvailablePorts()",[789,1031,1033],{"className":791,"code":1032,"language":793,"meta":794,"style":794},"static async watchAvailablePorts(handlers: WatchPortsHandlers, options?: WatchPortsOptions): Promise\u003CWatchHandle>\n",[126,1034,1035],{"__ignoreMap":794},[679,1036,1037,1039,1042,1045,1047,1050,1052,1055,1057,1059,1062],{"class":799,"line":800},[679,1038,951],{"class":806},[679,1040,1041],{"class":803},"watchAvailablePorts",[679,1043,1044],{"class":806},"(handlers: WatchPortsHandlers",[679,1046,1013],{"class":836},[679,1048,1049],{"class":806}," options",[679,1051,995],{"class":836},[679,1053,1054],{"class":806}," WatchPortsOptions): ",[679,1056,960],{"class":833},[679,1058,963],{"class":836},[679,1060,1061],{"class":806},"WatchHandle",[679,1063,969],{"class":836},[122,1065,1066,1067,208,1069,212,1071,216],{},"Subscribe to available-port hotplug (attach\u002Fdetach). Sends an initial snapshot,\nthen ",[126,1068,207],{},[126,1070,211],{},[126,1072,215],{},[782,1074,1076],{"id":1075},"serialportscanbleports",[126,1077,1078],{},"SerialPort.scanBlePorts()",[789,1080,1082],{"className":791,"code":1081,"language":793,"meta":794,"style":794},"static async scanBlePorts(options?: { timeoutMs?: number }): Promise\u003CRecord\u003Cstring, BlePortInfo>>\n",[126,1083,1084],{"__ignoreMap":794},[679,1085,1086,1088,1091,1093,1095,1098,1101,1103,1106,1109,1112,1114,1116,1118,1120,1122,1124,1127],{"class":799,"line":800},[679,1087,951],{"class":806},[679,1089,1090],{"class":803},"scanBlePorts",[679,1092,992],{"class":806},[679,1094,995],{"class":836},[679,1096,1097],{"class":836}," {",[679,1099,1100],{"class":806}," timeoutMs?",[679,1102,837],{"class":836},[679,1104,1105],{"class":806}," number ",[679,1107,1108],{"class":836},"}",[679,1110,1111],{"class":806},"): ",[679,1113,960],{"class":833},[679,1115,963],{"class":836},[679,1117,1005],{"class":806},[679,1119,963],{"class":836},[679,1121,1010],{"class":806},[679,1123,1013],{"class":836},[679,1125,1126],{"class":806}," BlePortInfo",[679,1128,1019],{"class":836},[122,1130,1131,1132,230,1134,1136,1137,238],{},"Scan for Bluetooth LE devices that advertise the Nordic UART Service (desktop, iOS\nand Android; the Rust side needs the plugin's ",[126,1133,229],{},[126,1135,233],{}," paths\nthat ",[126,1138,237],{},[782,1140,1142],{"id":1141},"serialportmanaged_ports",[126,1143,1144],{},"SerialPort.managed_ports()",[789,1146,1148],{"className":791,"code":1147,"language":793,"meta":794,"style":794},"static async managed_ports(): Promise\u003Cstring[]>\n",[126,1149,1150],{"__ignoreMap":794},[679,1151,1152,1154,1157,1159,1161,1163,1166],{"class":799,"line":800},[679,1153,951],{"class":806},[679,1155,1156],{"class":803},"managed_ports",[679,1158,957],{"class":806},[679,1160,960],{"class":833},[679,1162,963],{"class":836},[679,1164,1165],{"class":806},"string[]",[679,1167,969],{"class":836},[122,1169,248],{},[782,1171,1173],{"id":1172},"serialportforceclose",[126,1174,1175],{},"SerialPort.forceClose()",[789,1177,1179],{"className":791,"code":1178,"language":793,"meta":794,"style":794},"static async forceClose(path: string): Promise\u003Cvoid>\n",[126,1180,1181],{"__ignoreMap":794},[679,1182,1183,1185,1188,1191,1193],{"class":799,"line":800},[679,1184,951],{"class":806},[679,1186,1187],{"class":803},"forceClose",[679,1189,1190],{"class":806},"(path: string): ",[679,1192,960],{"class":833},[679,1194,1195],{"class":836},"\u003Cvoid>\n",[122,1197,258,1198,261],{},[126,1199,60],{},[782,1201,1203],{"id":1202},"serialportcloseall",[126,1204,1205],{},"SerialPort.closeAll()",[789,1207,1209],{"className":791,"code":1208,"language":793,"meta":794,"style":794},"static async closeAll(): Promise\u003Cvoid>\n",[126,1210,1211],{"__ignoreMap":794},[679,1212,1213,1215,1218,1220,1222],{"class":799,"line":800},[679,1214,951],{"class":806},[679,1216,1217],{"class":803},"closeAll",[679,1219,957],{"class":806},[679,1221,960],{"class":833},[679,1223,1195],{"class":836},[122,1225,271],{},[782,1227,1229],{"id":1228},"serialportsetloglevel",[126,1230,1231],{},"SerialPort.setLogLevel()",[789,1233,1235],{"className":791,"code":1234,"language":793,"meta":794,"style":794},"static async setLogLevel(level: LogLevel): Promise\u003Cvoid>\n",[126,1236,1237],{"__ignoreMap":794},[679,1238,1239,1241,1244,1247,1249],{"class":799,"line":800},[679,1240,951],{"class":806},[679,1242,1243],{"class":803},"setLogLevel",[679,1245,1246],{"class":806},"(level: LogLevel): ",[679,1248,960],{"class":833},[679,1250,1195],{"class":836},[122,1252,281],{},[782,1254,1256],{"id":1255},"serialportgetloglevel",[126,1257,1258],{},"SerialPort.getLogLevel()",[789,1260,1262],{"className":791,"code":1261,"language":793,"meta":794,"style":794},"static async getLogLevel(): Promise\u003CLogLevel>\n",[126,1263,1264],{"__ignoreMap":794},[679,1265,1266,1268,1271,1273,1275,1277,1280],{"class":799,"line":800},[679,1267,951],{"class":806},[679,1269,1270],{"class":803},"getLogLevel",[679,1272,957],{"class":806},[679,1274,960],{"class":833},[679,1276,963],{"class":836},[679,1278,1279],{"class":806},"LogLevel",[679,1281,969],{"class":836},[122,1283,291],{},[777,1285,1287],{"id":1286},"instance-methods","Instance methods",[782,1289,1291],{"id":1290},"watch",[126,1292,1293],{},"watch()",[789,1295,1297],{"className":791,"code":1296,"language":793,"meta":794,"style":794},"async watch(handlers: WatchHandlers, options?: WatchOptions): Promise\u003CWatchHandle>\n",[126,1298,1299],{"__ignoreMap":794},[679,1300,1301,1304,1306,1309,1311,1313,1315,1318,1320,1322,1324],{"class":799,"line":800},[679,1302,1303],{"class":806},"async ",[679,1305,1290],{"class":803},[679,1307,1308],{"class":806},"(handlers: WatchHandlers",[679,1310,1013],{"class":836},[679,1312,1049],{"class":806},[679,1314,995],{"class":836},[679,1316,1317],{"class":806}," WatchOptions): ",[679,1319,960],{"class":833},[679,1321,963],{"class":836},[679,1323,1061],{"class":806},[679,1325,969],{"class":836},[122,1327,1328,1329,305,1331,1333,1334,312,1336,316,1338,1340],{},"Stream received data through a native channel; one watch per port instance.\nWithout ",[126,1330,304],{},[126,1332,308],{}," bytes per event); with\n",[126,1335,304],{},[126,1337,315],{},[126,1339,319],{}," turns on URC routing.\nAuto-reconnect re-creates the watch with the same handlers and options.",[782,1342,1344],{"id":1343},"change",[126,1345,1346],{},"change()",[789,1348,1350],{"className":791,"code":1349,"language":793,"meta":794,"style":794},"async change(options: { path?: string; baudRate?: number }): Promise\u003Cvoid>\n",[126,1351,1352],{"__ignoreMap":794},[679,1353,1354,1356,1358,1361,1364,1367,1369,1372,1374,1376,1378,1380,1382],{"class":799,"line":800},[679,1355,1303],{"class":806},[679,1357,1343],{"class":803},[679,1359,1360],{"class":806},"(options: ",[679,1362,1363],{"class":836},"{",[679,1365,1366],{"class":806}," path?",[679,1368,837],{"class":836},[679,1370,1371],{"class":806}," string; baudRate",[679,1373,995],{"class":836},[679,1375,1105],{"class":806},[679,1377,1108],{"class":836},[679,1379,1111],{"class":806},[679,1381,960],{"class":833},[679,1383,1195],{"class":836},[122,1385,330],{},[782,1387,1389],{"id":1388},"close",[126,1390,1391],{},"close()",[789,1393,1395],{"className":791,"code":1394,"language":793,"meta":794,"style":794},"async close(): Promise\u003Cvoid>\n",[126,1396,1397],{"__ignoreMap":794},[679,1398,1399,1401,1403,1405,1407],{"class":799,"line":800},[679,1400,1303],{"class":806},[679,1402,1388],{"class":803},[679,1404,957],{"class":806},[679,1406,960],{"class":833},[679,1408,1195],{"class":836},[122,1410,340],{},[782,1412,1414],{"id":1413},"enableautoreconnect",[126,1415,1416],{},"enableAutoReconnect()",[789,1418,1420],{"className":791,"code":1419,"language":793,"meta":794,"style":794},"enableAutoReconnect(options: AutoReconnectOptions = {}): void\n",[126,1421,1422],{"__ignoreMap":794},[679,1423,1424,1427,1430,1433,1436,1438],{"class":799,"line":800},[679,1425,1426],{"class":803},"enableAutoReconnect",[679,1428,1429],{"class":806},"(options: AutoReconnectOptions ",[679,1431,1432],{"class":836},"=",[679,1434,1435],{"class":836}," {}",[679,1437,1111],{"class":806},[679,1439,1440],{"class":836},"void\n",[122,1442,350,1443,354,1445,358,1447,362],{},[126,1444,353],{},[126,1446,357],{},[126,1448,361],{},[782,1450,1452],{"id":1451},"disableautoreconnect",[126,1453,1454],{},"disableAutoReconnect()",[789,1456,1458],{"className":791,"code":1457,"language":793,"meta":794,"style":794},"disableAutoReconnect(): void\n",[126,1459,1460],{"__ignoreMap":794},[679,1461,1462,1465,1467],{"class":799,"line":800},[679,1463,1464],{"class":803},"disableAutoReconnect",[679,1466,957],{"class":806},[679,1468,1440],{"class":836},[122,1470,372],{},[782,1472,1474],{"id":1473},"getautoreconnectinfo",[126,1475,1476],{},"getAutoReconnectInfo()",[789,1478,1480],{"className":791,"code":1479,"language":793,"meta":794,"style":794},"getAutoReconnectInfo(): AutoReconnectInfo\n",[126,1481,1482],{"__ignoreMap":794},[679,1483,1484,1487],{"class":799,"line":800},[679,1485,1486],{"class":803},"getAutoReconnectInfo",[679,1488,1489],{"class":806},"(): AutoReconnectInfo\n",[122,1491,382],{},[782,1493,1495],{"id":1494},"manualreconnect",[126,1496,1497],{},"manualReconnect()",[789,1499,1501],{"className":791,"code":1500,"language":793,"meta":794,"style":794},"async manualReconnect(): Promise\u003Cboolean>\n",[126,1502,1503],{"__ignoreMap":794},[679,1504,1505,1507,1510,1512,1514,1516,1519],{"class":799,"line":800},[679,1506,1303],{"class":806},[679,1508,1509],{"class":803},"manualReconnect",[679,1511,957],{"class":806},[679,1513,960],{"class":833},[679,1515,963],{"class":836},[679,1517,1518],{"class":806},"boolean",[679,1520,969],{"class":836},[122,1522,392,1523,396],{},[126,1524,395],{},[782,1526,1528],{"id":1527},"open",[126,1529,813],{},[789,1531,1533],{"className":791,"code":1532,"language":793,"meta":794,"style":794},"async open(): Promise\u003Cstring>\n",[126,1534,1535],{"__ignoreMap":794},[679,1536,1537,1539,1541,1543,1545,1547,1549],{"class":799,"line":800},[679,1538,1303],{"class":806},[679,1540,1527],{"class":803},[679,1542,957],{"class":806},[679,1544,960],{"class":833},[679,1546,963],{"class":836},[679,1548,1010],{"class":806},[679,1550,969],{"class":836},[122,1552,406,1553,410,1555,414],{},[126,1554,409],{},[126,1556,413],{},[782,1558,1560],{"id":1559},"read",[126,1561,1562],{},"read()",[789,1564,1566],{"className":791,"code":1565,"language":793,"meta":794,"style":794},"async read(options?: ReadOptions): Promise\u003Cstring>\n",[126,1567,1568],{"__ignoreMap":794},[679,1569,1570,1572,1574,1576,1578,1581,1583,1585,1587],{"class":799,"line":800},[679,1571,1303],{"class":806},[679,1573,1559],{"class":803},[679,1575,992],{"class":806},[679,1577,995],{"class":836},[679,1579,1580],{"class":806}," ReadOptions): ",[679,1582,960],{"class":833},[679,1584,963],{"class":836},[679,1586,1010],{"class":806},[679,1588,969],{"class":836},[122,1590,424,1591,427,1593,431,1595,435],{},[126,1592,308],{},[126,1594,430],{},[126,1596,434],{},[782,1598,1600],{"id":1599},"readbinary",[126,1601,1602],{},"readBinary()",[789,1604,1606],{"className":791,"code":1605,"language":793,"meta":794,"style":794},"async readBinary(options?: ReadOptions): Promise\u003CUint8Array>\n",[126,1607,1608],{"__ignoreMap":794},[679,1609,1610,1612,1615,1617,1619,1621,1623,1625,1628],{"class":799,"line":800},[679,1611,1303],{"class":806},[679,1613,1614],{"class":803},"readBinary",[679,1616,992],{"class":806},[679,1618,995],{"class":836},[679,1620,1580],{"class":806},[679,1622,960],{"class":833},[679,1624,963],{"class":836},[679,1626,1627],{"class":806},"Uint8Array",[679,1629,969],{"class":836},[122,1631,445,1632,448,1634,451],{},[126,1633,430],{},[126,1635,308],{},[782,1637,1639],{"id":1638},"setbaudrate",[126,1640,1641],{},"setBaudRate()",[789,1643,1645],{"className":791,"code":1644,"language":793,"meta":794,"style":794},"async setBaudRate(value: number | BaudRate): Promise\u003Cvoid>\n",[126,1646,1647],{"__ignoreMap":794},[679,1648,1649,1651,1654,1657,1659,1662,1664],{"class":799,"line":800},[679,1650,1303],{"class":806},[679,1652,1653],{"class":803},"setBaudRate",[679,1655,1656],{"class":806},"(value: number ",[679,1658,925],{"class":836},[679,1660,1661],{"class":806}," BaudRate): ",[679,1663,960],{"class":833},[679,1665,1195],{"class":836},[122,1667,461],{},[782,1669,1671],{"id":1670},"setdatabits",[126,1672,1673],{},"setDataBits()",[789,1675,1677],{"className":791,"code":1676,"language":793,"meta":794,"style":794},"async setDataBits(value: DataBits): Promise\u003Cvoid>\n",[126,1678,1679],{"__ignoreMap":794},[679,1680,1681,1683,1686,1689,1691],{"class":799,"line":800},[679,1682,1303],{"class":806},[679,1684,1685],{"class":803},"setDataBits",[679,1687,1688],{"class":806},"(value: DataBits): ",[679,1690,960],{"class":833},[679,1692,1195],{"class":836},[122,1694,471],{},[782,1696,1698],{"id":1697},"setflowcontrol",[126,1699,1700],{},"setFlowControl()",[789,1702,1704],{"className":791,"code":1703,"language":793,"meta":794,"style":794},"async setFlowControl(value: FlowControl): Promise\u003Cvoid>\n",[126,1705,1706],{"__ignoreMap":794},[679,1707,1708,1710,1713,1716,1718],{"class":799,"line":800},[679,1709,1303],{"class":806},[679,1711,1712],{"class":803},"setFlowControl",[679,1714,1715],{"class":806},"(value: FlowControl): ",[679,1717,960],{"class":833},[679,1719,1195],{"class":836},[122,1721,481],{},[782,1723,1725],{"id":1724},"setparity",[126,1726,1727],{},"setParity()",[789,1729,1731],{"className":791,"code":1730,"language":793,"meta":794,"style":794},"async setParity(value: Parity): Promise\u003Cvoid>\n",[126,1732,1733],{"__ignoreMap":794},[679,1734,1735,1737,1740,1743,1745],{"class":799,"line":800},[679,1736,1303],{"class":806},[679,1738,1739],{"class":803},"setParity",[679,1741,1742],{"class":806},"(value: Parity): ",[679,1744,960],{"class":833},[679,1746,1195],{"class":836},[122,1748,491],{},[782,1750,1752],{"id":1751},"setstopbits",[126,1753,1754],{},"setStopBits()",[789,1756,1758],{"className":791,"code":1757,"language":793,"meta":794,"style":794},"async setStopBits(value: StopBits): Promise\u003Cvoid>\n",[126,1759,1760],{"__ignoreMap":794},[679,1761,1762,1764,1767,1770,1772],{"class":799,"line":800},[679,1763,1303],{"class":806},[679,1765,1766],{"class":803},"setStopBits",[679,1768,1769],{"class":806},"(value: StopBits): ",[679,1771,960],{"class":833},[679,1773,1195],{"class":836},[122,1775,501],{},[782,1777,1779],{"id":1778},"settimeout",[126,1780,1781],{},"setTimeout()",[789,1783,1785],{"className":791,"code":1784,"language":793,"meta":794,"style":794},"async setTimeout(value: number): Promise\u003Cvoid>\n",[126,1786,1787],{"__ignoreMap":794},[679,1788,1789,1791,1794,1797,1799],{"class":799,"line":800},[679,1790,1303],{"class":806},[679,1792,1793],{"class":803},"setTimeout",[679,1795,1796],{"class":806},"(value: number): ",[679,1798,960],{"class":833},[679,1800,1195],{"class":836},[122,1802,511],{},[782,1804,1806],{"id":1805},"writerequesttosend",[126,1807,1808],{},"writeRequestToSend()",[789,1810,1812],{"className":791,"code":1811,"language":793,"meta":794,"style":794},"async writeRequestToSend(level: boolean): Promise\u003Cvoid>\n",[126,1813,1814],{"__ignoreMap":794},[679,1815,1816,1818,1821,1824,1826],{"class":799,"line":800},[679,1817,1303],{"class":806},[679,1819,1820],{"class":803},"writeRequestToSend",[679,1822,1823],{"class":806},"(level: boolean): ",[679,1825,960],{"class":833},[679,1827,1195],{"class":836},[122,1829,521],{},[782,1831,1833],{"id":1832},"writedataterminalready",[126,1834,1835],{},"writeDataTerminalReady()",[789,1837,1839],{"className":791,"code":1838,"language":793,"meta":794,"style":794},"async writeDataTerminalReady(level: boolean): Promise\u003Cvoid>\n",[126,1840,1841],{"__ignoreMap":794},[679,1842,1843,1845,1848,1850,1852],{"class":799,"line":800},[679,1844,1303],{"class":806},[679,1846,1847],{"class":803},"writeDataTerminalReady",[679,1849,1823],{"class":806},[679,1851,960],{"class":833},[679,1853,1195],{"class":836},[122,1855,531],{},[782,1857,1859],{"id":1858},"readcleartosend",[126,1860,1861],{},"readClearToSend()",[789,1863,1865],{"className":791,"code":1864,"language":793,"meta":794,"style":794},"async readClearToSend(): Promise\u003Cboolean>\n",[126,1866,1867],{"__ignoreMap":794},[679,1868,1869,1871,1874,1876,1878,1880,1882],{"class":799,"line":800},[679,1870,1303],{"class":806},[679,1872,1873],{"class":803},"readClearToSend",[679,1875,957],{"class":806},[679,1877,960],{"class":833},[679,1879,963],{"class":836},[679,1881,1518],{"class":806},[679,1883,969],{"class":836},[122,1885,541],{},[782,1887,1889],{"id":1888},"readdatasetready",[126,1890,1891],{},"readDataSetReady()",[789,1893,1895],{"className":791,"code":1894,"language":793,"meta":794,"style":794},"async readDataSetReady(): Promise\u003Cboolean>\n",[126,1896,1897],{"__ignoreMap":794},[679,1898,1899,1901,1904,1906,1908,1910,1912],{"class":799,"line":800},[679,1900,1303],{"class":806},[679,1902,1903],{"class":803},"readDataSetReady",[679,1905,957],{"class":806},[679,1907,960],{"class":833},[679,1909,963],{"class":836},[679,1911,1518],{"class":806},[679,1913,969],{"class":836},[122,1915,551],{},[782,1917,1919],{"id":1918},"readringindicator",[126,1920,1921],{},"readRingIndicator()",[789,1923,1925],{"className":791,"code":1924,"language":793,"meta":794,"style":794},"async readRingIndicator(): Promise\u003Cboolean>\n",[126,1926,1927],{"__ignoreMap":794},[679,1928,1929,1931,1934,1936,1938,1940,1942],{"class":799,"line":800},[679,1930,1303],{"class":806},[679,1932,1933],{"class":803},"readRingIndicator",[679,1935,957],{"class":806},[679,1937,960],{"class":833},[679,1939,963],{"class":836},[679,1941,1518],{"class":806},[679,1943,969],{"class":836},[122,1945,561],{},[782,1947,1949],{"id":1948},"readcarrierdetect",[126,1950,1951],{},"readCarrierDetect()",[789,1953,1955],{"className":791,"code":1954,"language":793,"meta":794,"style":794},"async readCarrierDetect(): Promise\u003Cboolean>\n",[126,1956,1957],{"__ignoreMap":794},[679,1958,1959,1961,1964,1966,1968,1970,1972],{"class":799,"line":800},[679,1960,1303],{"class":806},[679,1962,1963],{"class":803},"readCarrierDetect",[679,1965,957],{"class":806},[679,1967,960],{"class":833},[679,1969,963],{"class":836},[679,1971,1518],{"class":806},[679,1973,969],{"class":836},[122,1975,571],{},[782,1977,1979],{"id":1978},"bytestoread",[126,1980,1981],{},"bytesToRead()",[789,1983,1985],{"className":791,"code":1984,"language":793,"meta":794,"style":794},"async bytesToRead(): Promise\u003Cnumber>\n",[126,1986,1987],{"__ignoreMap":794},[679,1988,1989,1991,1994,1996,1998,2000,2003],{"class":799,"line":800},[679,1990,1303],{"class":806},[679,1992,1993],{"class":803},"bytesToRead",[679,1995,957],{"class":806},[679,1997,960],{"class":833},[679,1999,963],{"class":836},[679,2001,2002],{"class":806},"number",[679,2004,969],{"class":836},[122,2006,581],{},[782,2008,2010],{"id":2009},"bytestowrite",[126,2011,2012],{},"bytesToWrite()",[789,2014,2016],{"className":791,"code":2015,"language":793,"meta":794,"style":794},"async bytesToWrite(): Promise\u003Cnumber>\n",[126,2017,2018],{"__ignoreMap":794},[679,2019,2020,2022,2025,2027,2029,2031,2033],{"class":799,"line":800},[679,2021,1303],{"class":806},[679,2023,2024],{"class":803},"bytesToWrite",[679,2026,957],{"class":806},[679,2028,960],{"class":833},[679,2030,963],{"class":836},[679,2032,2002],{"class":806},[679,2034,969],{"class":836},[122,2036,591],{},[782,2038,2040],{"id":2039},"clearbuffer",[126,2041,2042],{},"clearBuffer()",[789,2044,2046],{"className":791,"code":2045,"language":793,"meta":794,"style":794},"async clearBuffer(buffer: ClearBuffer): Promise\u003Cvoid>\n",[126,2047,2048],{"__ignoreMap":794},[679,2049,2050,2052,2055,2058,2060],{"class":799,"line":800},[679,2051,1303],{"class":806},[679,2053,2054],{"class":803},"clearBuffer",[679,2056,2057],{"class":806},"(buffer: ClearBuffer): ",[679,2059,960],{"class":833},[679,2061,1195],{"class":836},[122,2063,601],{},[782,2065,2066],{"id":614},[126,2067,2068],{},"exchange()",[789,2070,2072],{"className":791,"code":2071,"language":793,"meta":794,"style":794},"async exchange(value: string, options?: ExchangeOptions): Promise\u003CExchangeResponse>\n",[126,2073,2074],{"__ignoreMap":794},[679,2075,2076,2078,2080,2083,2085,2087,2089,2092,2094,2096,2099],{"class":799,"line":800},[679,2077,1303],{"class":806},[679,2079,614],{"class":803},[679,2081,2082],{"class":806},"(value: string",[679,2084,1013],{"class":836},[679,2086,1049],{"class":806},[679,2088,995],{"class":836},[679,2090,2091],{"class":806}," ExchangeOptions): ",[679,2093,960],{"class":833},[679,2095,963],{"class":836},[679,2097,2098],{"class":806},"ExchangeResponse",[679,2100,969],{"class":836},[122,2102,611,2103,615],{},[126,2104,614],{},[782,2106,2108],{"id":2107},"exchangebinary",[126,2109,2110],{},"exchangeBinary()",[789,2112,2114],{"className":791,"code":2113,"language":793,"meta":794,"style":794},"async exchangeBinary(value: Uint8Array, options?: ExchangeOptions): Promise\u003CExchangeResponse>\n",[126,2115,2116],{"__ignoreMap":794},[679,2117,2118,2120,2123,2126,2128,2130,2132,2134,2136,2138,2140],{"class":799,"line":800},[679,2119,1303],{"class":806},[679,2121,2122],{"class":803},"exchangeBinary",[679,2124,2125],{"class":806},"(value: Uint8Array",[679,2127,1013],{"class":836},[679,2129,1049],{"class":806},[679,2131,995],{"class":836},[679,2133,2091],{"class":806},[679,2135,960],{"class":833},[679,2137,963],{"class":836},[679,2139,2098],{"class":806},[679,2141,969],{"class":836},[122,2143,625],{},[782,2145,2147],{"id":2146},"enablemux",[126,2148,2149],{},"enableMux()",[789,2151,2153],{"className":791,"code":2152,"language":793,"meta":794,"style":794},"async enableMux(options?: { command?: string; timeoutMs?: number; }): Promise\u003Cvoid>\n",[126,2154,2155],{"__ignoreMap":794},[679,2156,2157,2159,2162,2164,2166,2168,2171,2173,2176,2178,2181,2183,2185,2187],{"class":799,"line":800},[679,2158,1303],{"class":806},[679,2160,2161],{"class":803},"enableMux",[679,2163,992],{"class":806},[679,2165,995],{"class":836},[679,2167,1097],{"class":836},[679,2169,2170],{"class":806}," command?",[679,2172,837],{"class":836},[679,2174,2175],{"class":806}," string; timeoutMs",[679,2177,995],{"class":836},[679,2179,2180],{"class":806}," number; ",[679,2182,1108],{"class":836},[679,2184,1111],{"class":806},[679,2186,960],{"class":833},[679,2188,1195],{"class":836},[122,2190,635],{},[782,2192,2194],{"id":2193},"openmuxchannel",[126,2195,2196],{},"openMuxChannel()",[789,2198,2200],{"className":791,"code":2199,"language":793,"meta":794,"style":794},"async openMuxChannel(dlci: number): Promise\u003CSerialPort>\n",[126,2201,2202],{"__ignoreMap":794},[679,2203,2204,2206,2209,2212,2214,2216,2218],{"class":799,"line":800},[679,2205,1303],{"class":806},[679,2207,2208],{"class":803},"openMuxChannel",[679,2210,2211],{"class":806},"(dlci: number): ",[679,2213,960],{"class":833},[679,2215,963],{"class":836},[679,2217,60],{"class":806},[679,2219,969],{"class":836},[122,2221,645,2222,150],{},[126,2223,60],{},[782,2225,2227],{"id":2226},"disablemux",[126,2228,2229],{},"disableMux()",[789,2231,2233],{"className":791,"code":2232,"language":793,"meta":794,"style":794},"async disableMux(): Promise\u003Cvoid>\n",[126,2234,2235],{"__ignoreMap":794},[679,2236,2237,2239,2242,2244,2246],{"class":799,"line":800},[679,2238,1303],{"class":806},[679,2240,2241],{"class":803},"disableMux",[679,2243,957],{"class":806},[679,2245,960],{"class":833},[679,2247,1195],{"class":836},[122,2249,657],{},[782,2251,2253],{"id":2252},"cancelexchange",[126,2254,2255],{},"cancelExchange()",[789,2257,2259],{"className":791,"code":2258,"language":793,"meta":794,"style":794},"async cancelExchange(): Promise\u003Cvoid>\n",[126,2260,2261],{"__ignoreMap":794},[679,2262,2263,2265,2267,2269,2271],{"class":799,"line":800},[679,2264,1303],{"class":806},[679,2266,683],{"class":803},[679,2268,957],{"class":806},[679,2270,960],{"class":833},[679,2272,1195],{"class":836},[122,2274,667],{},[782,2276,2278],{"id":2277},"cancelat",[126,2279,2280],{},"cancelAt()",[789,2282,2284],{"className":791,"code":2283,"language":793,"meta":794,"style":794},"async cancelAt(): Promise\u003Cvoid>\n",[126,2285,2286],{"__ignoreMap":794},[679,2287,2288,2290,2293,2295,2297],{"class":799,"line":800},[679,2289,1303],{"class":806},[679,2291,2292],{"class":803},"cancelAt",[679,2294,957],{"class":806},[679,2296,960],{"class":833},[679,2298,1195],{"class":836},[122,2300,677,2301,684],{},[679,2302,2303],{},[126,2304,683],{},[782,2306,2308],{"id":2307},"configureatsession",[126,2309,2310],{},"configureAtSession()",[789,2312,2314],{"className":791,"code":2313,"language":793,"meta":794,"style":794},"async configureAtSession(session: AtSessionOptions): Promise\u003Cvoid>\n",[126,2315,2316],{"__ignoreMap":794},[679,2317,2318,2320,2323,2326,2328],{"class":799,"line":800},[679,2319,1303],{"class":806},[679,2321,2322],{"class":803},"configureAtSession",[679,2324,2325],{"class":806},"(session: AtSessionOptions): ",[679,2327,960],{"class":833},[679,2329,1195],{"class":836},[122,2331,694,2332,150],{},[126,2333,697],{},[782,2335,2337],{"id":2336},"sendat",[126,2338,2339],{},"sendAt()",[789,2341,2343],{"className":791,"code":2342,"language":793,"meta":794,"style":794},"async sendAt(command: string, options?: AtCommandOptions): Promise\u003CAtCommandResult>\n",[126,2344,2345],{"__ignoreMap":794},[679,2346,2347,2349,2352,2355,2357,2359,2361,2364,2366,2368,2371],{"class":799,"line":800},[679,2348,1303],{"class":806},[679,2350,2351],{"class":803},"sendAt",[679,2353,2354],{"class":806},"(command: string",[679,2356,1013],{"class":836},[679,2358,1049],{"class":806},[679,2360,995],{"class":836},[679,2362,2363],{"class":806}," AtCommandOptions): ",[679,2365,960],{"class":833},[679,2367,963],{"class":836},[679,2369,2370],{"class":806},"AtCommandResult",[679,2372,969],{"class":836},[122,2374,707],{},[782,2376,2378],{"id":2377},"sendatphases",[126,2379,2380],{},"sendAtPhases()",[789,2382,2384],{"className":791,"code":2383,"language":793,"meta":794,"style":794},"async sendAtPhases(phases: AtPhase[]): Promise\u003CAtCommandResult[]>\n",[126,2385,2386],{"__ignoreMap":794},[679,2387,2388,2390,2393,2396,2398,2400,2403],{"class":799,"line":800},[679,2389,1303],{"class":806},[679,2391,2392],{"class":803},"sendAtPhases",[679,2394,2395],{"class":806},"(phases: AtPhase[]): ",[679,2397,960],{"class":833},[679,2399,963],{"class":836},[679,2401,2402],{"class":806},"AtCommandResult[]",[679,2404,969],{"class":836},[122,2406,717],{},[782,2408,2410],{"id":2409},"sendsmspdu",[126,2411,2412],{},"sendSmsPdu()",[789,2414,2416],{"className":791,"code":2415,"language":793,"meta":794,"style":794},"async sendSmsPdu(length: number, pdu: Uint8Array, options?: SendSmsPduOptions): Promise\u003CAtCommandResult[]>\n",[126,2417,2418],{"__ignoreMap":794},[679,2419,2420,2422,2425,2428,2430,2433,2435,2437,2439,2442,2444,2446,2448],{"class":799,"line":800},[679,2421,1303],{"class":806},[679,2423,2424],{"class":803},"sendSmsPdu",[679,2426,2427],{"class":806},"(length: number",[679,2429,1013],{"class":836},[679,2431,2432],{"class":806}," pdu: Uint8Array",[679,2434,1013],{"class":836},[679,2436,1049],{"class":806},[679,2438,995],{"class":836},[679,2440,2441],{"class":806}," SendSmsPduOptions): ",[679,2443,960],{"class":833},[679,2445,963],{"class":836},[679,2447,2402],{"class":806},[679,2449,969],{"class":836},[122,2451,727,2452,731,2454,735],{},[126,2453,730],{},[126,2455,734],{},[782,2457,2459],{"id":2458},"setbreak",[126,2460,2461],{},"setBreak()",[789,2463,2465],{"className":791,"code":2464,"language":793,"meta":794,"style":794},"async setBreak(): Promise\u003Cvoid>\n",[126,2466,2467],{"__ignoreMap":794},[679,2468,2469,2471,2474,2476,2478],{"class":799,"line":800},[679,2470,1303],{"class":806},[679,2472,2473],{"class":803},"setBreak",[679,2475,957],{"class":806},[679,2477,960],{"class":833},[679,2479,1195],{"class":836},[122,2481,745],{},[782,2483,2485],{"id":2484},"clearbreak",[126,2486,2487],{},"clearBreak()",[789,2489,2491],{"className":791,"code":2490,"language":793,"meta":794,"style":794},"async clearBreak(): Promise\u003Cvoid>\n",[126,2492,2493],{"__ignoreMap":794},[679,2494,2495,2497,2500,2502,2504],{"class":799,"line":800},[679,2496,1303],{"class":806},[679,2498,2499],{"class":803},"clearBreak",[679,2501,957],{"class":806},[679,2503,960],{"class":833},[679,2505,1195],{"class":836},[122,2507,755],{},[782,2509,2511],{"id":2510},"write",[126,2512,2513],{},"write()",[789,2515,2517],{"className":791,"code":2516,"language":793,"meta":794,"style":794},"async write(value: string): Promise\u003Cnumber>\n",[126,2518,2519],{"__ignoreMap":794},[679,2520,2521,2523,2525,2528,2530,2532,2534],{"class":799,"line":800},[679,2522,1303],{"class":806},[679,2524,2510],{"class":803},[679,2526,2527],{"class":806},"(value: string): ",[679,2529,960],{"class":833},[679,2531,963],{"class":836},[679,2533,2002],{"class":806},[679,2535,969],{"class":836},[122,2537,765],{},[782,2539,2541],{"id":2540},"writebinary",[126,2542,2543],{},"writeBinary()",[789,2545,2547],{"className":791,"code":2546,"language":793,"meta":794,"style":794},"async writeBinary(value: Uint8Array | number[]): Promise\u003Cnumber>\n",[126,2548,2549],{"__ignoreMap":794},[679,2550,2551,2553,2556,2559,2561,2564,2566,2568,2570],{"class":799,"line":800},[679,2552,1303],{"class":806},[679,2554,2555],{"class":803},"writeBinary",[679,2557,2558],{"class":806},"(value: Uint8Array ",[679,2560,925],{"class":836},[679,2562,2563],{"class":806}," number[]): ",[679,2565,960],{"class":833},[679,2567,963],{"class":836},[679,2569,2002],{"class":806},[679,2571,969],{"class":836},[122,2573,775],{},[2575,2576,2577],"style",{},"html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}",{"title":794,"searchDepth":2579,"depth":2580,"links":2581},2,3,[2582,2585,2592,2603],{"id":779,"depth":2579,"text":780,"children":2583},[2584],{"id":784,"depth":2580,"text":787},{"id":816,"depth":2579,"text":817,"children":2586},[2587,2588,2589,2590,2591],{"id":820,"depth":2580,"text":823},{"id":434,"depth":2580,"text":434},{"id":861,"depth":2580,"text":861},{"id":308,"depth":2580,"text":308},{"id":905,"depth":2580,"text":908},{"id":934,"depth":2579,"text":935,"children":2593},[2594,2595,2596,2597,2598,2599,2600,2601,2602],{"id":938,"depth":2580,"text":941},{"id":974,"depth":2580,"text":977},{"id":1026,"depth":2580,"text":1029},{"id":1075,"depth":2580,"text":1078},{"id":1141,"depth":2580,"text":1144},{"id":1172,"depth":2580,"text":1175},{"id":1202,"depth":2580,"text":1205},{"id":1228,"depth":2580,"text":1231},{"id":1255,"depth":2580,"text":1258},{"id":1286,"depth":2579,"text":1287,"children":2604},[2605,2606,2607,2608,2609,2610,2611,2612,2613,2614,2615,2616,2617,2618,2619,2620,2621,2622,2623,2624,2625,2626,2627,2628,2629,2630,2631,2632,2633,2634,2635,2636,2637,2638,2639,2640,2641,2642,2643,2644],{"id":1290,"depth":2580,"text":1293},{"id":1343,"depth":2580,"text":1346},{"id":1388,"depth":2580,"text":1391},{"id":1413,"depth":2580,"text":1416},{"id":1451,"depth":2580,"text":1454},{"id":1473,"depth":2580,"text":1476},{"id":1494,"depth":2580,"text":1497},{"id":1527,"depth":2580,"text":813},{"id":1559,"depth":2580,"text":1562},{"id":1599,"depth":2580,"text":1602},{"id":1638,"depth":2580,"text":1641},{"id":1670,"depth":2580,"text":1673},{"id":1697,"depth":2580,"text":1700},{"id":1724,"depth":2580,"text":1727},{"id":1751,"depth":2580,"text":1754},{"id":1778,"depth":2580,"text":1781},{"id":1805,"depth":2580,"text":1808},{"id":1832,"depth":2580,"text":1835},{"id":1858,"depth":2580,"text":1861},{"id":1888,"depth":2580,"text":1891},{"id":1918,"depth":2580,"text":1921},{"id":1948,"depth":2580,"text":1951},{"id":1978,"depth":2580,"text":1981},{"id":2009,"depth":2580,"text":2012},{"id":2039,"depth":2580,"text":2042},{"id":614,"depth":2580,"text":2068},{"id":2107,"depth":2580,"text":2110},{"id":2146,"depth":2580,"text":2149},{"id":2193,"depth":2580,"text":2196},{"id":2226,"depth":2580,"text":2229},{"id":2252,"depth":2580,"text":2255},{"id":2277,"depth":2580,"text":2280},{"id":2307,"depth":2580,"text":2310},{"id":2336,"depth":2580,"text":2339},{"id":2377,"depth":2580,"text":2380},{"id":2409,"depth":2580,"text":2412},{"id":2458,"depth":2580,"text":2461},{"id":2484,"depth":2580,"text":2487},{"id":2510,"depth":2580,"text":2513},{"id":2540,"depth":2580,"text":2543},"Every public member of the SerialPort class, generated from guest-js\u002Fserial-port.ts.","md",true,null,{},{"title":60,"description":2645},"kbFMRxPj-BluwWddPvIqiwSoLoWuBpYqj7-pYwdC3K8",[2653,2655],{"title":50,"path":51,"stem":52,"description":2654,"children":-1},"Native framing for watch(): one data event per complete frame, Node serialport parser semantics.",{"title":64,"path":65,"stem":66,"description":2656,"children":-1},"Enums, option and result types of tauri-plugin-serialplugin-api, generated from guest-js\u002Ftypes.ts.",1794158000993]