private void _OnRead(object sender, CharacteristicReadRequest e)
 {
     GattServerCharacteristic.Service.Server.SendResponse(e.Device, e.RequestId, null);
 }
Esempio n. 2
0
        private void _OnRead(object sender, CharacteristicReadRequest e)
        {
            var device = e.Device;

            GattServerCharacteristic.Service.Server.SendResponse(e.Device, e.RequestId, GattServerCharacteristic.Value);
        }
 private void OnManufacturerNameStringCharacteristicRead(object sender, CharacteristicReadRequest e)
 {
     (sender as IGattServerCharacteristic).Service.Server.SendResponse(e.Device, e.RequestId, null);
 }