diff --git a/src/plugins/bluetoothserial.ts b/src/plugins/bluetoothserial.ts index 2a0c67d84..beda36de5 100644 --- a/src/plugins/bluetoothserial.ts +++ b/src/plugins/bluetoothserial.ts @@ -60,6 +60,13 @@ export class BluetoothSerial { }) static connectInsecure(macAddress: string): Observable { return; } + /** + * Disconnect from the connected device + * @returns {Promise} + */ + @Cordova() + static disconnect(): Promise { return; } + /** * Writes data to the serial port * @param {any} data ArrayBuffer of data