capacitor-serialport
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

serialport

ionic capacitor串口插件

Install

npm install capacitor-serialport

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


makezero()

makezero() => Promise<void>

connSerialPort(...)

connSerialPort(options: { serialPath: string; baudRate: number; flags: number; }) => Promise<void>
Param Type
options { serialPath: string; baudRate: number; flags: number; }

sendPortMsg(...)

sendPortMsg(options: { msg: string; }) => Promise<void>
Param Type
options { msg: string; }

Readme

Keywords

Package Sidebar

Install

npm i capacitor-serialport

Weekly Downloads

4

Version

0.0.11

License

ISC

Unpacked Size

29.3 kB

Total Files

30

Last publish

Collaborators

  • wjh1223745567