Add missing steps to descriptors writeValue function

This commit is contained in:
zakorgyula 2016-07-04 12:50:10 +02:00
parent 4fafcb121f
commit 2ab4511de8
2 changed files with 9 additions and 3 deletions

View file

@ -27,7 +27,7 @@ use net_traits::bluetooth_thread::BluetoothMethodMsg;
// Maximum length of an attribute value.
// https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=286439 (Vol. 3, page 2169)
const MAXIMUM_ATTRIBUTE_LENGTH: usize = 512;
pub const MAXIMUM_ATTRIBUTE_LENGTH: usize = 512;
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattcharacteristic
#[dom_struct]