NAME

Device::MindWave::Packet::ThinkGear

DESCRIPTION

Implementation of the ThinkGear packet. See http://wearcam.org/ece516/mindset_communications_protocol.pdf for documentation on this type of packet.

The ThinkGear::DataValue modules are used to store the 'actual' data: this module simply provides an iterator over those data values.

CONSTRUCTOR

new

PUBLIC METHODS

next_data_value

Return the next ThinkGear::DataValue from the packet. Returns the undefined value if no data values remain.

as_hashref

Aggregates the hashrefs of the packet's constituent ThinkGear::DataValues, and returns that hashref.

as_bytes
length
as_string