1.1.swSim–sim卡模拟器—模拟sim卡
1.1.1.介绍
https://github.com/tomasz-lisowski/swsim
swSIM is an all-software SIM card. It’s the first publicly available (to the best of my knowledge) SIM card simulator which does not rely on any SIM hardware to work.
1.1.2.下载编译
1.1.2.1.下载主目录
git clone --recurse-submodules https://github.com/tomasz-lisowski/swsim.git
1.1.2.2.下载一级lib目录
Cd lib
git clone --recurse-submodules https://github.com/tomasz-lisowski/make-pal.git
git clone --recurse-submodules https://github.com/tomasz-lisowski/swicc.git
1.1.2.3.下载二级lib目录
cd swicc/lib
git clone --recurse-submodules https://github.com/tomasz-lisowski/make-pal.git
git clone --recurse-submodules https://github.com/DaveGamble/cJSON.git
git clone --recurse-submodules https://github.com/jasmcaus/tau.git
1.1.2.4.出现告警编译当错误问题
解决在swsim下的makefile文件中去掉-Werror
1.1.2.5.make main-dbg
1.1.3.编译运行-它其实是个客户端:
1.1.3.1…/build/swsim.elf --ip 127.0.0.1 --port 37324 --fs filesystem.swiccfs --fs-gen ./data/usim.json
1.2.需要1个服务器端swICC PC/SC reader
1.2.1.源码https://github.com/tomasz-lisowski/swicc-drv-ifd
1.2.2.启动: pkill -x pcscd sudo pcscd -f -d -T
1.2.3.编译安装
git clone --recurse-submodules https://github.com/tomasz-lisowski/swicc-drv-ifd.git
1.2.3.1.下载一级lib目录
cd swicc-drv-ifd/lib
git clone --recurse-submodules https://github.com/tomasz-lisowski/make-pal.git
git clone --recurse-submodules https://github.com/tomasz-lisowski/swicc.git
1.2.3.2.下载二级lib目录
cd swicc/lib
git clone --recurse-submodules https://github.com/tomasz-lisowski/make-pal.git
git clone --recurse-submodules https://github.com/DaveGamble/cJSON.git
git clone --recurse-submodules https://github.com/jasmcaus/tau.git
1.2.4. pcscd介绍-----https://www.dbs724.com/106561.html
1.2.5.https://blog.csdn.net/Crystal_dog/article/details/122061742