qrDisplay = new MertechQrDisplay(this);
String res = qrDisplay.connectDevice(new ConnectParameters() {
@Override
public int getProtocol() {
try {
return parameters.getProtocol();
} catch (RemoteException e) {
return Constant.PROTOCOL_NOT_SET;
}
}
@Override
public String get_mac() {
try {
return parameters.getMac();
} catch (RemoteException e) {
return "00:00:00:00:00:00";
}
}
@Override
public String get_vid() {
try {
return parameters.getVid();
} catch (RemoteException e) {
return "0";
}
}
@Override
public String get_pid() {
try {
return parameters.getPid();
} catch (RemoteException e) {
return "0";
}
}
});
// command
qrDisplay.qrCode(qr);
qrDisplay.symbolOk();
qrDisplay.symbolFail();
qrDisplay.cls();
qrDisplay.sendBytes(bytes);
-
Notifications
You must be signed in to change notification settings - Fork 0
License
402d/qrdisplay-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published