How to access the smart card (aka SIM card) interface?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access the smart card (aka SIM card) interface?

188 Views
paulchen1
Contributor I

Hi, 

I'm using a SABRE Board based on i.MX 6SoloX Sabre board which has a Micro SIM slot and after I insert a smart card, how can I interface with it?

Thanks for comments

Labels (3)
0 Kudos
2 Replies

78 Views
paulchen1
Contributor I

When I compiled mxc_sim_test and ran it. I found my /sys/devices/soc0/soc_id is i.MX6SX which is not supported in the soc_list in the code below. And /dev/mxc_sim is non-existent thus the SIM test failed. Is there any workaround? Since the SIM slot is soldiered on the iMX board and that's the reason I chose to develop on it. Please advise.

In mxc_sim_test.c:
...

char *soc_list[] = {"i.MX6UL", "i.MX7D", "i.MX8QM", " "};

printf("\n---- Running < %s > test ----\n\n", argv[0]);

ret = soc_version_check(soc_list);

if (ret == 0) {

printf("sim not supported on current soc\n");

return 0;

}

sim_fd = open("/dev/mxc_sim", O_RDWR);

if (sim_fd < 0) {

printf("Error when opening file\n");

return -1;

}

...

Thanks for comments

0 Kudos

78 Views
b45499
NXP TechSupport
NXP TechSupport

Which version of BSP are you using? That the i.MX6UL SIM module can pass certification in L4.9.11, you can refer to.

0 Kudos