* @brief Get the value of a specific characteristic associated with a specific service. * @param [in] serviceUUID The service that owns the characteristic. * @param [in] characteristicUUID The characteristic whose value we wish to read. * @throws BLEUuidNotFound */
| 330 | * @throws BLEUuidNotFound |
| 331 | */ |
| 332 | String BLEClient::getValue(BLEUUID serviceUUID, BLEUUID characteristicUUID) { |
| 333 | log_v(">> getValue: serviceUUID: %s, characteristicUUID: %s", serviceUUID.toString().c_str(), characteristicUUID.toString().c_str()); |
| 334 | String ret = getService(serviceUUID)->getCharacteristic(characteristicUUID)->readValue(); |
| 335 | log_v("<<getValue"); |
| 336 | return ret; |
| 337 | } // getValue |
| 338 | |
| 339 | /** |
| 340 | * @brief Are we connected to a partner? |
nothing calls this directly
no test coverage detected