Question

I am sending data from an android app to a medical device via usb. I am using a FTDI RS232 Cable (which has a FT232RL chip) and I also use a Prolific cable (which has a PL2303 chip). I can send characters / string values over the cables. However my character are either converted to decimal format or octadecimal format (base 8) which is a problem. It is a problem because the device wants to receive only strings / characters.

Note: I cant program the medical device: so I cant convert the data format on the receiving end.

Please do anyone have a suggestion for me?

Was it helpful?

Solution

I used the FTDI library by Ksksue (https://github.com/ksksue/FTDriver) for sending data using to and for from the FTDI RS232 Cable. For the Prolific cable, you can use the PL2303 Android Driver Solution (http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=230&pcid=41). I personally used the FTDI cable for my problem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top