Dataset card: quick start, OUI lookup limits, BibTeX
Browse files
README.md
CHANGED
|
@@ -77,6 +77,68 @@ Current Bluetooth assigned-number records: `1237`.
|
|
| 77 |
|
| 78 |
Snapshot date: `2026-11-25`.
|
| 79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
## Versions
|
| 81 |
|
| 82 |
Every row in `vendor_identifiers` and `bluetooth_assigned_numbers` has a
|
|
@@ -184,5 +246,17 @@ This dataset is public identifier metadata only. It does not contain:
|
|
| 184 |
|
| 185 |
## Citation
|
| 186 |
|
| 187 |
-
If you use this dataset, cite the Hugging Face dataset repository
|
| 188 |
-
underlying IEEE and Bluetooth SIG registries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
Snapshot date: `2026-11-25`.
|
| 79 |
|
| 80 |
+
## Quick Start
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
from datasets import load_dataset
|
| 84 |
+
|
| 85 |
+
ids = load_dataset(
|
| 86 |
+
"ictrun/wireless-vendor-identifiers", "vendor_identifiers", split="train"
|
| 87 |
+
).to_pandas()
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
def lookup(namespace, value):
|
| 91 |
+
"""Return the vendor group for one identifier, or None if not tracked."""
|
| 92 |
+
hit = ids[(ids.identifier_namespace == namespace) & (ids.identifier_value == value)]
|
| 93 |
+
return hit.vendor_display_name.iloc[0] if len(hit) else None
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
def lookup_public_mac(mac):
|
| 97 |
+
"""Vendor for a public (globally administered) MAC address."""
|
| 98 |
+
octets = bytes.fromhex(mac.replace(":", "").replace("-", ""))
|
| 99 |
+
if octets[0] & 0x02: # locally administered: randomized, no OUI meaning
|
| 100 |
+
return None
|
| 101 |
+
return lookup("ieee_oui_ma_l", octets[:3].hex().upper())
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
# Manufacturer Specific Data starts with the Company Identifier, little-endian:
|
| 105 |
+
# bytes 4C 00 -> 0x004C.
|
| 106 |
+
company_id = "0x%04X" % int.from_bytes(bytes.fromhex("4C00"), "little")
|
| 107 |
+
|
| 108 |
+
lookup_public_mac("F0:F8:32:12:34:56") # 'Google / Android'
|
| 109 |
+
lookup_public_mac("F2:F8:32:12:34:56") # None (locally administered)
|
| 110 |
+
lookup("bluetooth_sig_company_identifier", company_id) # 'Apple'
|
| 111 |
+
lookup("bluetooth_sig_member_uuid", "0xFE2C") # 'Google / Android'
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
Value formats: OUIs are six uppercase hex digits without separators
|
| 115 |
+
(`F0F832`); Company Identifiers and member UUIDs are `0x` plus four
|
| 116 |
+
uppercase hex digits (`0x004C`, `0xFE2C`).
|
| 117 |
+
|
| 118 |
+
## When OUI Lookup Does Not Apply
|
| 119 |
+
|
| 120 |
+
Most phones, tablets, laptops and wearables no longer expose a vendor OUI:
|
| 121 |
+
|
| 122 |
+
- **Wi-Fi.** iOS (14 and later) and Android (10 and later) use a randomized
|
| 123 |
+
MAC address per network by default, and Windows offers the same as an
|
| 124 |
+
option. Randomized addresses set the locally
|
| 125 |
+
administered bit (`0x02` in the first octet), so their first three bytes
|
| 126 |
+
are not an OUI. `lookup_public_mac` above returns `None` for them.
|
| 127 |
+
- **BLE.** Devices usually advertise with a random address (random static,
|
| 128 |
+
resolvable private, or non-resolvable private). Whether an address is
|
| 129 |
+
public or random is carried by the TxAdd bit in the advertising PDU header,
|
| 130 |
+
not by the address bytes, and random addresses do not reliably set the
|
| 131 |
+
locally administered bit. Only apply OUI lookup to BLE addresses the
|
| 132 |
+
capture tool reports as *public*.
|
| 133 |
+
|
| 134 |
+
For BLE, the Company Identifier at the start of Manufacturer Specific Data and
|
| 135 |
+
the member UUIDs in Service Data or Service UUID lists stay the same when the
|
| 136 |
+
address rotates, which makes them the more useful vendor signal.
|
| 137 |
+
|
| 138 |
+
A miss is not evidence that a device is unknown or suspicious: the dataset
|
| 139 |
+
covers 13 vendor groups and only IEEE MA-L (24-bit) assignments, not MA-M,
|
| 140 |
+
MA-S or other vendors.
|
| 141 |
+
|
| 142 |
## Versions
|
| 143 |
|
| 144 |
Every row in `vendor_identifiers` and `bluetooth_assigned_numbers` has a
|
|
|
|
| 246 |
|
| 247 |
## Citation
|
| 248 |
|
| 249 |
+
If you use this dataset, cite the Hugging Face dataset repository with the
|
| 250 |
+
snapshot tag you used, and the underlying IEEE and Bluetooth SIG registries
|
| 251 |
+
listed above.
|
| 252 |
+
|
| 253 |
+
```bibtex
|
| 254 |
+
@misc{ictrun_wireless_vendor_identifiers,
|
| 255 |
+
author = {ictrun},
|
| 256 |
+
title = {Wireless Vendor Identifier Metadata},
|
| 257 |
+
year = {2026},
|
| 258 |
+
publisher = {Hugging Face},
|
| 259 |
+
howpublished = {\url{https://huggingface.co/datasets/ictrun/wireless-vendor-identifiers}},
|
| 260 |
+
note = {Snapshot v2026-11-25}
|
| 261 |
+
}
|
| 262 |
+
```
|