feat(ble): add readRSSI method (#1189)

This commit is contained in:
Mossito 2017-03-20 21:11:37 +01:00 committed by Ibby Hadeed
parent d0c0413140
commit 26db2cfcf9

View File

@ -423,4 +423,15 @@ export class BLE {
@Cordova()
static enable(): Promise<any> { return; }
/**
* Read the RSSI value on the device connection.
*
* @param {string} deviceId UUID or MAC address of the peripheral
*
*@returns {Promise<any>}
*/
@Cordova()
static readRSSI(
deviceId: string,
): Promise<any> { return; }
}