Programming Manual

i480e&i480e-MD2 Programming Manual
54 / 139
client. */
a2dp_sdp_fail, /*! SDP registration has failed. */
a2dp_l2cap_fail, /*! L2CAP registration has failed. */
a2dp_operation_fail, /*! The operation has failed. */
a2dp_insufficient_memory, /*! No memory to perform the required
task. */
a2dp_wrong_state, /*! The library is in the wrong state to perform
the operation. */
a2dp_no_signalling_connection, /*! No signaling connection. */
a2dp_no_media_connection, /*! No media connection. */
a2dp_rejected_by_remote_device, /*! Was rejected by the remote device.
*/
a2dp_disconnect_link_loss, /*! Link loss occurred. */
a2dp_closed_by_remote_device, /*! Closed by remote device. */
a2dp_aborted /*! Connection was aborted. */
} a2dp_status_code;
8.2A2DPCONN
The A2DPCONN command is used to establish a A2DP connection with a remote
device.
Command
AT+B A2DPCONN [bd]
Response
AT-B A2DPCONN [status],[bd]
Parameters
bd
Remote Bluetooth device address.
status
Values in the chapter 8.1.
Note
bd is comprised of 12 bytes hexadecimal characters.
8.3A2DPDISC
The A2DPDISC command is used to release the A2DP connection with a remote
device.
Command
AT+B A2DPDISC
Response
AT-B A2DPDISC [status],[bd]
Parameters
status
Values in the chapter 8.1
Barrot Confidential