pub struct AttReadPermitRequest {
pub conn_handle: ConnectionHandle,
pub attribute_handle: AttributeHandle,
pub offset: usize,
}
Expand description
This event is given to the application when a read request or read blob request is received by
the server from the client. This event will be given to the application only if the event bit
for this event generation is set when the characteristic was added. On receiving this event, the
application can update the value of the handle if it desires and when done it has to use the
allow_read
command to indicate to the stack that it can
send the response to the client.
See the Bluetooth Core v4.1 spec, Vol 3, Part F, section 3.4.4. See STM AN5270, section 3.4.19
Fields§
§conn_handle: ConnectionHandle
Handle of the connection on which there was the request to read the attribute
attribute_handle: AttributeHandle
The handle of the attribute that has been requested by the client to be read.
offset: usize
Contains the offset from which the read has been requested.
Trait Implementations§
Source§impl Clone for AttReadPermitRequest
impl Clone for AttReadPermitRequest
Source§fn clone(&self) -> AttReadPermitRequest
fn clone(&self) -> AttReadPermitRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more