FreeCalypso > hg > ice1-trau-tester
view ater/tx_func.c @ 18:61862af2247f
ater: E1 timeslot output (osmo_i460 mux)
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 24 Jun 2024 07:26:20 +0000 |
parents | |
children | 1e375472d5a5 |
line wrap: on
line source
/* * Here we are going to implement Tx on Ater toward the TRAU. */ #include <stdint.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <osmocom/core/select.h> #include <osmocom/isdn/i460_mux.h> #include "globals.h" #include "submux.h" void transmit_e1_ts(void) { uint8_t buf[160]; osmo_i460_mux_out(&i460_ts, buf, 160); write(ts_fd, buf, 160); }