Up: GEOS SDK TechDocs | Up | Prev: ModemAnswerCall() ... | Next: NameArrayAdd() ...

ModemSetMessageDataNotify()

void	ModemSetMessageDataNotify(
        SerialPortNum		port,		/* serial port number */
        Message		msg,		/* msg to be sent upon notification */
        optr		destination);	/* object to receive msg */

Registers a message to be sent when when data is received from the modem during an active call. As with the serial driver's data notification, further notification will not be sent until the serial port has been read. [MEANING UNTIL THE STREAM HAS BEEN READ???]

Be Sure To: Use the prototype for the message you are registering.

@prototype void MODEM_DATA_NOTIFICATION();

Include: modemC.goh

See Also: ModemSetRoutineDataNotify().

ModemSetMessageEndCallNotify()

void	ModemSetMessageEndCallNotify(
        SerialPortNum		port,		/* serial port number */
        Message		msg,		/* msg to be sent upon notification */
        optr		destination);	/* object to receive msg */

Registers a message to be sent when a call has ended for any reason. To "un-register," pass NullOptr in destination.

Be Sure To: Use the prototype for the message you are registering.

@prototype void MODEM_END_CALL_NOTIFICATION();

Warnings: All platforms may not support this feature.

Include: modemC.goh

ModemSetMessageResponseNotify()

void	ModemSetMessageResponseNotify(
        SerialPortNum		port,		/* serial port number */
        Message		msg,		/* msg to be sent upon notification */
        optr		destination);	/* object to receive msg */

Registers a message to be sent when when a response is received from the modem (while the modem is in command mode). Response is passed in a memory block which the handler should free.

Be Sure To: Use the prototype for the message you are registering.

@prototype void MODEM_RESPONSE_NOTIFICATION();

Include: modemC.goh

See Also: ModemSetRoutineResponseNotify().

ModemSetRoutineDataNotify()

void	ModemSetRoutineDataNotify(
        SerialPortNum		port,		/* serial port number */
        word		data,		/* data passed to callback */
        void _pascal (*NotifyRoutine) (word data));

Registers a routine to be called when data is received from the modem during an active call. As with the serial driver's data notification, further notification will not be sent until the serial port has been read. [MEANING UNTIL THE STREAM HAS BEEN READ???]

Include: modemC.goh

See Also: ModemSetMessageDataNotify().

ModemSetRoutineResponseNotify()

void	ModemSetRoutineResponseNotify(
        SerialPortNum		port,		/* serial port number */
        word		data,		/* data passed to callback */
        void _pascal (*NotifyRoutine) (
        		word		data,
        		word		responseSize,
        		char		*response));

Registers a routine to be called when a response is received from the modem (while modem is in command mode).

Include: modemC.goh

See Also: ModemSetMessageResponseNotify().


Up: GEOS SDK TechDocs | Up | Prev: ModemAnswerCall() ... | Next: NameArrayAdd() ...