Exemple #1
0
		private void VerifyAttribute (object sender, AttributeValueEventArgs e)
		{
			if (e.connection == this.Connection && e.atthandle == this.AttributeHandle)
			{
				_attrValueResponse = e;
			}
		}
Exemple #2
0
		private void HandleAttributeValue (object sender, AttributeValueEventArgs e)
		{
			BlePeripheralCharacteristic characteristic;
			if (this.PeripheralMap.FindCharacteristicByHandle (e.atthandle, out characteristic))
			{
				OnCharacteristicValueChanged (this, characteristic.AttributeUUID, e.value);
			}
		}