robintibor/python-mindwave-mobile

Unknown OpCode. Value: 4

GeorgeMichalakis opened this issue · 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?

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

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.

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

mwu39 commented

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

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