Re: Acquiring Dental RVG on Linux
On Wed, Dec 30, 2020 at 09:55:54AM +0530, Sonali Warunjikar wrote:
> On the face of it, it's weird if multithreading is required for a serial
> communication where there is one link and two devices at both ends of it.
> But may be the device is designed to not respond to Ii until it sees those
> Cis (or timeout).
> Will try anyway.
It indeed worked - howsoever weird! One Ii call needs to be issued on a
separate thread followed by a few Co and then synchronize the thread and
enter a polling loop. Expect 2 responses on Ii and then 2 Bi calls to
gather the data. The windows driver issues several Bi calls with smaller
packet sizes, not sure whether that is strictly required.
Now the USB layer is as such over. The challenge now shifts to the format
of the data gathered. It's completely raw, no header recognizable by file
command and we have to just hope that it is unencrypted, not requiring
license key to make sense out of. The proprietary software directly gives
a DICOM file, not revealing what it does to the raw data in between.