ArduinoBLE - read()

Perform a read request for the descriptor.

Syntax

bleDescriptor.read()

Parameters

None

Returns

true, if successful, false on failure

Example


  if (descriptor.read()) {
    Serial.println("descriptor value read");

    // ...
  } else {
    Serial.println("error reading descriptor value");
  }