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 }
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); }