Download 5913 Bluetooth Module User Manual
Transcript
Table of Contents 1 USING AT COMMANDS ................................................................................ 4 1.1 Using Windows HyperTerminal ................................................................ 4 1.2 1.2.1 1.2.2 Serial Port Communication Parameters ................................................... 8 Read the Serial Port Settings .............................................................. 8 Write the Serial Port Settings .............................................................. 8 1.3 1.3.1 1.3.2 1.3.3 1.3.4 Setting Security......................................................................................... 9 Turn on 5913 Security ....................................................................... 10 Software Reset 5913 ......................................................................... 10 Change 5913 PIN .............................................................................. 10 Important Security Notes ................................................................... 10 2 AT COMMANDS .......................................................................................... 11 2.1 At Command Format .............................................................................. 11 2.2 Attention (AT) Command Prefix .............................................................. 11 2.3 Get 5913 Firmware Version Command .................................................. 11 2.4 5913 Reset Commands .......................................................................... 12 2.5 Get 5913 Status Information ................................................................... 13 2.6 Set and Read 5913 Boot Mode .............................................................. 19 2.7 Set and Read 5913 Security Level ......................................................... 20 2.8 Set and Read Maximum Number of Bluetooth Connections .................. 21 2.9 Set and Read 5913 Name ...................................................................... 22 2.10 Set and Read Service Name for Local and Remote Devices ................. 22 2.11 Set and Read Security PIN Settings ....................................................... 24 2.12 Set Class of Device (COD) ..................................................................... 27 2.13 Write 5913 Configuration Commands .................................................... 27 2.14 Read 5913 Configuration ........................................................................ 35 2.15 Inquiry Command ................................................................................... 35 2.16 Connect as Master.................................................................................. 36 2.17 Set Master Default Bluetooth Address.................................................... 40 2.18 Connect as Slave.................................................................................... 41 2.19 Disconnect .............................................................................................. 42 5913 AT Command Appendix November 21, 2007 2