Struct rubble::gatt::MidiServiceAttrs [−][src]
Expand description
A demo AttributeProvider
that will enumerate as a Midi Service.
Also refer to https://www.midi.org/specifications-old/item/bluetooth-le-midi.
Fields
attributes: [Attribute<&'static [u8]>; 4]
Implementations
Trait Implementations
Calls a closure f
with every attribute whose handle is inside range
, ascending. Read more
Returns whether uuid
is a valid grouping attribute type that can be used in Read By
Group Type requests. Read more
Queries the last attribute that is part of the attribute group denoted by the grouping
attribute at handle
. Read more
Retrieves the permissions for the given attribute. Read more
Attempts to write data to the given attribute. Read more
If this read is from dynamic data fill the buffer and return the length of the data. If not return None. Read more
In order to write data longer than what would fit one write request the procedure is explained in BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part F section 3.4.6. Read more
In order to write data longer than what would fit one write request the procedure is explained in BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part F section 3.4.6. Read more
fn find_information(
&mut self,
_range: HandleRange,
_responder: &mut Sender<'_>
) -> Result<(), Error>
fn find_information(
&mut self,
_range: HandleRange,
_responder: &mut Sender<'_>
) -> Result<(), Error>
See BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part F section 3.4.3.1 on what to implement here.