I'm thinking of a use case with following steps:
- In the PC run the rootcanal, and the rootcanal would connect to a USB2TTL(serial)
- The USB2TTL would connect to the TTL of a android hardware
- And the android on the hardware would treat the rootcanal as the real HCI controller.
Is this possible? I know how to modify the aosp code to do the step 3, but for the step 1, I guess it's possible, any tips?
Use socat to bridge the HCI TCP to USB2TTL?
Thanks.