I am designing a packet interceptor that will allow pass through of a USB barcode scanner to the host unless the packet matches a certain format. Think USB keylogger but instead of copying the sent values, it acts as a gate.
I've seen the microcontroller USB hub controllers that seem to allow programming to allow/deny packet transmission but none give much details (or I'm too inexperienced on the topic to fully understand).
Is this possible and, if so, would a microcontroller USB hub allow this? If not, does anyone have another suggestion for hardware? I want the device to have the ID of a hub so PCs will register what is connected to it rather than trying to install specific drivers for the device itself.
Thanks in advance.