comparison pcm/globals.h @ 6:631f2db08538

pcm: implement print-rx and record commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Jun 2024 18:53:01 +0000
parents 7233c10af3ad
children ca351324187a
comparison
equal deleted inserted replaced
5:7233c10af3ad 6:631f2db08538
3 #pragma once 3 #pragma once
4 4
5 extern struct osmo_e1dp_client *g_client; 5 extern struct osmo_e1dp_client *g_client;
6 extern int ts_fd; 6 extern int ts_fd;
7 extern uint8_t readbuf[160]; 7 extern uint8_t readbuf[160];
8 extern FILE *record_file;
8 9
9 int ts_fd_cb(struct osmo_fd *ofd, unsigned int what); 10 int ts_fd_cb(struct osmo_fd *ofd, unsigned int what);
10 void handle_user_cmd(int argc, char **argv); 11 void handle_user_cmd(int argc, char **argv);
12 void cmd_record_start(int argc, char **argv);
13 void cmd_record_stop(int argc, char **argv);
14 void cmd_print_rx(int argc, char **argv);