Android Question Sending ussd code to usb(com port) modem

walmo

Active Member
Licensed User
Longtime User
Hi
Using A AsyncStream to send bytes to com port.
It is sending the line to port but hex not ending with the '0d' like the real software.
checking with usb device monitor the hex output .
Every line from modem software ends with the '0d' hex (Carriage Return).

Please how do i add this '0d' to my line that is send to com port?

Thanks
 

walmo

Active Member
Licensed User
Longtime User
My return code from com port is like 002A003100310031002A003000380032003400310032003..........
How do convert it to Text string?
Thanks
 
Upvote 0
Top