Hi,
We have an application already written and tested using Bluetooth serial and we use the Asyncstreams with prefix for receiving data. We are now making a USB version of the hardware, but having a hard time to use the existing code as the USBserial lib doesn't support prefix mode. Is there anything we can do to continue using the earlier code with minimal changes? I've looked around but haven't found any alternatives and it looks like we have to write new code to receive data & buffer it ourselves which is proving too much for us. Any help would be highly appreciated.
We have an application already written and tested using Bluetooth serial and we use the Asyncstreams with prefix for receiving data. We are now making a USB version of the hardware, but having a hard time to use the existing code as the USBserial lib doesn't support prefix mode. Is there anything we can do to continue using the earlier code with minimal changes? I've looked around but haven't found any alternatives and it looks like we have to write new code to receive data & buffer it ourselves which is proving too much for us. Any help would be highly appreciated.