How can I send data via a FT232R chip /PL2303 to display characters /string on the receiving device?

StackOverflow https://stackoverflow.com/questions/18296711

Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top