libosmogsm 1.13.1.1-afb4 Osmocom GSM library

gsm44021.h
Go to the documentation of this file.
1#pragma once
2#include <osmocom/isdn/v110.h>
3
4 int osmo_csd_12k_6k_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits);
5 int osmo_csd_12k_6k_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr);
6 int osmo_csd_3k6_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits);
7 int osmo_csd_3k6_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr);
8 void osmo_csd_ubit_dump(FILE *outf, const ubit_t *fr, size_t in_len);
ubit_t
uint8_t ubit_t
osmo_csd_12k_6k_encode_frame
int osmo_csd_12k_6k_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr)
Definition: gsm44021.c:77
osmo_csd_3k6_decode_frame
int osmo_csd_3k6_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits)
Decode a 36-bit GSM 3k6kbit/s CSD frame present as 36 ubits into a struct osmo_v110_decoded_frame.
Definition: gsm44021.c:119
osmo_csd_3k6_encode_frame
int osmo_csd_3k6_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr)
Definition: gsm44021.c:210
osmo_csd_ubit_dump
void osmo_csd_ubit_dump(FILE *outf, const ubit_t *fr, size_t in_len)
Print a encoded "CSD modififed V.110" frame in the same table-like structure as the spec.
Definition: gsm44021.c:272
osmo_csd_12k_6k_decode_frame
int osmo_csd_12k_6k_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits)
Decode a 60-bit GSM 12kbit/s CSD frame present as 60 ubits into a struct osmo_v110_decoded_frame.
Definition: gsm44021.c:27
osmo_v110_decoded_frame
v110.h