Implementation of NMT (Nordic Mobile Telephoe) network

This commit is contained in:
Andreas Eversberg
2016-02-21 18:13:30 +01:00
parent cbfc818cce
commit 57caa536cf
19 changed files with 10866 additions and 3 deletions

View File

@@ -39,6 +39,8 @@ struct debug_cat {
{ "audio", "\033[0;31m" },
{ "anetz", "\033[1;34m" },
{ "bnetz", "\033[1;34m" },
{ "nmt", "\033[1;34m" },
{ "frame", "\033[0;36m" },
{ "call", "\033[1;37m" },
{ "mncc", "\033[1;32m" },
};

View File

@@ -10,8 +10,10 @@
#define DAUDIO 3
#define DANETZ 4
#define DBNETZ 5
#define DCALL 6
#define DMNCC 7
#define DNMT 6
#define DFRAME 7
#define DCALL 8
#define DMNCC 9
#define PDEBUG(cat, level, fmt, arg...) _printdebug(__FILE__, __FUNCTION__, __LINE__, cat, level, fmt, ## arg)
void _printdebug(const char *file, const char *function, int line, int cat, int level, const char *fmt, ...);