Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GMMP by
Revision 1:272f2e355446, committed 2015-07-23
- Comitter:
- lesmin
- Date:
- Thu Jul 23 14:27:31 2015 +0000
- Parent:
- 0:32c20cfb2b30
- Child:
- 2:873c169fba78
- Child:
- 3:a39ceb3ba3b3
- Commit message:
- prints correct MAC Addresses
Changed in this revision
| GMMP.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/GMMP.cpp Thu Jul 23 00:55:15 2015 +0000
+++ b/GMMP.cpp Thu Jul 23 14:27:31 2015 +0000
@@ -143,7 +143,9 @@
tagWIFI_STATUS_T wifi_status;
if( wifi.getWifiStatus(&wifi_status) ) printf("wifi_status error!\r\n");
- printf("MAC Address is %s\r\n", wifi_status.mac_address);
+ printf("MAC Address is %02x:%02x:%02x:%02x:%02x:%02x\r\n",
+ wifi_status.mac_address[0], wifi_status.mac_address[1], wifi_status.mac_address[2],
+ wifi_status.mac_address[3], wifi_status.mac_address[4], wifi_status.mac_address[5]);
printf("IP Address is %s\r\n", wifi.getIPAddress());
#endif//USE_SNIC_WIFI
