I think it's buried deep in some network data structures. Look at the code in this post. It will run under the SDK. I think you can find the MAC address in the data structures that it queries.
How to get IPv6 address using getifaddrs and which version of glibc supports