While running, the transmitter is in one of the following four states: idle, sending channel seizure, sending mark or sending data. A transmission consists of a sequence of states, or noseizureflag bursts, used to transmit a data packet, and bracketed by silence or idle state. For use with Analog Display Services Interface (ADSI) Customer Premises Equipment (CPE), a transmission consists of the sequence: sending mark - sending data. In ADSI feature phones, the "sending channel seizure state" will never be seen. As a result, noseizureflag must be set to 1. The send function may be stopped using adiStopSendingFSK. The event value field will contain ADI_REASON_STOPPED. The number of bytes sent before the function was stopped cannot be determined.
While running, the receiver is in one of the following four states: idle, receiving channel seizure, receiving mark or receiving data. The reception of a complete packet will consist of either the sequence (receive channel seizure, receive mark, receive data) or (receive mark, receive data). During the receive process, a number of errors my occur. These errors will cause the function to terminate prematurely. The ADIEVN_FSK_RECEIVE_DONE event is sent with one of the following reasons:
The receive function may be stopped using adiStopReceivingFSK. The event value field will contain ADI_REASON_STOPPED. The size of the partial buffer received is stored in the size field of the event structure.
Copyright 1996 Natural MicroSystems, Inc. All Rights Reserved.