Giter Club home page Giter Club logo

sim-emulator's Introduction

Sim-emulator

Programmatic simcard open source emulator.

Dependencies

Make, gcc, Python

Current state

  • Currently only at initial stage with no functional
  • Basic system for building simcard filesystem is implemented

Configuring filesystem of simcard emulator

  • To add a file just add it to where it belongs relative to MF directory
  • For dedicated files (DF) additional files with information supplied, see .desc files under MF for each dedicated file
  • For entry files (EF) format is as follows:
    • First line: TRN or LIN - transparent of linear EF
    • Second line: fid in hex starting with 0x
    • Third line: Short fid (sfid), hex
    • Fourth line: Description text
    • Fifth line: Record max length for linear EF
    • Sixth line: File size for transparent EF, for linear file it is calculated during parsing
    • Seventh line: Data in hex each two symob for a byte for transparent EF
    • For linear EF Seventh and further lines each represent data for subsequent records

At the moment most of the data in files is copied from Pysim project just for reference, and probably needs to be edited in the future

make

will first check if MF directory has changed. If changed, translatefs.py is launched, which generates fs.inc file. It contains macros sequence which is understood by gcc at the step of building project

TODO

  • Add apdu command handling
  • Add GSM authentication algorythm

sim-emulator's People

Contributors

kapeldev avatar anton-bondarev avatar timtim-ww avatar

Watchers

 avatar Embox Bot avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.