new: using wireshark manufacturers file instead of oui.dat (closes #303)

This commit is contained in:
evilsocket 2018-09-09 18:48:41 +03:00
commit 976465959e
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
13 changed files with 70433 additions and 45957 deletions

View file

@ -30,7 +30,7 @@ func NewBLEDevice(p gatt.Peripheral, a *gatt.Advertisement, rssi int) *BLEDevice
return &BLEDevice{
LastSeen: time.Now(),
Device: p,
Vendor: OuiLookup(NormalizeMac(p.ID())),
Vendor: ManufLookup(NormalizeMac(p.ID())),
Advertisement: a,
RSSI: rssi,
}