Hi All,
I have a simple project where originally the PC is connected to a device (Bluetooth dongle) which is currently working fine but the project is to put an electronic board (like Raspberry PI 2 Model- this board has 4 USB ports) between the PC and the bluetooth dongle in order to do some changes to the data packets send between them. As shown in figure 1 and figure 2 respectively in the attachment desgin-V1-1.
My questions are:
1- should the Raspberry board be used as A- USB hub or B- as device on the PC connection and host on the BT dongle connection. as shown in the diagram 2-a and 2-b in the attachment design-V1-2. What is the best criteria in order to make the decision .
2- Since I am new in the USB field, is there any code library to be used in order to read the data from one USB make some adjustment to the packet and send it to the other USB port.