Skip to main content

im_subscribe_request_attr

Function im_subscribe_request_attr 

Source
pub fn im_subscribe_request_attr(
    endpoint: Option<u16>,
    cluster: Option<u32>,
    attr: Option<u32>,
    exchange: u16,
    keep_subscriptions: bool,
) -> Result<Vec<u8>>
Expand description

Build a SubscribeRequest for an attribute path (AttributeRequests, tag 3). keep_subscriptions: if true the device keeps existing subscriptions alive; if false the device cancels all prior subscriptions before creating this one.