---
name: "gsm_explode"
section: "3"
platform: "linux"
package: "gsm"
version: "1.0.24-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gsm_explode"
---

# gsm\_explode(3)

GSM 06.10 supplementary functions for testing

## NAME

gsm\_explode, gsm\_implode — GSM 06.10 supplementary functions for testing

## SYNOPSIS

\#include "gsm.h"

void gsm\_explode(g, frame, xframe)\
 gsm        g;\
 gsm\_frame  frame;\
 gsm\_signal xframe\[ 76 \];

void gsm\_implode(g, xframe, frame)\
 gsm        g;\
 gsm\_signal xframe\[ 76 \];\
 gsm\_frame  frame;

## DESCRIPTION

Gsm is an implementation of the final draft GSM 06.10 standard for full-rate speech transcoding. Test data for implementations of this particular document can be bought and used to verify an implementation.

The encoded test data uses a format different from what one would use to transmit frames with the least number of bits. Gsm\_explode() and gsm\_implode() convert between the internal, small, 33-byte format and the 76-word format used by the test data.

## RETURN VALUE

gsm\_explode() returns -1 if the passed frame is invalid, else 0.

## BUGS

Please direct bug reports to jutta@pobox.com and cabo@tzi.org.

## SEE ALSO

[gsm(3)](/gsm/3.md)
