Skip to content

nbdy/oui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oui

kotlin oui/mac vendor lookup

features

  • cross-platform
  • downloader
  • importer for persistence
  • lookup
  • mac generation

usage

root build.gradle

add as dependency
with android you might need to add 'android:usesCleartextTraffic="true"' to the application tag in your manifest.

code

// 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")

extend

check here for an example

About

kotlin oui/mac vendor lookup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages