AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Finally, we run the command: ip addr show wlan0 | grep 'link/ether '| cut -d' ' -f6 this command can also be used in Linux if its interface has the same name as wlan0. Then we call the shell command to indicate that we will run a Linux command. In previous line, we used the -s option of the adb command to specify the serial number. The result will be looks like: 8e:5a:e7:c2:01:9b Get the mac address for the first device: adb -s 4e7354af shell "ip addr show wlan0 | grep 'link/ether '| cut -d' ' -f6" In this case we have two devices connected 4e7354af and 1f97033e. Results usually looks like: List of devices attached What I usually do to get the mac address of the WiFi interface of an Android device ( that is connected to my PC through a USB port) is following these easy steps: 1.
0 Comments
Read More
Leave a Reply. |