Skip to content

402d/qrdisplay-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qrdisplay-sdk

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);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages