Sei sulla pagina 1di 8

A2DP/HFP AT Commands

For the exchange of the commands and unsolicited result codes, the format, syntax and procedures of 3GPP 27.007 should be taken as reference. The following rules specifically apply for this document: Only one command (or unsolicited result code) per command line need to be expected. The AG, by default, should not echo the command characters. The characters below should be used for AT commands and result codes formatting: <CR> corresponds to the carriage return character <LF> corresponds to the line feed character The format of an AT command from the host to the AG should be: <AT command><CR> The format of the OK code from the AG to the host should be: <CR><LF>OK<CR><LF> The format of the ERROR code from the AG to the host should be: <CR><LF>ERROR<CR><LF> The format of an unsolicited result code from the AG to the host should be: <CR><LF><result code><CR><LF> The response for every AT command always terminates with a final result code: OK The command and specified parameters were valid and the command has accepted. ERROR An error has occurred during the command processing.

Commands
AT#PAR Enter pairing mode Description: The headset will be discoverable and can be paired. It would timeout after 3 minutes if it's not paired. AT#CNP Cancel pairing Description: Requests canceling pairing mode. The headset will be undiscoverable. AT#PNU Pairing PIN code Description: The host use this command to response a PIN request. Command: AT*PNU <pin> Parameter: <pin>: The PIN code string AT#CON Establish SLC connection Description:

Establish SLC connection to last used phone. AT#DSC Disconnect SLC connection. Description: Disconnect SLC connection from a connected phone. AT#RST Reset Description: Disconnect any connection and start a warm reboot. It would take about three seconds to reboot. After reboot, host will get an unsolicited result code PON. AT#ANS Answer incoming call Description: Answers an incoming call. AT#RPT Report current status Description: Report current status to host by RHS command. Response: RHS <status> Parameter: <status> <status> Description 0 1 2 3 4 5 6 Initializing Ready Connecting (establishing SLC connection) Connected (only SLC is connected) Outgoing call establish Incoming call establish Active Call

AT#REJ Reject incoming call Description: Requests to reject an incoming call. AT#ENC End call Description: Requests hang up. AT#RED Redial the last outgoing call Description: Calls the last phone number dialed. AT#VOD Voice dial Description: Enable the voice recognition function.

AT#CVD Cancel voice dial Description: Disable the voice recognition function. AT#VUP Volume up Description: Increases the volume level of speaker. AT#VUD Volume down Description: Decreases the volume level of speaker. AT#MUT Mute microphone Description: Enable the uplink voice muting during a call. AT#UMT Un-mute microphone Description: Disable the uplink voice muting during a call. AT#TAM Transfer audio to mobile phone Description: Requests to transfer the audio paths of an ongoing call to the phone. AT#RAC Release active accept other call Description: Releases all active calls (if any exist) and accepts the other (held or waiting) call. AT#RHC Release held or reject waiting call Description: Release all held calls or sets User Determined User Busy (UDUB) for a waiting call. AT#HAC Hold active accept other call Description: Places all active calls (if any exist) on hold and accepts the other (held or waiting) call. AT#CNC Conference call Description: Adds a held call to the conversation. AT#DPI Delete paired information Description: Deletes all paired device information and the last used device. AT#DOC Dial a call Description: Places a call to specified phone number. Command:

AT#DOC <dial_string> Parameter: <dial_string> <dial_string> 0 1 2 3 4 5 6 7 8 9 * # + A B C

Description Valid characters for origination

AT#SDT DTMF tone generation Description: Allow the transmission of DTMF tones. This command is used only during voice calls. Command: AT#SDT=<DTMF> Parameter: <DTMF>: An ASCII character string in the set 0-9, #, *, A-D. AT#PLY Play/pause Description: Play or pause music. AT#STP Stop Description: Stop music. AT#FFR Forward Description: Skip forward to next track. AT#BKW Backward Description: Skip backward to previous track. AT#QAA Query auto answer and power on auto connection setting Description: Query the current setting about auto answer and power on auto connection. Response: RPS <auto_answer>,<auto_connect> Parameter: <auto_answer> <auto_answer> Description 0 1 <auto_connect> <auto_connect> 0 1 Auto answer is disabled Auto answer is enabled

Description Power on auto connection is disabled Power on auto connection is enabled

AT#PAC Enable power on auto connection Description: Enable the headset autonomously connect to the last used phone when power on. AT#DAC Disable power on auto connection Description: Disable the headset autonomously connect to the last used phone when power on. AT#LAS Connect to last AV source Description: Connect to the last used AV source device. AT#ADS Disconnect the AV source Description: Disconnect the A2DP connection. The AVRCP connection will be disconnected, too. AT#QAS Query AVRCP status Description: Query the current status of AVRCP. Response: RAS <status> Parameter: <status> <status> 0 1 2 3 Initializing Ready Connecting Connected

Description

AT#EAA Enable auto answer Description: Enable the headset answer the incoming call autonomously. AT#DAA Disable auto answer Description: Disable the headset answer the incoming call autonomously. AT#SFF Start fast forward Description: Start to fast forward the playing track. AT#SPF Stop fast forward Description: Stop the fast forward action.

AT#SRE Start fast rewind Description: Start to fast rewind the playing track. AT#SPR Stop fast rewind Description: Stop the fast rewind action. AT#QA2 Query A2DP status Description: Query the current status of A2DP. Response: R2S <status> Parameter: <status> <status> 0 1 2 3 4 5 Initializing Ready Connecting Connected Streaming Pause

Description

Unsolicited Result Codes


PON Headset is power on Description: Unsolicited result code issued when the AG is power on and ready to received command. RQP Request a pairing PIN code Description: Unsolicited result code issued if AG trying to pair a device or connected from an unpaired device. Host has to send PIN code by AT*PNU command. PRD A device is paired successfully Description: Unsolicited result code used to notify host a device is paired successfully. REP A pairing request is reject/fail Description: Unsolicited result code issued if a pairing request is reject or fail. It may caused by wrong PIN code.

EPM Exit pairing mode Description: Unsolicited result code issued if the headset is exist pairing mode whenever paired, timeout or canceled. CON SLC is connected Description: Unsolicited result code used to notify host that the SLC is connected. DSC SLC is disconnected Description: Unsolicited result code used to notify host that the SLC is disconnected. INC Incoming call Description: Unsolicited result code used to notify host that there is an incoming call. OUC Outgoing call Description: Unsolicited result code issued if an outgoing call set up is going. HUP Hang up Description: Unsolicited result code issued if a call is hang up. PUP Pick up call Description: Unsolicited result code issued if a phone call (incoming/outgoing) is answered. HAC HFP audio connected Description: Unsolicited result code issued when HFP audio is connected. HAD HFP audio disconnected Description: Unsolicited result code issued when HFP audio is disconnected. CWT Call waiting Description: This unsolicited result code is sent when there is another call is waiting. HAA Hold active call and accept other call Description: This unsolicited result code is sent when the AT#HAC command is done successfully. CNC Conference call Description: This unsolicited result code is sent when the AT#CNC command is done successfully.

RCR Release held call and reject waiting call Description: This unsolicited result code is sent when the AT#RHC command is done successfully. RAA Release active call and accept other call Description: This unsolicited result code is sent when the AT#RAC command is done successfully. AVP AV play Description: Unsolicited result code issued when A2DP is streaming. ASS AV suspend/stop Description: Unsolicited result code issued when A2DP is pause/stop. ACO A2DP is connected Description: Unsolicited result code used to notify host that the A2DP is connected. ADS A2DP is disconnected Description: Unsolicited result code used to notify host that the A2DP is disconnected.

Potrebbero piacerti anche