libosmogsm 1.9.0.196-9975
Osmocom GSM library
gsm44021.h
Go to the documentation of this file.
1#pragma once
2#include <osmocom/isdn/v110.h>
3
4int osmo_csd_12k_6k_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits);
5int osmo_csd_12k_6k_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr);
6int osmo_csd_3k6_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits);
7int osmo_csd_3k6_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr);
8void osmo_csd_ubit_dump(FILE *outf, const ubit_t *fr, size_t in_len);
uint8_t ubit_t
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
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
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
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
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