android-bt-serial-capacitor-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

android-bt-serial-capacitor-plugin

Serial Bluetooth for Android devices

Install

npm install android-bt-serial-capacitor-plugin
npx cap sync

API

getPerms(...)

getPerms(options: {}) => Promise<undefined>
Param Type
options {}

Returns: Promise<undefined>


bluetoothAvailable(...)

bluetoothAvailable(options: {}) => Promise<undefined>
Param Type
options {}

Returns: Promise<undefined>


getInfos(...)

getInfos(options: {}) => Promise<{ devices: [{ mac: string; addr: string; }]; networks: [{ ssid: string; is24ghz: boolean; secured: boolean; }]; }>
Param Type
options {}

Returns: Promise<{ devices: [{ mac: string; addr: string; }]; networks: [{ ssid: string; is24ghz: boolean; secured: boolean; }]; }>


connect(...)

connect(options: { mac: string; ssid: string; pass: string; }) => Promise<undefined>
Param Type
options { mac: string; ssid: string; pass: string; }

Returns: Promise<undefined>


Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i android-bt-serial-capacitor-plugin

    Weekly Downloads

    1

    Version

    0.0.4

    License

    Apache-2.0

    Unpacked Size

    18.8 kB

    Total Files

    17

    Last publish

    Collaborators

    • wintersys