Device::MindWave::Packet::Parser
Provides for parsing packet payloads and returning appropriate instances of Device::MindWave::Packet implementations.
Returns a new instance of Device::MindWave::Packet::Parser.
Takes the packet payload as an arrayref of bytes as its single argument. Returns a Device::MindWave::Packet object representing the packet.
The packet payload includes all the packet's data, except for the two initial synchronisation bytes, the packet length byte and the final checksum byte.
To install Device::MindWave, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::MindWave
CPAN shell
perl -MCPAN -e shell install Device::MindWave
For more information on module installation, please visit the detailed CPAN module installation guide.