0 like 0 dislike
31 views
in T20 by Q&A Freshman (102 points)

Hello,

I have your TicketValidator T20 and I have SDK,
If I call methods about RS485Reader for all I get result -1.
Here is my code:

RS485Reader mRS485Reader = new RS485Reader(this);
Log.d(TAG,"Starting RS485 reader.");
int result = mRS485Reader.rsOpen(CommonConstants.RS485Type.RS485_1,9600);
Log.d(TAG,"Result of starting RS485 reader: "+result);

Log.d(TAG,"Setting mode RS485 reader.");
result = mRS485Reader.setMode(CommonConstants.RSMode.RECV_MODE);
Log.d(TAG,"Result of setting mode RS485 reader: "+result);

In both operations rsOpen and setMode I get result -1 and i LogCat I found error after calling the methods:
android.content.pm.PackageManager$NameNotFoundException: Application package com.common.service not found

Do I need to have any other package or SDK for these methods to work? Or what is the problem?

Thanks

Please log in or register to answer this question.

1 Answer

0 like 0 dislike
by Q&A Engineer (5.4k points)
Hello ,can you provide the SN to me?

Related questions

0 like 0 dislike
1 answer 679 views
0 like 0 dislike
1 answer 171 views
0 like 0 dislike
1 answer 115 views
asked in T20 by zigic Q&A Freshman (107 points)
0 like 0 dislike
1 answer 96 views
asked in T20 by jalcantar Q&A Freshman (102 points)
0 like 0 dislike
1 answer 7 views
asked in T20 by frankv1234 Q&A Freshman (102 points)
0 like 0 dislike
1 answer 86 views
asked in T20 by Ashtechgroup Q&A Freshman (102 points)
0 like 0 dislike
1 answer 265 views
asked in T20 by HandsFree Q&A Freshman (132 points)
0 like 0 dislike
1 answer 115 views
asked in T20 by gvpata Q&A Freshman (102 points)
0 like 0 dislike
1 answer 650 views
asked in T20 by kjhss Q&A Freshman (102 points)
0 like 0 dislike
1 answer 22 views
Welcome to Telpo Q&A,

If you have a technical question ,please ask here, in English.

If you have faulty devices need be repaired,please create a issue ticket.

Please inquiry your ticket.

Notice :If you have an urgent question or cannot register account of Q&A, you can contact the online support in below jivochat .

Categories

...