Sink Mode

Caution

To use the commands below the BTI needs to be switched to sink mode first

Set pairing active/inactive

Communication Command Parameter Example
Request AT+PAIR=Parameter<CR><LF>
0: Off
1: On
AT+PAIR=1<CR><LF>
Reply <CR><LF>OK<CR><LF>

Request pairing active/inactive status

Communication Command Parameter Example
Request AT+PAIR<CR><LF>
AT+PAIR<CR><LF>
Reply #1 <CR><LF>+PAIR=1<CR><LF>
Reply #2 <CR><LF>OK<CR><LF>

Activate simple/secure pairing

Communication Command Parameter Example
Request AT+SSP=Parameter<CR><LF>
0: Off
1: On
AT+SSP=1<CR><LF>
Reply <CR><LF>OK<CR><LF>

Request simple/secure pairing status

Communication Command Parameter Example
Request AT+SSP<CR><LF>
AT+SSP<CR><LF>
Reply #1 <CR><LF>+SSP=0<CR><LF>
Reply #2 <CR><LF>OK<CR><LF>

Set BTI’s pin code

Communication Command Parameter Example
Request AT+PIN=Parameter<CR><LF>
4-15 ASCII numbers
AT+PIN=1234<CR><LF>
Reply <CR><LF>OK<CR><LF>

Request BTI’s pin code

Communication Command Parameter Example
Request AT+PIN<CR><LF>
AT+PIN<CR><LF>
Reply #1 <CR><LF>+PIN=1234<CR><LF>
Reply #2 <CR><LF>OK<CR><LF>

Clear a paired record

Caution

If the device (headphone/speaker) is deleted in the BTI it needs to be reconnected to work

Communication Command Parameter Example
Request AT+PLIST=Parameter<CR><LF>
0: Clear list
x: Clear index (x)
AT+PLIST=E<CR><LF>
Reply <CR><LF>OK<CR><LF>

Request paired records

Communication Command Parameter Example
Request AT+PLIST<CR><LF>
AT+PLIST<CR><LF>
Reply #1 <CR><LF>+PLIST=1,123456ABCDEF <CR><LF>
<CR><LF>+PLIST=1,ABCDEF123456 <CR><LF>
<CR><LF>+PLIST=E <CR><LF>
Reply #2 <CR><LF>OK<CR><LF>

Reconnect to Bluetooth device

Communication Command Parameter Example
Request AT+A2DPCONN=Parameter<CR><LF>
No parameter: To last device
MAC: Mac of target device (12 Bytes ASCII)
AT+A2DPCONN=123456ABCEDF<CR><LF>
Reply #1 <CR><LF>+A2DPCONN=123456ABCEDF<CR><LF>
Reply #2 <CR><LF>OK<CR><LF>

Release Bluetooth connection to device

Communication Command Parameter Example
Request AT+A2DPDISC<CR><LF>
AT+A2DPDISC<CR><LF>
Reply <CR><LF>OK<CR><LF>

Request status of connected device

Communication Command Parameter Example
Request AT+A2DPSTAT<CR><LF>
AT+A2DPSTAT<CR><LF>
Reply #1 <CR><LF>+A2DPSTAT=4<CR><LF>
0: Unsupported
1: Standby
2: Connecting
3: Connected
4: Streaming
Reply #2 <CR><LF>OK<CR><LF>

Nofification address of connected device

Notice

Event at device connection only, cannot be requested by control system

Communication Command Parameter Example
Reply #1 <CR><LF>+A2DPDEV=123456ABCDEF <CR><LF>
Reply #2 <CR><LF>OK<CR><LF>

Request codex used by the connected device

Communication Command Parameter Example
Request AT+A2DPDEC<CR><LF>
AT+A2DPDEC<CR><LF>
Reply #1 <CR><LF>+A2DPDEC=1<CR><LF>
0: Invalid
1: SBC
2: MP3
3: AAC
4: FASTSTREAM
5: APTX
6: APTX-Sprint
7: APTX-HD
8: APTX-LL
Reply #2 <CR><LF>OK<CR><LF>

Set ID track feedback

Caution

This command needs a reboot to activate

  • Parameter: Default is 11, Base 10 representation of a bit
Communication Command Parameter Example
Request AT+AVRCPCFG<CR><LF>
BIT[0]: Auto get rack ID3 information (title, artist, album) on track changed (default 1)
BIT[1-3]: Auto get track state (play progress) if value >0 (default 5sec)
AT+AVRCPCFG=11<CR><LF>
Reply <CR><LF>OK<CR><LF>

Request status of connected device

Communication Command Parameter Example
Request AT+AVRCPSTAT<CR><LF>
AT+AVRCPSTAT<CR><LF>
Reply #1 <CR><LF>+AVRCPSTAT=4<CR><LF>
0: Unsupported
1: Standby
2: Connecting
3: Connected
Reply #2 <CR><LF>OK<CR><LF>

Nofification Mediaplayer play progress

Notice

Event at device connection only, cannot be requested by control system

Communication Command Parameter Example
Param1: (0-4) Media Player State – please see PLAYSTAT parameters
Param2:(Decimal ASCII), Elapsed time of current track in ms
Param3:(Decimal ASCII), Total time of track in ms
Reply #1 <CR><LF>+TRACKSTAT=1,142000,248000 <CR><LF>

Nofification Mediaplayer track info

Event at device connection only, cannot be requested by control system

Communication Command Parameter Example
Param1: Title
Param2: Artist
Param3: Album
Reply #1 <CR><LF>+TRACKINFO=Creep<FF>Radiohead<FF>Pablo Honey <CR><LF>

Nofification Mediaplayer status of the connected device

Event at device connection only, cannot be requested by control system

Communication Command Parameter Example
0: Stopped
1: Playing
2: Paused
3: Fast Forward
4: Fast Rewind
Reply #1 <CR><LF>+PLAYSTAT=1<CR><LF>

Transport Play/Pause

Communication Command Parameter Example
Request AT+PLAYPAUSE<CR><LF>
AT+PLAYPAUSE<CR><LF>
Reply <CR><LF>OK<CR><LF>

Transport Play

Communication Command Parameter Example
Request AT+PLAY<CR><LF>
AT+PLAY<CR><LF>
Reply <CR><LF>OK<CR><LF>

Transport Pause

Communication Command Parameter Example
Request AT+PAUSE<CR><LF>
AT+PAUSE<CR><LF>
Reply <CR><LF>OK<CR><LF>

Transport Stop

Communication Command Parameter Example
Request AT+STOP<CR><LF>
AT+STOP<CR><LF>
Reply <CR><LF>OK<CR><LF>

Transport Track Forward

Communication Command Parameter Example
Request AT+FORWARD<CR><LF>
AT+FORWARD<CR><LF>
Reply <CR><LF>OK<CR><LF>

Transport Track Backward

Communication Command Parameter Example
Request AT+BACKWARD<CR><LF>
AT+BACKWARD<CR><LF>
Reply <CR><LF>OK<CR><LF>