You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
517 B
22 lines
517 B
#' Look for a particular service
|
|
#'
|
|
#' @param query service to look for
|
|
#' @param scan_time how long to scan for services; default is 10 and
|
|
#' should not really be that much lower in most networks.
|
|
#' @return data frame
|
|
#' @export
|
|
bnjr_query <- function(query, scan_time = 10L) {
|
|
|
|
res <- int_bnjr_query(query, scan_time)
|
|
res <- unlist(strsplit(res, "\n"))
|
|
ndjson::flatten(res, "tbl")
|
|
|
|
}
|
|
|
|
#' @rdname bnjr_query
|
|
#' @export
|
|
bjr_query <- bnjr_query
|
|
|
|
#' @rdname bnjr_query
|
|
#' @export
|
|
mdns_query <- bnjr_query
|