usim | A Cortex-M0 simulator written in C
kandi X-RAY | usim Summary
kandi X-RAY | usim Summary
A Cortex-M0 simulator written in C++. The idea is to learn C++ and the Cortex-M0 architecture, and along the way creating something useful and interesting.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of usim
usim Key Features
usim Examples and Code Snippets
Community Discussions
Trending Discussions on usim
QUESTION
everyone, I'm developing a project with LTE 4G module and having a problem described as following:
- I write a SIM card application (with Java tech) and download it into the SIM Card.
- After downloading the applet, inert the SIM card into a card reader, then I can send APDUs to the applet through this card reader. applet works fine ,it accepts the APDU and gives the response back.
- After finishing the APDU test , I insert the SIM card to the LTE 4G module ,and send AT+CCHO="A0BB01020304050001"(A0BB01020304050001 is my applet DF name) through uart to open the applet, the 4G module returns +CME ERROR: 15(SIM Wrong).But some other original applet(such as USIM) in the card can be opend normally in this way.
so,does anyone know whether there are some key points I have to pay attention to my applet or the AT+CCHO command? I'll be very appreciated and willing to give what all I have.
...ANSWER
Answered 2021-Feb-19 at 08:25Ok,finally it proved that no matter what you sent to the App through CGLA, the App must gave back something to the 4G module, otherwise the module released +CME ERROR: 15.
QUESTION
I am facing an error while I am trying to build my project using cmake.
I manually downloaded and install gtest on my pc (i.e. gtest header files are available in /usr/include) and libs such as gtest, gtest_main in /usr/lib)
Below is the code of my projects main function. (lte_softmodem_test.cpp)
...ANSWER
Answered 2020-Dec-24 at 14:16This is how I personally include Google Test in a clean way:
QUESTION
ANSWER
Answered 2020-Jul-10 at 17:42When using a Hologram SIM card you shouldn't use the Verizon profile as this is only for Verizon SIM cards. Also with Hologram the CID should be 1, 3 is only for Verizon SIM cards.
Even though the ICCID command returns a result, there seems to be an issue with the SIM card as HP USIM FSM reports NULL.
Can you please first of all try lte.factory_reset() and then try again with cid=1?
If the problem persists please contact Pycom support https://pycom.io/community/contact-support/
QUESTION
I have written an applet on a sim card and successfully installed it on my sim. Now I want to send/receive APDUs to my sim card applet using an android application.
Some libraries (e.g. Seek) need rooted devices and do the task but I don't want to root devices. Is there any android libraries to interface my applet? All I have found is applications to use NFC or Bluetooth to send or receive APDUs to contactless cards, but I need to interface contact sims inserted to mobile sim card slot.
Appendix 1:These are all applets existing on my USIM (output of GPShell list function):
...ANSWER
Answered 2019-Jul-23 at 06:44Since Android 9 there is android.se.omapi package providing such access (implementing SIMalliance Open Mobile API). For older devices supporting OMAPI, see e.g. here, here, here.
To get access to your applet there has to be an ARA-M applet on SIM configured to allow your application to connect to your applet (there is a MIT licensed implementation available here and a special all-allowed implementation here).
Access configuration can be performed with GlobalPlatformPro.
Disclaimer: A lot has changed since I was dealing with this so please do validate my thoughts.
Good luck!
QUESTION
I am trying to interface an applet in my USIM and an Android application.
I know that I have to install ARA-M applet on USIM in order to check access controls and submit my application-AID as a rule to communicate.
I checked this link and installed it on my sim, but I cannot communicate with this applet, all samples are using GlobalPlatformPro. when I run a commands like gp.exe --list
, it returns 0x57
from ScardTransmit
function which means ERROR_INVALID_PARAMETER
and I don't know how to fix it.
Now I have 2 questions:
1) How can I fix GlobalPlatformPro error in order to run ARA-M samples?
2) How can I find standard commands for this applet (some sample APDUs to communicate and add access control rules)?
Thank you for helping.
...ANSWER
Answered 2019-Jul-29 at 12:28I found the answer.
There is a paper on the matter here. It is a good place to get started. Global Platform has a repository here where you can find ARA applet and four test applets to get started.
The Global Platform Secure Element Access Control can also be a useful reference for those who are at the start point, like me.
QUESTION
I trying to save their phone numbers after checking permissions and USIM state.
In onCreate() methods, Initialized global variable TelephonyManager.
...ANSWER
Answered 2019-Feb-18 at 09:55Some devices will return null when the sim card is not installed on the devices. Some devices will raise an exception when you're trying to call the following code:
QUESTION
I Want to write a javacard applet for SIM-Card (USIM) to encrypt and decrypt SMS for specific number. i don't want to install any application on mobile phone and SIM-card applet has to detect the message is belong to specific number and encrypt or decrypt it. Can i write such javacard applet by SIM toolkit package or anything else to do this process technically?
...ANSWER
Answered 2017-Nov-21 at 06:48Yes, such application can be written by the help of sim toolkit API's.
Use the following toolkit event for processing your application: -
- ENVELOPE(SMS-PP ... formatted) from 3GPP TS 31.130 V6.6.0 (2007-06)
- From envelope handler, extract the origin address (refer TAG)(phone number of sender).
- Do the operation.
QUESTION
I am trying to iterate over a Temporary Table inside of a Function, where I want to make an Update on every row.
The Temporary Table should hold all the user ID's that are getting out of the query. After that, for every Single User it should be checked, if the percentage of the transactions with attributes is smaller than 50% of all transactions.
In the end, the account field master_segments should be updated.
My Code looks like that:
...ANSWER
Answered 2018-May-17 at 09:03I assume what you try to do is:
QUESTION
I do have a question about the division of 2 count statements below, which give me the error underneath.
...ANSWER
Answered 2018-May-16 at 10:32Is that your complete query? Something like this works in Postgres 10:
SELECT
(SELECT COUNT(id) FROM test WHERE state = false) / (SELECT COUNT(id) FROM test WHERE state = true) as y
The extra SELECT
in front of both sub queries with the division is what's important. Otherwise I also get the error you mentioned.
See also my DB Fiddle version of this query.
QUESTION
Other than exchanging APDU with the USIM card, how can I access the USIM's file management or perform some operations on the USIM (file deletion, update, and deactivation mainly) ?
Thank you for your insights!
...ANSWER
Answered 2017-Sep-07 at 13:32All SIM card communications are based on APDU exchanges. The phone therefore can only interact with a SIM using APDUs. Depending on which files you are modifying there my be abstraction type libraries/functions that allow you to edit a SIM contact for example, however you must remember that these libraries are still eventually exchanging APDUs with the SIM.
Maybe if you provide more information around why you require an alternative way to manage SIM files a better answer can be provided?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install usim
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page