BTM-5 Bluetooth Module Datasheet Rev1.1 Contents Introduction..........................2 Hardware Connection......................2 AT Command Set ........................3 TEST Command........................3 RESET Command.......................3 Restore Default Setting Command ..................3 Get Firmware Version Command..................3 Get Address..........................4 Get the Device Name......................4 Set the Device Name......................4 Set / Get Role ........................4 Get Device Type........................5...
BTM-5 Bluetooth Module Datasheet Rev1.1 1 Introduction The BTM-5 Module has two operation modes, one is normal auto link mode, and the other is AT command mode. User can switch between two modes via pull the mode select pin PIO11 low and high respectively.
BTM-5 Bluetooth Module Datasheet Rev1.1 The pin PIO8 is the indicator for the operation mode, user can use a LED to connect to this pin. The LED starts to blink after power up, and the blink frequency subject to change between different operation modes.
BTM-5 Bluetooth Module Datasheet Rev1.1 Examples: Command : AT+VERSION? \r\n Response : +VERSION:2.0-20100601 3.5 Get Address Command Response Parameter AT+ADDR? +ADDR:< Param > Param: the Bluetooth address Representation of the address: NAP:UAP:LAP (HEX) Examples: The address of the Bluetooth device is: 10:7:180004...
BTM-5 Bluetooth Module Datasheet Rev1.1 Examples: Command : AT+ROLE?\r\n Response : +ROLE:0 3.9 Get Device Type Command Response Parameter AT+CLASS? + CLASS:< Param > Param: device type Device type is a 32-bit parameter. It is used to indicate the device class and the service it supports Default: 0 The actual meaning is explained in appendix 1.
BTM-5 Bluetooth Module Datasheet Rev1.1 2: Even Default:38400,0,0 3.12 Set / Get Link Mode Command Response Parameter AT+CMODE=<Param> Param Specify bluetooth link AT+ CMODE? + CMODE:< Param > address 1: Any bluetooth link address 2: Slave-Loopback Default : 0 3.13...
BTM-5 Bluetooth Module Datasheet Rev1.1 PIO 2 and PIO 10 output high: Command : AT+MPIO=404\r\n Response : OK 3.16 Get Multiple PIO Input Command Response Parameter AT+MPIO? +MPIO: <Param> Param- PIO port value (16bits) Param[0]=PIO0 Param[1]=PIO1 Paramp2]=PIO2 … Param[10]=PIO10 Param[11]=PIO11...
BTM-5 Bluetooth Module Datasheet Rev1.1 4 Appendix A: AT command error code refernce Error code (hex) Description AT command error The result is default value PSKEY write error Device name is too long (more than 32 bytes) Device name is 0 byte...
Need help?
Do you have a question about the BTM-5 Bluetooth and is the answer not in the manual?
Questions and answers