parse_packet_set: Parse all packets of a given type

View source: R/parse_packet_set__generic_&_simple_methods.R

parse_packet_set.ACTIVITY2R Documentation

Parse all packets of a given type

Description

Parse all packets of a given type

Usage

## S3 method for class 'ACTIVITY2'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, info, events, ...)

capsense_payload(payload)

## S3 method for class 'CAPSENSE'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, ...)

## S3 method for class 'METADATA'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, payload = NULL, ...)

## S3 method for class 'EVENT'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, info, ...)

## S3 method for class 'SENSOR_DATA'
parse_packet_set(
  set,
  log,
  tz = "UTC",
  verbose = FALSE,
  parameters,
  schema,
  ...
)

## S3 method for class 'SENSOR_SCHEMA'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, payload = NULL, ...)

parse_packet_set(set, log, tz = "UTC", verbose = FALSE, ...)

## Default S3 method:
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, ...)

## S3 method for class 'ACTIVITY'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, ...)

## S3 method for class 'PARAMETERS'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, ...)

## S3 method for class 'BATTERY'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE, ...)

Arguments

set

the set of record headers corresponding to each packet

log

the raw data from log.bin

tz

character. The timezone to use

verbose

logical. Print updates to console?

info

the result of parse_info_txt

events

the result of parsing EVENTS packets (internal use)

...

further arguments passed to methods

payload

a raw vector containing packet payload

parameters

A PARAMETERS object

schema

A SENSOR_SCHEMA object

Value

A list of packet information


AGread documentation built on Sept. 13, 2022, 5:06 p.m.