kotlin oui/mac vendor lookup
- cross-platform
- downloader
- importer for persistence
- lookup
- mac generation
add as dependency
with android you might need to add 'android:usesCleartextTraffic="true"' to the application tag in your manifest.
// application context to find the storage path
val oui = AndroidOUI(CONTEXT) // automatically downloads and imports
val entry1 = oui.lookup("A4:45:19:DE:AD:ME") // entry1 now holds an entry with the organizationName "XIAOME"
val entry2 = oui.lookupByOrgName("amazon")
val entry3 = oui.lookupByOrgAddress("somewhere, silicon valley")
check here for an example