truphone / lpadesktop Goto Github PK
View Code? Open in Web Editor NEWLPA Simulator
License: Apache License 2.0
LPA Simulator
License: Apache License 2.0
Some carriers also require this. When I add without the code, it will output Cannot read the array length because "buffer" is null
.
The specific performance is that the software interface will be stuck, and processing will always be displayed. The log is as follows
C:\Users\chx81\Downloads\lpa>java -jar LPA-1.0.0.0-jar-with-dependencies.jar
Feb 24, 2023 10:29:38 pm com.truphone.lpap.LPAUI
Information: STARTING
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Info: Send Terminal Capabilities
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Information: 80aa00000aa9088100820101830107
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Information: 0x9000
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Information: Open Logical Channel and Select ISD-R
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Information: 00a4040010a0000005591010ffffffff8900000100
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Information: 0x9000
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Information: Send Status
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Info: 80f2000c00
Feb 24, 2023 10:29:43 pm com.truphone.lpap.card.ApduChannelImpl
Information: 0x9000
Feb 24, 2023 10:29:43 pm com.truphone.lpa.impl.LocalProfileAssistantImpl
Information: - SM-DP connection initiated.
Feb 24, 2023 10:29:43 pm com.truphone.util.LogStub logDebug
Information: - Getting Profiles
Feb 24, 2023 10:29:43 pm com.truphone.util.LogStub logDebug
Information: List profiles APDU: 81E2910003BF2D00
Feb 24, 2023 10:29:44 pm com.truphone.lpa.impl.ListProfilesWorker run
Severe: - Unexpected end of sequence, length tag: 112, actual sequence length: 73
java.io.IOException: Unexpected end of sequence, length tag: 112, actual sequence length: 73
at com.truphone.rsp.dto.asn1.rspdefinitions.ProfileInfo.decode(ProfileInfo.java:537)
at com.truphone.rsp.dto.asn1.rspdefinitions.ProfileInfoListResponse$ProfileInfoListOk.decode(ProfileInfoListResponse.java:102)
at com.truphone.rsp.dto.asn1.rspdefinitions.ProfileInfoListResponse.decode(ProfileInfoListResponse.java:246)
at com.truphone.rsp.dto.asn1.rspdefinitions.ProfileInfoListResponse.decode(ProfileInfoListResponse.java:229)
at com.truphone.lpa.impl.ListProfilesWorker.decodeProfiles(ListProfilesWorker.java:74)
at com.truphone.lpa.impl.ListProfilesWorker.run(ListProfilesWorker.java:37)
at com.truphone.lpa.impl.LocalProfileAssistantImpl.getProfiles(LocalProfileAssistantImpl.java:95)
at com.truphone.lpap.LpaSrc.getProfiles(LpaSrc.java:57)
at com.truphone.lapp.LPAUI.listProfiles(LPAUI.java:810)
at com.truphone.lapp.LPAUI.access$1800(LPAUI.java:55)
at com.truphone.lapp.LPAUI$18.doInBackground(LPAUI.java:590)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
hello i want to implement a SMDP server for eSIM I want to know does this LPAd is capable of download profile from SMDP server?
Try to activate with this URL
LPA:1$sm-v4-013-a-gtm.pr.go-esim.com$123456DONTCARE
results in server error.
INFORMATION: - HttpRSPClient - invoke URL: https://sm-v4-013-a-gtm.pr.go-esim.com/gsma/rsp2/es9plus/initiateAuthentication
Dez 12, 2023 12:17:20 PM com.truphone.es9plus.Es9PlusImpl initiateAuthentication
SCHWERWIEGEND: Error contacting RSP Server
java.io.IOException: Server returned HTTP response code: 500 for URL: https://sm-v4-013-a-gtm.pr.go-esim.com/gsma/rsp2/es9plus/initiateAuthentication
I had to use the 5ber app for activation now. This worked immediatelly.
Hello everyone
I'm using modem gsm (8 ports) to connect my sim cards to laptop. The cards are connected as serial ports (COMs). And I execute AT commands using Putty to run USSD to get phone number and so on.
My question are:
Thank you
21:49:31,780 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - Active log file name: /tmp/lpa/logFile.20220206.log
21:49:31,780 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - File property is set to [null]
21:49:31,781 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.truphone] to DEBUG
21:49:31,781 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.truphone] to false
21:49:31,781 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[com.truphone]
21:49:31,782 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[com.truphone]
21:49:31,782 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
21:49:31,782 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
21:49:31,782 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
21:49:31,782 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@1eac9f76 - Registering current configuration as safe fallback point
2022-02-06 21:49:31,786||AWT-EventQueue-0|INFO|WebcamDefaultDriver capture driver will be used|
2022-02-06 21:49:31,788||webcam-discovery-service|DEBUG|Searching devices|
Exception in thread "AWT-EventQueue-0" com.github.sarxos.webcam.WebcamException: java.util.concurrent.ExecutionException: com.github.sarxos.webcam.WebcamException: Cannot execute task
at com.github.sarxos.webcam.WebcamDiscoveryService.getWebcams(WebcamDiscoveryService.java:124)
at com.github.sarxos.webcam.Webcam.getWebcams(Webcam.java:893)
at com.github.sarxos.webcam.Webcam.getWebcams(Webcam.java:866)
at com.github.sarxos.webcam.Webcam.getWebcams(Webcam.java:845)
at com.truphone.lpap.qrcode.WebcamHandler.refreshList(WebcamHandler.java:36)
at com.truphone.lpap.qrcode.WebcamHandler.getWebcamNames(WebcamHandler.java:30)
at com.truphone.lpap.qrcode.QRCodeComponent.fillCmbCamera(QRCodeComponent.java:162)
at com.truphone.lpap.qrcode.QRCodeComponent.initComponents(QRCodeComponent.java:144)
at com.truphone.lpap.qrcode.QRCodeComponent.(QRCodeComponent.java:57)
at com.truphone.lpap.InputActivationCodeDialog.(InputActivationCodeDialog.java:22)
at com.truphone.lpap.DialogHelper.showInputActivationCodeDialog(DialogHelper.java:37)
at com.truphone.lpap.LPAUI.btnAddProfileActionPerformed(LPAUI.java:613)
at com.truphone.lpap.LPAUI.access$900(LPAUI.java:55)
at com.truphone.lpap.LPAUI$9.actionPerformed(LPAUI.java:269)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:262)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.util.concurrent.ExecutionException: com.github.sarxos.webcam.WebcamException: Cannot execute task
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.github.sarxos.webcam.WebcamDiscoveryService.getWebcams(WebcamDiscoveryService.java:116)
... 49 more
Caused by: com.github.sarxos.webcam.WebcamException: Cannot execute task
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.process(WebcamProcessor.java:72)
at com.github.sarxos.webcam.WebcamProcessor.process(WebcamProcessor.java:140)
at com.github.sarxos.webcam.WebcamTask.process(WebcamTask.java:46)
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$GetDevicesTask.getDevices(WebcamDefaultDriver.java:79)
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver.getDevices(WebcamDefaultDriver.java:124)
at com.github.sarxos.webcam.WebcamDiscoveryService$WebcamsDiscovery.call(WebcamDiscoveryService.java:36)
at com.github.sarxos.webcam.WebcamDiscoveryService$WebcamsDiscovery.call(WebcamDiscoveryService.java:26)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.UnsatisfiedLinkError: com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.getVideoDevices()Lorg/bridj/Pointer;
at com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.getVideoDevices(Native Method)
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$GetDevicesTask.handle(WebcamDefaultDriver.java:93)
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)
... 3 more
Tried to follow the setup/run instructions on a Windows 11 Pro machine and ran into the following issue (second run pasted for brevity). Any pointers?
C:\Users\cotob\code\LPAdesktop>docker-compose up
[+] Running 1/0
- Container lpadesktop-lpadesktop-1 Created 0.0s
Attaching to lpadesktop-lpadesktop-1
lpadesktop-lpadesktop-1 | standard_init_linux.go:228: exec user process caused: no such file or directory
lpadesktop-lpadesktop-1 exited with code 1
C:\Users\cotob\code\LPAdesktop>
From Docker Desktop Interface, the error seen is:
Error invoking remote method 'desktop-go-backend': Error: {"message":"cannot open editor: exit status 1 - "}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.