Holger Hans Peter Freyther | 10501cc | 2019-02-25 03:20:16 +0000 | [diff] [blame] | 1 | # osmo_gsm_tester: OsmocomBB based Mobile Station (MS) |
| 2 | # |
| 3 | # Copyright (C) 2016-2019 by sysmocom - s.f.m.c. GmbH |
| 4 | # |
| 5 | # Author: Neels Hofmeyr <neels@hofmeyr.de> |
| 6 | # |
| 7 | # This program is free software: you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as |
| 9 | # published by the Free Software Foundation, either version 3 of the |
| 10 | # License, or (at your option) any later version. |
| 11 | # |
| 12 | # This program is distributed in the hope that it will be useful, |
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | # GNU General Public License for more details. |
| 16 | # |
| 17 | # You should have received a copy of the GNU General Public License |
| 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | |
| 20 | from . import ms |
| 21 | |
| 22 | |
| 23 | class MSOsmoMobile(ms.MS): |
| 24 | """Represent a osmocom-bb mobile.""" |
| 25 | |
| 26 | def cleanup(self): |
| 27 | # do nothing for a virtual resource |
| 28 | pass |
Holger Hans Peter Freyther | 5e67ed4 | 2019-02-25 09:48:50 +0000 | [diff] [blame] | 29 | |
| 30 | def ki(self): |
| 31 | ki = super().ki() |
| 32 | if not ki: |
| 33 | return "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" |
| 34 | return ki |