Esempio n. 1
0
        private const int kPppdExitTimeout = 10000; // ms

        public GprsSession(ILog logger, IGsmHardware hardware, CellOperators operators)
        {
            mLogger    = logger;
            mHardware  = hardware;
            mOperators = operators;
            Disconnect(); // kill all PPPd session from othes processes
        }
Esempio n. 2
0
        public GsmModem(ILog aLogger)
        {
            mLogger = aLogger;

            mConfig = new IniConfiguration(mLogger, "GsmModem.ini");


            Operators = new CellOperators(); // add hardcoded operators
            AddOperators();                  // add operator from config

            Hardware = new GsmHardware(aLogger);
            Session  = new GprsSession(aLogger, Hardware, Operators);
        }