Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP and STA MAC addresses shown are wrong #30

Closed
gotfredsen opened this issue Jun 17, 2017 · 2 comments
Closed

AP and STA MAC addresses shown are wrong #30

gotfredsen opened this issue Jun 17, 2017 · 2 comments

Comments

@gotfredsen
Copy link

The last byte of the MAC addresses shown is wrong. In my case it should be 0x48 and it shows 0x12.
If I modify line 884 in the UnitFormMain.pas from
MACAddr[5] := ((MACReg0 shr 24) And $FF);
to
MACAddr[5] := ((MACReg0 shr 22) And $FF);
it will work.
Please confirm if that indeed is correct.
Thanks.

@iFish85
Copy link

iFish85 commented Jun 30, 2017

My solution is like this:
modify line 827 in the UnitFormMain.pas from
RawByte := LeftStr(Frame, Length(Frame) - Position + 1);
to
RawByte := MidStr(Frame, Position, Length(ESP_READ_REG_ACK));

@gotfredsen
Copy link
Author

Thanks @iFish85, that worked much better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants