ArduinoBLE - BLE.rssi()

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

Syntax

BLE.rssi()

Parameters

None

Returns

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

Example


  if (BLE.connected()) {
    

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