Reference

Last revision 2026/01/14

This reference article explores typical AT commands for Bluetooth devices, detailing how to reset devices, restore settings, and configure roles and parameters for optimal performance.

Typical AT command

  • AT+RESET > OK: It works as power cycle.

  • AT+ORGL > OK: Restore the default setting:

    • Device class: 0
    • Inquiry code: 0x009e8b33
    • Device mode: Slave mode
    • Binding mode: SPP
    • Serial port: 38400 bits/s; 1 stop bit, no parity
    • Pairing code: “1234”
    • Device name: “HHW-SPP-1800-2
  • Set/Poll device name

    • AT+NAME= > OK: Set device name
    • AT+NAME? > +NAME: ****/ FAIL: poll device name
  • Set/Poll device role

    • AT+ROLE= > OK : Param:0 – slave; 1 – Master; 2 – Slave-loop; Default: 0
    • AT+ROLE? > +ROLE: OK
  • AT+ADDR? > Return the address of the Bluetooth device

  • Some other similar Set&Poll commands:

    • AT+BIND=/ AT+BIND?
    • AT+PSWD=/ AT+PSWD?
    • AT+UART=,,/ AT+UART? > Default: 9600,0,0
      • Param1: baud rate (bits/s): 4800/ 9600/ 19200/ 38400/ 57600/ 115200/ 230400/ 460800/ 912600/ 1382400
      • Param2: stop bit: 0- 1 bit/ 1- 2 bits/
      • Param3: parity bit: 0- None/ 1- Odd/ 2- Even

All AT Commands.

Communicate with other devices

Except the Apple devices and BLE module by DFRobot, the Bluetooth Bee are compatible with most computers/ phones with built-in Bluetooth module and other bt modules.

Was this article helpful?

TOP