0.0.4 • Published 3 years ago

android-bt-serial-capacitor-plugin v0.0.4

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 years ago

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>
ParamType
options{}

Returns: Promise<undefined>


bluetoothAvailable(...)

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

Returns: Promise<undefined>


getInfos(...)

getInfos(options: {}) => Promise<{ devices: [{ mac: string; addr: string; }]; networks: [{ ssid: string; is24ghz: boolean; secured: boolean; }]; }>
ParamType
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>
ParamType
options{ mac: string; ssid: string; pass: string; }

Returns: Promise<undefined>


0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago