python-mindwave-mobile icon indicating copy to clipboard operation
python-mindwave-mobile copied to clipboard

Unknown OpCode. Value: 4

Open GeorgeMichalakis opened this issue 5 years ago • 5 comments

Hello! I use Ubuntu 16.04 LTS and possess a MindwaveMobile 2 headset. When I run the

from mindwavemobile.MindwaveDataPointReader import MindwaveDataPointReader
mindwaveDataPointReader = MindwaveDataPointReader()
mindwaveDataPointReader.start()
dataPoint = mindwaveDataPointReader.readNextDataPoint()
print(dataPoint)

I get Unknown OpCode. Value: 4. I tried both python and python3. Any suggestions?

GeorgeMichalakis avatar Apr 13 '19 13:04 GeorgeMichalakis

You get an error or what? what exactly happens? can you print error message here if it is an error?

robintibor avatar Apr 17 '19 10:04 robintibor

Greetings! I don't get an error. It is just printing the above message. I've put the print command into a while(True) loop and it keeps printing the same message too.

GeorgeMichalakis avatar Apr 17 '19 13:04 GeorgeMichalakis

You can safely ignore this message. Do you get other datapoints as well or just this?

robintibor avatar Jun 18 '19 12:06 robintibor

Hello! I also face this issue and no datapoints show on the screen. Any suggestions?

mwu39 avatar May 17 '20 08:05 mwu39

so if you have some loop printing datapoints, do you only get this one or also others?

robintibor avatar Jun 23 '20 10:06 robintibor