Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By stern0m1
#71373 Im trying to detect what the frame type is by using bitRead to check the 3rd and 2nd byte of sniffer->buf[0] but for some reason its almost always reading them both as zero when its clearly not.
I serial.print all the bits and its usually printing 0 for all.

Any suggestions?

Thanks
User avatar
By stern0m1
#71377
stern0m1 wrote:Im trying to detect what the frame type is by using bitRead to check the 3rd and 2nd byte of sniffer->buf[0] but for some reason its almost always reading them both as zero when its clearly not.
I serial.print all the bits and its usually printing 0 for all.

Any suggestions?

Thanks

Nevermind... stupid mistake...