Skip to content

n-a-f-i-s-a/USBDeviceDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This SwiftUI app is designed to detect any connected USB devices matching a given Vendor ID and Product ID and display their corresponding details in an organized table view.

Once the app is launched and detects a matching USB device (already connected before starting app and/or during runtime), it will automatically retrieve and display the device's name, unique identification number, product identification number, and vendor identification number.

These details will be displayed in a clean and easy-to-read table format, making it simple for users to quickly identify and keep track of all connected USB devices. With its intuitive design and efficient functionality, this app is an excellent tool for anyone who needs to manage multiple USB devices simultaneously.

Screenshot

Screenshot 2023-04-08 at 6 24 53 pm

A SwiftUI app that detects connected USB devices and displays the device name, ID, product ID, and vendor ID in a table. The app uses the USBMonitorService class to monitor USB events.

Requirements

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/USBDeviceChecker.git
  1. Open USBDeviceChecker.xcodeproj in Xcode.
  2. Build and run the app.

Usage

When you launch the app, it will start monitoring USB devices. If a device that matches the vendor ID and product ID specified in USBMonitorService is connected or disconnected, the app will display the device name, ID, product ID, and vendor ID in a table.

To stop monitoring USB devices, tap the "Stop" button in the top right corner of the app.

License

This app is released under the MIT License. See LICENSE for details.

Acknowledgments

This app uses the IOKit and IOKit.usb frameworks to monitor USB events.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages