Programming Manual

116 / 139
i480e&i480e-MD2 Programming Manual
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_max_connections, /*! Library can’t support any more
signaling/media connections to a remote device.
*/
a2dp_aborted, /*! Connection was aborted. */
a2dp_security_reject /*! Security rejected. */
} a2dp_status_code;
22.2
A2DPCONN
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. It is comprised of
12 bytes hexadecimal characters.
status
Values in the chapter 22.1.
Note
When i480e works as A2DP source, it could only connect to one
A2DP sink device.
22.3
A2DPDISC
The A2DPDISC command is used to release a A2DP connection with a remote
device.
Command
AT+B A2DPDISC
Barrot Confidential