summaryrefslogtreecommitdiffstats
path: root/uqmid/utils/test_gsmtap.c
blob: ed38292076bdb8a3fce790addffbb21f16d34d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>

#include "../gsmtap_util.h"
#include <talloc.h>

struct modem {
	int foo;
};

int main() {
	uint8_t data[1024] = { 0, 1, 2, 3, 4 };
	int ret = gsmtap_enable("127.0.0.1");
	printf("gsmtap enable: %d\n", ret);
	gsmtap_send(NULL, data, sizeof(data));

	return 0;
}