Example #1
0
        public async Task <GattCommunicationStatus> WriteWithoutResponseAsync(byte[] value)
        {
            var writer = new DataWriter();

            writer.WriteBytes(value);
            IBuffer buffer = writer.DetachBuffer();
            GattCommunicationStatus status = (await Win10Characteristic.WriteValueAsync(buffer)).ToRXCommunicationStatus();

            return(status);
        }