We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello I have modified your code esp.cpp ($Id: esp_tool.cpp 78 2015-09-08 17:54:33Z Don $) for read Mac adress:
uint8_t id = (uint8_t)(mac1 >> 16); //marc ajout if (mac3 != 0) { mac[0] =(mac3 >> 16) & 0xff; mac[1] =(mac3 >> 8) & 0xff; mac[2] =mac3 & 0xff; mac[6] =((mac3 >> 16) & 0xff)|2; mac[7] =((mac3 >> 8) & 0xff); mac[8] =mac3 & 0xff; } else if (id == 0) //marc ajout else { memcpy(mac + 0, "\x18\xfe\x34", 3); if (apAlso) memcpy(mac + 6, "\x1a\xfe\x34", 3); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello$Id: esp_tool.cpp 78 2015-09-08 17:54:33Z Don $ ) for read Mac adress:
I have modified your code esp.cpp (
uint8_t id = (uint8_t)(mac1 >> 16);
//marc ajout
if (mac3 != 0)
{
mac[0] =(mac3 >> 16) & 0xff;
mac[1] =(mac3 >> 8) & 0xff;
mac[2] =mac3 & 0xff;
mac[6] =((mac3 >> 16) & 0xff)|2;
mac[7] =((mac3 >> 8) & 0xff);
mac[8] =mac3 & 0xff;
}
else if (id == 0) //marc ajout else
{
memcpy(mac + 0, "\x18\xfe\x34", 3);
if (apAlso)
memcpy(mac + 6, "\x1a\xfe\x34", 3);
}
The text was updated successfully, but these errors were encountered: