feat(ble): add readRSSI method (#1189)
This commit is contained in:
parent
d0c0413140
commit
26db2cfcf9
@ -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; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user