view ater/globals.h @ 19:1e375472d5a5

ater: implement TRAU frame output
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 08:07:45 +0000
parents 4ffe22f5b4b5
children f49e57b0d1a2
line wrap: on
line source

/* global vars and intermodule-linkage functions in itt-ater-16 */

#pragma once

extern void *g_ctx;
extern struct osmo_e1dp_client *g_client;
extern int ts_fd;
extern struct osmo_i460_timeslot i460_ts;
extern uint8_t readbuf[160];
extern FILE *record_file;

int ts_fd_cb(struct osmo_fd *ofd, unsigned int what);
void transmit_e1_ts(void);

void handle_user_cmd(int argc, char **argv);
void cmd_record_start(int argc, char **argv);
void cmd_record_stop(int argc, char **argv);
void cmd_print_rx(int argc, char **argv);