god help me i fucking hate python I HATE IT
This commit is contained in:
@@ -47,10 +47,10 @@ def send_discord_notification(vendor_id, rssi=None):
|
|||||||
|
|
||||||
# Format the message
|
# Format the message
|
||||||
vendor_names = {
|
vendor_names = {
|
||||||
0x004C: "Apple",
|
0x0025DF: "Axon Enterprise, Inc.",
|
||||||
0x0006: "Microsoft",
|
0x005828: "Unknown Vendor",
|
||||||
0x0059: "Nordic Semiconductor",
|
0x00C0D4: "Unknown Vendor",
|
||||||
0x0499: "Texas Instruments"
|
0x847003: "Unknown Vendor"
|
||||||
}
|
}
|
||||||
|
|
||||||
vendor_name = vendor_names.get(vendor_id, f"Unknown (0x{vendor_id:04X})")
|
vendor_name = vendor_names.get(vendor_id, f"Unknown (0x{vendor_id:04X})")
|
||||||
|
|||||||
Reference in New Issue
Block a user