Bluetooth General
Request Bluetooth MAC address
Communication |
Command |
Parameter |
Example |
Request |
AT+ADDR<CR><LF> |
|
|
|
|
|
AT+ADDR<CR><LF> |
Reply #1 |
<CR><LF> >+ADDR=DC0D30123456<CR><LF> |
|
|
Reply #2 |
<CR><LF> OK<CR><LF> |
|
|
Request Bluetooth name
Communication |
Command |
Parameter |
Example |
Request |
AT+NAME<CR><LF> |
|
|
|
|
|
AT+NAME<CR><LF> |
Reply #1 |
<CR><LF> +NAME=NGTC-BTI<CR><LF> |
|
|
Reply #2 |
<CR><LF> OK<CR><LF> |
|
|
Set Bluetooth name
Communication |
Command |
Parameter |
Example |
Request |
AT+NAME=Parameter<CR><LF> |
|
|
|
|
NGTC-BTI |
|
|
|
|
AT+NAME=NGTC-BTI<CR><LF> |
Reply |
<CR><LF> OK<CR><LF> |
|
|
Release all Bluetooth connections
Communication |
Command |
Parameter |
Example |
Request |
AT+DSCA<CR><LF> |
|
|
|
|
|
AT+DSCA<CR><LF> |
Reply |
<CR><LF> OK<CR><LF> |
|
|
Release all Bluetooth connections and reboot
Communication |
Command |
Parameter |
Example |
Request |
AT+REBOOT<CR><LF> |
|
|
|
|
|
AT+REBOOT<CR><LF> |
Reply |
<CR><LF> OK<CR><LF> |
|
|
Set Bluetooth discoverability and connection
- Undiscoverable = disconnect all devices connected and set’s the NGTC-BTI into an unconnectable and undiscoverable mode
Communication |
Command |
Parameter |
Example |
Request |
AT+BTEN=Parameter<CR><LF> |
|
|
|
|
0: Undiscoverable |
|
|
|
1: operational |
|
|
|
|
AT+BTEN=1<CR><LF> |
Reply |
<CR><LF> OK<CR><LF> |
|
|
Request Bluetooth discoverability and connection
Communication |
Command |
Parameter |
Example |
Request |
AT+BTEN<CR><LF> |
|
|
|
|
|
AT+BTEN<CR><LF> |
Reply #1 |
<CR><LF> +BTEN=1<CR><LF> |
|
|
Reply #2 |
<CR><LF> OK<CR><LF> |
|
|
Request operation status
Communication |
Command |
Parameter |
Example |
Request |
AT+DEVSTAT<CR><LF> |
|
|
|
|
BIT[0]: PWR OFF; 1: PWR ON |
|
|
|
BIT[1]: Non Discoverable; 1: Discoverable |
|
|
|
BIT[2]: Non Advertising; 1: Advertising |
|
|
|
BIT[3]: Non Scanning; 1: Scanning |
|
|
|
|
AT+DEVSTAT<CR><LF> |
Reply #1 |
<CR><LF> +DEVSTAT=9<CR><LF> |
|
|
Reply #2 |
<CR><LF> OK<CR><LF> |
|
|
Set auto connect
- The NGTC-BTI will attempt to reconnect last device after power on
Communication |
Command |
Parameter |
Example |
Request |
AT+AUTOCONN=Parameter<CR><LF> |
|
|
|
|
0: Off |
|
|
|
1: 15 Attempts |
|
|
|
|
AT+AUTOCONN=0<CR><LF> |
Reply |
<CR><LF> OK<CR><LF> |
|
|
Request auto connect
Communication |
Command |
Parameter |
Example |
Request |
AT+AUTOCONN<CR><LF> |
|
|
|
|
|
AT+AUTOCONN<CR><LF> |
Reply #1 |
<CR><LF> +AUTOCONN=1<CR><LF> |
|
|
Reply #2 |
<CR><LF> OK<CR><LF> |
|
|
Restore all Bluetooth parameters to factory default
Communication |
Command |
Parameter |
Example |
Request |
AT+RESTORE<CR><LF> |
|
|
|
|
|
AT+RESTORE<CR><LF> |
Reply |
<CR><LF> OK<CR><LF> |
|
|
Last updated on 25 Jan 2022
Published on 25 Jan 2022