Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should first make a check to find the synchronization bytes that are first in the message struct. Look for the values 0xA5 and 0x5A. When you find those you can start to decode the rest of the message.
It seems like the ModEEG thing is just outputting a steady stream of bytes so you have to look for the message start markers. Could be good to check those before decoding any message.