Skip to content

Instantly share code, notes, and snippets.

View zakorgy's full-sized avatar

Gyula Zakor zakorgy

  • Morgan Stanley, Budapest
  • Szeged, Hungary
View GitHub Profile
Finished release [optimized] target(s) in 0.14s
Running `/home/zakorgy/Work/rendy/target/release/examples/quads`
DEBUG 2019-03-28T08:27:57Z: rendy_factory::factory: Creating factory
WARN 2019-03-28T08:27:57Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_mir_surface
WARN 2019-03-28T08:27:57Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_android_surface
WARN 2019-03-28T08:27:57Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_win32_surface
WARN 2019-03-28T08:27:57Z: rendy_factory::factory: Slow safety checks are enabled! Disable them in production by enabling the 'no-slow-safety-checks' feature!
INFO 2019-03-28T08:27:57Z: rendy_factory::factory: Physical devices:
[
AdapterInfo {
diff --git a/src/bluetooth_gatt_characteristic.rs b/src/bluetooth_gatt_characteristic.rs
index f79e89a..f82ade4 100644
--- a/src/bluetooth_gatt_characteristic.rs
+++ b/src/bluetooth_gatt_characteristic.rs
@@ -92,10 +92,13 @@ impl BluetoothGATTCharacteristic {
m.append_items(&[
MessageItem::Array(
match offset {
- Some(o) => vec![MessageItem::DictEntry(Box::new("offset".into()), Box::new(o.into()))],
+ Some(o) => vec![MessageItem::DictEntry(Box::new("offset".into()),
1. letöltöd vagy 'git clone https://github.com/stampho/avr-slideshow/blob/master/avr-slideshow.pro'
2. cd avr-slideshow
3. qmake -makefile -unix -o Makefile "Config=+console" avr-slideshow.pro
(Ha nincs qmake akkor le kell tölteni egy qt-t http://www.qt.io/download/ )
4. ugyanitt kiadni a 'make' parancsot
5. 'avr-slideshow/build/release' útvonalon található majd ezután a a futtatható projekt (ez csak release nem debug verzió)
6. 'avr-slideshow/src/main.c' -t lehet módosítani a projektnek megfelelően
<table style="width:100%">
<tr>
<th colspan="3">Felsosorszoveg</th>
</tr>
<tr>
<td>valami</td>
<td>valami</td>
<td>valami</td>
</tr>
<tr>
No submodule mapping found in .gitmodules for path 'components/blurz'
Error running mach:
['build', '-r']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
Compiling device v0.0.1 (file:///home/zakor1gyula608/zakorgyservo/servo/components/servo)
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13:5: 13:43 error: the trait `core::clone::Clone` is not implemented for the type `blurz::bluetooth_adapter::BluetoothAdapter` [E0277]
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13 adapter: Option<BluetoothAdapterBluez>,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:10:10: 10:15 note: in this expansion of #[derive_Clone] (defined in /home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs)
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13:5: 13:43 help: run `rustc --explain E0277` to see a detailed explanation
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13:5: 13:43 note: required by `core::clone::Clone::clone`
/ho
encoding::codec::utf_8::UTF8Encoding;
encoding::types::EncoderTrap;
std::mem::size_of_val
Struct BluetoothScanfilter {
services: Vec<BluetoothServiceUUID>,
name: DOMString,
namePrefix: DOMString,
}
diff --git a/components/script/dom/bluetooth.rs b/components/script/dom/bluetooth.rs
index 156d635..b8d9c4e 100644
--- a/components/script/dom/bluetooth.rs
+++ b/components/script/dom/bluetooth.rs
@@ -2,9 +2,71 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use dom::bindings::reflector::Reflector;
+extern crate uuid;
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothuuid
interface BluetoothUUID {
static UUID getService((DOMString or unsigned long) name);
//static UUID getCharacteristic((DOMString or unsigned long) name);
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::global::GlobalRef;
use dom::bindings::reflector::Reflector;
use util::str::DOMString;
use dom::bindings::codegen::UnionTypes::StringOrUnsignedLong;
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothuuid