[{"data":1,"prerenderedAt":296},["ShallowReactive",2],{"navigation":3,"\u002Fgetting-started\u002Fintroduction":116,"\u002Fgetting-started\u002Fintroduction-surround":293},[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":11,"body":118,"description":286,"extension":287,"generated":26,"links":288,"meta":289,"navigation":290,"path":12,"seo":291,"stem":13,"__hash__":292},"docs\u002F1.getting-started\u002F1.introduction.md",{"type":119,"value":120,"toc":281},"minimark",[121,125,167,240,261],[122,123,124],"p",{},"Serial ports for Tauri 2 apps: desktop COM\u002Ftty ports, USB-serial adapters on\nAndroid, and serial over TCP or Bluetooth LE — including on iOS.",[126,127,128,141,147,153],"ul",{},[129,130,131,135,136,140],"li",{},[132,133,134],"strong",{},"One API everywhere:"," open, stream with ",[137,138,139],"code",{},"watch()",", read\u002Fwrite, line settings,\nmodem lines, hotplug, auto-reconnect.",[129,142,143,146],{},[132,144,145],{},"Modems built in:"," a native AT command queue with structured results, URCs,\nSMS (PDU) and GSM 07.10 \u002F 27.010 CMUX.",[129,148,149,152],{},[132,150,151],{},"Android without Java libraries:"," USB-serial drivers in Rust (FTDI, CP210x,\nPL2303, CH34x, CDC-ACM, …).",[129,154,155,158,159,162,163,166],{},[132,156,157],{},"Network and radio transports:"," ",[137,160,161],{},"tcp:\u002F\u002Fhost:port"," to a serial bridge,\n",[137,164,165],{},"ble:\u002F\u002F\u003Cid>"," to Nordic UART devices.",[168,169,170,192],"table",{},[171,172,173],"thead",{},[174,175,176,179,182,187],"tr",{},[177,178],"th",{},[177,180,181],{},"Local ports",[177,183,184],{},[137,185,186],{},"tcp:\u002F\u002F",[177,188,189],{},[137,190,191],{},"ble:\u002F\u002F",[193,194,195,213,227],"tbody",{},[174,196,197,201,204,206],{},[198,199,200],"td",{},"Windows · macOS · Linux",[198,202,203],{},"✅",[198,205,203],{},[198,207,208,209,212],{},"✅ (feature ",[137,210,211],{},"ble",")",[174,214,215,218,221,223],{},[198,216,217],{},"Android",[198,219,220],{},"✅ USB host",[198,222,203],{},[198,224,208,225,212],{},[137,226,211],{},[174,228,229,231,234,236],{},[198,230,93],{},[198,232,233],{},"— (no OS API)",[198,235,203],{},[198,237,208,238,212],{},[137,239,211],{},[122,241,242,243,252,253,260],{},"The plugin is two packages: the Rust crate\n",[244,245,249],"a",{"href":246,"rel":247},"https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftauri-plugin-serialplugin",[248],"nofollow",[137,250,251],{},"tauri-plugin-serialplugin","\nand the npm package\n",[244,254,257],{"href":255,"rel":256},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Ftauri-plugin-serialplugin-api",[248],[137,258,259],{},"tauri-plugin-serialplugin-api",".",[122,262,263,266,267,270,271,274,275,277,278,260],{},[132,264,265],{},"Upgrading from v3?"," Rust command functions are now ",[137,268,269],{},"async",", ",[137,272,273],{},"read()"," decodes in\nJS, ",[137,276,139],{}," batches every ~20 ms; see the ",[244,279,280],{"href":110},"migration guide",{"title":282,"searchDepth":283,"depth":284,"links":285},"",2,3,[],"What the plugin does and where each transport works.","md",null,{},true,{"title":11,"description":286},"FWxmrPKIpEvbea_jynDgYY5nl9cd_HLi8LeCGKgeU9s",[288,294],{"title":15,"path":16,"stem":17,"description":295,"children":-1},"Add the crate and the npm package, register the plugin and allow it in a capability.",1794158000992]