I need to implement a Mac OS X application. In my application I need to do two things:
- Execute / Open an application when a particular type of USB device is connected to the system.
- Read the data from USB and upload it to a web server.
I do not have much experience in Mac OS X development. Can anyone please suggest the best documents to reach my goals?
It really depends on what sort of application you are looking at.
It does look like there is no way to do it in a similar fashion to
udev for example.
Two possible solutions are:
And in fact one could write a program with libusb which will handle this sort of tasks according to a given config file,
that would be also cross-platform since libusb supports quite a few platforms.