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

Revert to default MAC string format for getMAC method... #1584

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Jan 28, 2019

...in AccessPointClass and StationClass

Fixes #1583, so by default reverts to previous behaviour, but supports alternative formats.

…ntClass` and `StationClass`

Fixes SmingHub#1583, so by default reverts to previous behaviour, but supports alternative formats.
@mikee47 mikee47 force-pushed the fix/MAC_formatting branch from df48b27 to 5b2df92 Compare January 29, 2019 07:20
@slaff slaff added this to the 3.7.2 milestone Jan 29, 2019
* @retval String WiFi AP MAC address
*/
String getMAC();
String getMAC(char sep = '\0');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as 00:11:22:aa:bb:cc, while previously they returned it as 001122aabbcc

@mikee47 Shouldn't the delimiter be an empty string '' , instead of '\0' ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, see makeHexString() in Data/HexString.cpp

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@slaff slaff merged commit 3743f09 into SmingHub:develop Jan 29, 2019
@mikee47 mikee47 deleted the fix/MAC_formatting branch January 29, 2019 11:46
juppin pushed a commit to juppin/Sming that referenced this pull request Feb 1, 2019
…ntClass` and `StationClass` (SmingHub#1584)

By default reverts to previous behaviour, but supports alternative formats.
@slaff slaff mentioned this pull request Feb 27, 2019
4 tasks
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

Successfully merging this pull request may close these issues.

2 participants