src/lte/model/epc-ue-nas.h
changeset 10296 13ff285523bf
parent 9430 e8b87593ee5b
child 10300 792cecb6cf2d
--- a/src/lte/model/epc-ue-nas.h	Mon Jul 22 11:20:27 2013 +0300
+++ b/src/lte/model/epc-ue-nas.h	Mon Jul 22 12:39:11 2013 +0300
@@ -86,12 +86,24 @@
   void SetForwardUpCallback (Callback <void, Ptr<Packet> > cb);
  
   /** 
-   * instruct the NAS to go to ACTIVE state, i.e., EMM Registered + ECM Connected
-   * Since RRC Idle Mode cell selection is not supported yet, we
-   * force the UE RRC to be camped on a specific eNB.
+   * \brief Instruct the NAS to go to ACTIVE state
    * 
+   * The end result is equivalent with EMM Registered + ECM Connected states.
+   * If this function is called when the UE is in a situation where connecting
+   * is not possible (e.g. before the simulation begin), then the UE will
+   * attempt to connect at the earliest possible time (e.g. after it camps to a
+   * suitable cell).
+   */
+  void Connect ();
+
+  /**
+   * \brief Instruct the NAS to camp to a specific cell and go to ACTIVE state.
    * \param cellId the id of the eNB to camp on
    * \param earfcn the DL frequency of the eNB
+   *
+   * The end result is equivalent with EMM Registered + ECM Connected states.
+   * Since RRC Idle Mode cell selection is not supported yet, we force the UE
+   * RRC to be camped on a specific eNB.
    */
   void Connect (uint16_t cellId, uint16_t earfcn);
  
@@ -137,7 +149,7 @@
 
  
 private:
-  
+
   // LTE AS SAP methods
   void DoNotifyConnectionSuccessful ();
   void DoNotifyConnectionFailed ();
@@ -155,7 +167,7 @@
   Ptr<NetDevice> m_device;
 
   uint64_t m_imsi;
-  
+
   LteAsSapProvider* m_asSapProvider;
   LteAsSapUser* m_asSapUser;