Struct bluenrg::event::AttReadPermitRequest[][src]

pub struct AttReadPermitRequest {
    pub conn_handle: ConnectionHandle,
    pub attribute_handle: AttributeHandle,
    pub offset: usize,
}

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.

Fields

Handle of the connection on which there was the request to read the attribute

The handle of the attribute that has been requested by the client to be read.

Contains the offset from which the read has been requested.

Trait Implementations

impl Copy for AttReadPermitRequest
[src]

impl Clone for AttReadPermitRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AttReadPermitRequest
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations