ArduinoBLE - bleDevice.rssi()

Query the RSSI (Received signal strength indication) of the Bluetooth® Low Energy device.

Syntax

bleDevice.rssi()

Parameters

None

Returns

  • RSSI of the connected Bluetooth® Low Energy device, 127 if the Bluetooth® Low Energy device is not connected.

Example


  if (bleDevice.connected()) {
    

    Serial.print(RSSI = );
    Serial.println(bleDevice.rssi());
  }