Serial Bluetooth for Android devices
npm install android-bt-serial-capacitor-plugin
npx cap sync
getPerms(options: {}) => Promise<undefined>
Param | Type |
---|---|
options |
{} |
Returns: Promise<undefined>
bluetoothAvailable(options: {}) => Promise<undefined>
Param | Type |
---|---|
options |
{} |
Returns: Promise<undefined>
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(options: { mac: string; ssid: string; pass: string; }) => Promise<undefined>
Param | Type |
---|---|
options |
{ mac: string; ssid: string; pass: string; } |
Returns: Promise<undefined>