Skip to content

Commit

Permalink
feat(ble): add readRSSI method (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMochito authored and ihadeed committed Mar 20, 2017
1 parent d0c0413 commit 26db2cf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/plugins/ble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}

0 comments on commit 26db2cf

Please sign in to comment.