Yeah, this is usng private API. Do not attempt to submit anything of this to the App Store or you app will be rejected. Use this for local tests or in-house applications.
Big shout-out to @mavris for the native library, thank you!
var MacUtils = require('ti.macaddress');
var macAdress = MacUtils.macAddressFromIPAddress('192.168.0.1');
The Android part of this module is available and based on this blog post (thank you!),
but I did not include the required headers so far, so you might want to fix that before. In addition,
remeber to include the <uses-permission android:name="android.permission.INTERNET" />
permission of course.
Hans Knoechel (@hansemannnn / Web)
MIT
Code contributions are greatly appreciated, please submit a new pull request!