I'm needing to compare what is actually transmitted in the MAC destination or MAC source octets/bytes of an Ethernet frame, against an expected value expressed in hexadecimal. The need for hexadecimal is part of a syntax I must use. My question is to the correctness of the following method.
Example:
Having a MAC address of 8E-82-CB-80-95-12 ...
The actual bits/bytes transmitted would be 01110001 01000001 11010011 00000001 10101001 01001000 ?
Is this correct?
All help is appreciated.
Example:
Having a MAC address of 8E-82-CB-80-95-12 ...
The actual bits/bytes transmitted would be 01110001 01000001 11010011 00000001 10101001 01001000 ?
Code:
Breakdown:
Hex: 8E 82 CB 80 95 12
Binary: 10001110 10000010 11001011 10000000 10010101 00010010
Actually Transmitted - Least Significant(right-most) Bit First:
01110001 01000001 11010011 00000001 10101001 01001000
Hex Representation of Actual Transmitted Data: 71 41 D3 01 A9 48
Is this correct?
All help is appreciated.