-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test communicate with Microchip SEC1210 on Linux #148
Comments
Sim card Viettel (Vietnam, contact, ISO/IEC 7816) can be detect by module SEC1210? Driver ccid-1.4.4 can support sim card Viettel? |
@LudovicRousseau please answer directly here. Driver ccid-1.4.4 can support Microchip SEC1210 and sim card Viettel(Vietnam, contact, ISO/IEC 7816) on SAM SEC1210 single slot can detect by pcscd, pcsc_scan ??? |
The way to communicate through your blog is quite complicated. |
@tuananh-lab we were build pcsc under android, if you want call PC/SC API, you can have a look here: |
@FeitianSmartcardReader |
I found a suggestion on how to port PCSC driver on Android at https://github.com/zhengyi0802/android-pcsc but I don't see specific instructions. Do you have any solution? |
it looks he already modify the make file, you can have a look android.mk. |
I was build ccid and pcsc on embedded device, you can have reference too. |
Thank you for your feedback, I think I need to integrate the operating system level, I have the operating system source and I want to integrate the PCSC driver build as a module so that the final image built to flash into the circuit will be ported. /dev/ttyHS5 will be identified as the pcscd port, of course dynamic libraries will have to be integrated in the paths and the reader.conf file will also be available and future developers will use the pcsc API Just ready to call. |
You can also utilize USB and adhere to the CCID protocol to package the API, without relying on the PC/SC API. This approach is much easier. However, if you have a large project that depends on PC/SC, then I concur with the points mentioned above. |
Because the SEC1210 module integrated on our board only supports UART, I need to enable the UART port as a pcscd port. My task is to provide a platform that ensures PC/SC services run on Android boards so that software developers can later operate with the smartcard on our board. I'm having difficulty finding any standard documents for porting CCID drivers and pcsc to Android. |
I'm asking here for Tx and Rx from the SEC1210 module connected to the personal computer at /dev/ttyUSB0 port via USB TTL FT232. |
Do you have a Java program to test that calls the API from the libraries: libpcsclite.so, libccidtwin.so so that I can ensure that I have successfully installed PC/SC on my Android board? |
Now, I used driver ccid-1.4.4 then I run pcscd, pcsc_scan, opensc not detect SIM card on the module SAM SEC1210.
I edit file /usr/local/etc/reader.conf.d/reader.smsc.conf via document.
I edit file /usr/local/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist VendorID and ProductID of Microchip SEC1210
/dev/ttyUSB0 is connect UART between module SEC1210 with computer
FRIENDLYNAME "SAM SEC Serial"
DEVICENAME /dev/ttyUSB0
LIBPATH /usr/local/lib/pcsc/drivers/serial/libccidsmsc.so
CHANNELID 1
I tried use driver CCID-1.6.1(include Microchip in file Info.plist) but pcscd and pcsc_scan not work
How can you help me?
I must communication with SEC1210 to ensure module work.
The text was updated successfully, but these errors were encountered: