felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.81k stars 590 forks source link

Not receiving full json string properly #209

Closed kjitender469 closed 5 years ago

kjitender469 commented 5 years ago

I have send a json string from esp32 to its Serial and reading that json string from my app via usb cable. When I parse this json string it throws exception.

felHR85 commented 5 years ago

@kjitender469 What exception?

kjitender469 commented 5 years ago

@felHR85 Thank you for your concern. The issue is resolved now. Actually, some garbage characters appear with JSON string when I parse the JSON. So first I have removed those garbage character and then parse the JSON string. So now it works fine.