Protocol MWReadable
MWReadableMerged
A read command that coalesces multiple operations into one output.
Framework
- Meta
Wear
Declaration
protocol MWReadableMerged
Topics
Associated Types
Instance Methods
func read(from: MetaWear ) -> MWPublisher<Self.DataType >
Obtains are reference to the readable data signal.
Type Properties
static var deviceInformation : MetaWear .DeviceInformation
Available when
Self
is MetaWear.DeviceInformation
.Relationships
Conforming Types
See Also
Interact
protocol MWCommand
Issues a command, such as recording a macro or resetting to factory defaults.
protocol MWCommandWithResponse
Issues a command that returns a value.
protocol MWLoggable
Sensors that can log data to onboard storage adhere to this protocol to configure, start, stop, and download the logger.
protocol MWPollable
Sensors natively incapable of continuous output, such as thermistors, can output “streamable” and loggable outputs with the help of onboard timers that fire at reasonable intervals. This protocol organizes the methods and properties for polling such sensors.
protocol MWReadable
For signals that can only be read once Sensors natively incapable of continuous output, such as thermistors, adopt this protocol to organize configuring, reading, and closing a sensor’s data signal.
protocol MWStreamable
Sensors that can stream data at about 100 to 120 Hz adhere to this protocol to configure, start, and stop a data signal.
struct MWFrequency
Specify event frequencies in Hz or millisecond periods between events