diff --git a/lib/bluetooth.js b/lib/bluetooth.js index 1becdd9..9347c04 100644 --- a/lib/bluetooth.js +++ b/lib/bluetooth.js @@ -63,7 +63,7 @@ function parseBluetoothManufacturer(str) { } function parseBluetoothVendor(str) { - const id = parseInt(id); + const id = parseInt(str); if (!isNaN(id)) return bluetoothVendors[id]; }