fd20930de5a742963986b6da26a8b8e2fcc3fced
[osmocom-bb.git] / src / host / layer23 / src / settings.c
1 /*
2  * (C) 2010 by Andreas Eversberg <jolly@eversberg.eu>
3  *
4  * All Rights Reserved
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  *
20  */
21
22 #include <stdint.h>
23 #include <errno.h>
24 #include <string.h>
25 #include <osmocore/talloc.h>
26
27 #include <osmocom/logging.h>
28 #include <osmocom/osmocom_data.h>
29 #include <osmocom/networks.h>
30
31 int gsm_settings_init(struct osmocom_ms *ms)
32 {
33         struct gsm_settings *set = &ms->settings;
34
35         /* test sim */
36         strcpy(set->test_imsi, "001010000000000");
37         set->test_rplmn_mcc = set->test_rplmn_mnc = 1;
38
39         return 0;
40 }
41
42