mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Fix device intelligence tracking for WiFi and Bluetooth
The generateDeviceId function only handled POCSAG, FLEX, and sensor protocols. Added handlers for: - WiFi-AP: generates WIFI_AP_<bssid> - WiFi-Client: generates WIFI_CLIENT_<mac> - Bluetooth/BLE: generates BT_<mac> This fixes device tracking in the intelligence section for WiFi and Bluetooth scans. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2797,6 +2797,12 @@ HTML_TEMPLATE = '''
|
||||
return 'PAGER_' + (data.address || 'UNK');
|
||||
} else if (data.protocol === 'FLEX') {
|
||||
return 'FLEX_' + (data.address || 'UNK');
|
||||
} else if (data.protocol === 'WiFi-AP') {
|
||||
return 'WIFI_AP_' + (data.address || 'UNK').replace(/:/g, '');
|
||||
} else if (data.protocol === 'WiFi-Client') {
|
||||
return 'WIFI_CLIENT_' + (data.address || 'UNK').replace(/:/g, '');
|
||||
} else if (data.protocol === 'Bluetooth' || data.protocol === 'BLE') {
|
||||
return 'BT_' + (data.address || 'UNK').replace(/:/g, '');
|
||||
} else if (data.model) {
|
||||
// 433MHz sensor
|
||||
const id = data.id || data.channel || data.unit || '0';
|
||||
|
||||
Reference in New Issue
Block a user