Цитата(de__ @ Apr 10 2008, 20:27)

У меня модем проще, работы со звуком нет.
а что за парметр
adl_atSendResponse( ADL_AT_INT,"!!!\r\n" );
может быть ADL_PORT_UART1?
А вы брейкпоинт на обработчик ставили?
Код
This function sends the provided text to any external application connected to the
required port, as a response, an unsolicited response or an intermediate response,
according to the requested type.
• Prototype
s32 adl_atSendResponse (u16 Type,
ascii * String )
• Parameters
Type:
This parameter is composed of the response type, and the destination port
where to send the response. The type & destination combination has to be
done with the following macro:
ADL_AT_PORT_TYPE ( _port, _type )
The _port argument has to be a defined value of the adl_atPort_e type, and
this required port has to be available (cf. the AT/FCM port Service); sending
a response on an Open AT® the GSM or GPRS based port will have no
effects).
Note:
With the ADL_AT_UNS type value, if the ADL_AT_PORT_TYPE macro is not used,
the unsolicited response will be broadcasted on all currently opened ports.
If the ADL_AT_PORT_TYPE macro is not used with the ADL_AT_RSP & ADL_AT_INT
types, responses will be by default sent on the UART 1 port. If this port is
not opened, responses will not be displayed.
The _type argument has to be one of the values defined below:
o ADL_AT_RSP:
Terminal response (have to ends an incoming AT command).
A destination port has to be specified.
Sending such a response will flush all previously buffered unsolicited
responses on the required port.
o ADL_AT_INT:
Intermediate response (text to display while an incoming AT command
is running).
A destination port has to be specified.
Sending such a response will just display the required text, without
flushing all previously buffered unsolicited responses on the required
port.
API
AT Commands Service
© Confidential Page: 50 / 365
This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.
WM_DEV_OAT_UGD_060 - 003 December 17, 2007
o ADL_AT_UNS:
Unsolicited response (text to be displayed out of a currently running
command process).
For the required port (if any) or for each currently opened port (if the
ADL_AT_PORT_TYPE macro is not used), if an AT command is currently
running (ie. the command was sent by the external application, but this
command answer has not be sent back yet), any unsolicited response
will automatically be buffered, until a terminal response is sent on this
port.
String:
The text to be sent.
Please note that this is exactly the text string to be displayed on the
required port (ie. all carriage return & line feed characters ("\r\n" in C
language) have to be sent by the application itself).
• Returned values
o ADL_RET_ERR_SERVICE_LOCKED if the function was called from a low level
interrupt handler (the function is forbidden in this context).
o OK if the function is successfully executed.