On Thu, Feb 9, 2012 at 4:43 PM, Dhrubojyoti Roy
<address@hidden> wrote:
I am working with GNURadio 3.5, UHD_003.004.000-287958b and USRP N210 running WBX daughterboards. I need to access and use the device's MAC address from my python code. On browsing through the documentation, I found the following class usrp2_base in Gnuradio 3.4.2 has a method mac_addr() to get the USRP2 hardware MAC address. Is there an equivalent method in UHD? If so, how can it be invoked from python code?
Use the "arp" utility, and parse the output.
address@hidden:~$ arp 192.168.10.2
Address HWtype HWaddress Flags Mask Iface
192.168.10.1 ether 20:cf:30:ae:00:c1 C wlan0
--
Dhrubojyoti Roy
1655, North 4th Street, Apt-D
Columbus, OH-43201
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio