question

Sukhbir Singh avatar image
Sukhbir Singh asked Sukhbir Singh commented

Application stuck when receiving data from InputStream of TCP Socket after TLSv1.2 integration in Clover Mini 2nd generation.

Hi @Clover_FAQ @Tim Suh

We are receiving the request from Socket in the following formate: (The request is in multiline)
{
"M_I": "12345678",
"T_P": "heart",
"Con": {"S_Num": "bdhaksdsdbk"}
}

When we read the data from scocket InputStream via following code:

Scanner scanner = new Scanner(inputStream).useDelimiter("\\Z");
String data = scanner.next();

Application is stuck on scanner.next() on Clover Mini 2nd generation device.
While its working fine on Clover Flex and Mobile device.


We have already checked it with BufferedReader same issue is happening.Please suggest.
Clover Miniclover developer communitysemi-integrationsClover FlexClover Mobile
10 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Bryanne Vega avatar image Bryanne Vega commented ·

What's our target & maximum SDK versions?

0 Likes 0 ·
Sukhbir Singh avatar image Sukhbir Singh Bryanne Vega commented ·

Hi @Bryanne Vega

Target SDK version is 25,

Maximum SDK is not defined.

Pease suggest.

0 Likes 0 ·
Bryanne Vega avatar image Bryanne Vega Sukhbir Singh commented ·

Any errrors, logs or additional details after X amount of time? No timeouts?

0 Likes 0 ·
Show more comments
Sukhbir Singh avatar image Sukhbir Singh commented ·

Hi @Clover_FAQ

Is any suggetion on this?

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community