libosmogsm 1.11.0.26-c59d.202505152026
Osmocom GSM library
|
#include <osmocom/isdn/v110.h>
Go to the source code of this file.
Functions | |
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. | |
int | osmo_csd_12k_6k_encode_frame (ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr) |
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. | |
int | osmo_csd_3k6_encode_frame (ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr) |
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. | |
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.
[out] | caller-allocated | output data structure, filled by this function |
[in] | ra_bits | One V.110 frame as 60 unpacked bits. |
References len.
int osmo_csd_12k_6k_encode_frame | ( | ubit_t * | ra_bits, |
size_t | ra_bits_size, | ||
const struct osmo_v110_decoded_frame * | fr | ||
) |
References len.
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.
[out] | caller-allocated | output data structure, filled by this function |
[in] | ra_bits | One V.110 frame as 36 unpacked bits. |
References len, and OSMO_ASSERT.
int osmo_csd_3k6_encode_frame | ( | ubit_t * | ra_bits, |
size_t | ra_bits_size, | ||
const struct osmo_v110_decoded_frame * | fr | ||
) |
References len, and OSMO_ASSERT.
Print a encoded "CSD modififed V.110" frame in the same table-like structure as the spec.
outf | output FILE stream to which to dump | |
[in] | fr | unpacked bits to dump |
[in] | in_len | length of unpacked bits available at fr. |
References len.