nexgentec technical documentation

Source Mode

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

Set autoscan

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

Request autoscan status

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

Clear a paired record

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

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>
1: SBC
5: APTX
6: APTX-LL
Reply #2 <CR><LF>OK<CR><LF>
Last updated on 5 Jan 2020
Published on 5 Jan 2020