Added initial app to run MME. Starting to add S1APP class.

master
Pedro Alvarez 7 years ago
parent 136e3a2697
commit 429c32cd5a

@ -40,9 +40,9 @@ namespace srsepc{
class mme class mme
{ {
public: public:
mme* get_instance(void); static mme* get_instance(void);
void cleanup(void); static void cleanup(void);
private: private:

@ -0,0 +1,33 @@
/**
*
* \section COPYRIGHT
*
* Copyright 2013-2017 Software Radio Systems Limited
*
* \section LICENSE
*
* This file is part of srsLTE.
*
* srsLTE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* srsLTE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* A copy of the GNU Affero General Public License can be found in
* the LICENSE file in the top-level directory of this distribution
* and at http://www.gnu.org/licenses/.
*
*/
class s1ap
{
public:
s1ap();
virtual ~s1ap();
int enb_listen();
}

@ -1,7 +1,43 @@
/**
*
* \section COPYRIGHT
*
* Copyright 2013-2017 Software Radio Systems Limited
*
* \section LICENSE
*
* This file is part of srsLTE.
*
* srsUE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* srsUE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* A copy of the GNU Affero General Public License can be found in
* the LICENSE file in the top-level directory of this distribution
* and at http://www.gnu.org/licenses/.
*
*/
#include <iostream>
#include <boost/program_options.hpp>
#include "mme/mme.h" #include "mme/mme.h"
using namespace std;
using namespace srsepc;
namespace bpo = boost::program_options;
int int
main (int argc,char * argv[] ) main (int argc,char * argv[] )
{ {
//signal(SIGINT, sig_int_handler);
mme *mme = mme::get_instance();
cout << "--- Software Radio Systems EPC MME ---" << endl << endl;
return 0; return 0;
} }

@ -32,6 +32,15 @@ namespace srsepc{
mme* mme::instance = NULL; mme* mme::instance = NULL;
boost::mutex mme_instance_mutex; boost::mutex mme_instance_mutex;
mme::mme()
{
return;
}
mme::~mme()
{
return;
}
mme* mme*
mme::get_instance(void) mme::get_instance(void)
@ -43,10 +52,6 @@ mme::get_instance(void)
return(instance); return(instance);
} }
mme::mme()
{
}
void void
mme::cleanup(void) mme::cleanup(void)
{ {

@ -0,0 +1,33 @@
/**
*
* \section COPYRIGHT
*
* Copyright 2013-2017 Software Radio Systems Limited
*
* \section LICENSE
*
* This file is part of srsLTE.
*
* srsLTE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* srsLTE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* A copy of the GNU Affero General Public License can be found in
* the LICENSE file in the top-level directory of this distribution
* and at http://www.gnu.org/licenses/.
*
*/
namespace srsepc{
s1ap::s1ap()
{
}
}//namespace srsepc
Loading…
Cancel
Save