[][src]Function rusp::usp_generator::usp_get_supported_dm_request

pub fn usp_get_supported_dm_request<S: AsRef<str>>(
    paths: &[S],
    first_level_only: bool,
    return_commands: bool,
    return_events: bool,
    return_params: bool
) -> Body

Generates a body of a USP Msg with a USP GetSupportedDM request

Arguments

  • paths - An array of parameter/object names to put into the GetSupportedDM request
  • first_level_only - Whether to just return information for the requested path or recursively
  • return_commands - Return commands in response
  • return_events - Return events in response
  • return_params - Return parameters in response

Example

use rusp::usp_generator::usp_get_supported_dm_request;
let req = usp_get_supported_dm_request(&["Device.", "Device.DeviceInfo."], false, true, true, true);