Add a new API to get mac address