Asterisk - The Open Source Telephony Project
21.4.1
|
FSK Modem Support. More...
Go to the source code of this file.
Data Structures | |
struct | fsk_data |
Macros | |
#define | NCOLA 0x4000 |
#define | PARITY_EVEN 1 |
#define | PARITY_NONE 0 |
#define | PARITY_ODD 2 |
Functions | |
int | fsk_serial (fsk_data *fskd, short *buffer, int *len, int *outbyte) |
Retrieve a serial byte into outbyte. Buffer is a pointer into a series of shorts and len records the number of bytes in the buffer. len will be overwritten with the number of bytes left that were not consumed. More... | |
FSK Modem Support.
Definition in file fskmodem_float.h.
int fsk_serial | ( | fsk_data * | fskd, |
short * | buffer, | ||
int * | len, | ||
int * | outbyte | ||
) |
Retrieve a serial byte into outbyte. Buffer is a pointer into a series of shorts and len records the number of bytes in the buffer. len will be overwritten with the number of bytes left that were not consumed.
0 | Still looking for something... |
1 | An output byte was received and stored in outbyte |
-1 | An error occured in the transmission He must be called with at least 80 bytes of buffer. |
Definition at line 224 of file fskmodem_float.c.
Referenced by callerid_feed(), callerid_feed_jp(), and tdd_feed().