-->
Page 1 of 1

promiscuous mode frame type

PostPosted: Sun Oct 29, 2017 7:19 pm
by stern0m1
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

Re: promiscuous mode frame type

PostPosted: Sun Oct 29, 2017 9:44 pm
by stern0m1
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...