gsm_explode man page

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)

Referenced By

gsm(3), gsm_option(3), gsm_print(3).