public override void ReadRequestReceived(CBPeripheralManager peripheral, CBATTRequest request) { try { if (request.Characteristic.Service.UUID.Equals(_service.UUID) && request.Characteristic.UUID.Equals(_characteristic.UUID)) { // fill in the characteristic value for the request and return it to the central request.Value = _characteristic.Value; peripheral.RespondToRequest(request, CBATTError.Success); } else { peripheral.RespondToRequest(request, CBATTError.RequestNotSupported); } } catch (Exception ex) { SensusServiceHelper.Get().Logger.Log("Exception while servicing read request: " + ex.Message, LoggingLevel.Normal, GetType()); } }