Bluetooth Module Specification Raw Serial Modules Revision 0.
Bluetooth Raw Serial Module Technical Specification Reproduction of the contents of this manual without the permission of Socket Communications, Inc. is expressly prohibited. Please be aware that the products described in this manual may change without notice. This manual has been prepared with the greatest care regarding its contents. However, in the event that it contains omissions, errors or any other misinformation, please feel free to direct comments to: Socket Communications, Inc.
Bluetooth Raw Serial Module Technical Specification Regulatory Compliance The Socket Bluetooth module is designed to be compliant with the rules and regulations in locations where they are sold and will be labeled as required. This product is type approved — users are not required to obtain license or authorization before using. Radio Frequency Interference Requirements This device complies with part 15 of the FCC rules.
Bluetooth Raw Serial Module Technical Specification U.S. Regulatory Wireless Notice This product emits radio frequency energy, but the radiated output power of this device is far below the FCC radio frequency exposure limits. Nevertheless, the device should be used in such a manner that the potential for human contact with the antenna during normal operation is minimized.
Bluetooth Raw Serial Module Technical Specification European Union Notice 0682 Products bearing the CE marking comply with the R&TTE Directive (1999/5/EC), EMC Directive (89/336/EEC), and the Low Voltage Directive (73/23/EEC) issued by the Commission of the European Community.
Bluetooth Raw Serial Module Technical Specification Revision Table Revision Date Who Comments 0.1 Feb 28, 2003 Charles Ader Create Spec 0.2 Mar 21, 2003 Charles Ader Add ref to Blutooth documents 0.6 Mar 28, 2003 Charles Ader Harmonize with dongle spec 0.7 Apr 1, 2003 Charles Ader Correct description of PIO3 Apr. 4, 03 Document#: 6410-00195 A Copyright © 2003, Socket Communications, Inc. Page v Revision 0.
Bluetooth Raw Serial Module Technical Specification Table of Contents 1. Introduction........................................................................................................................... 1 1.1. Product definition................................................................................................................ 1 1.2. Feature List ......................................................................................................................... 1 1.3. Notation.....
Bluetooth Raw Serial Module 6.4.2. Technical Specification Link Disconnect .................................................................................................................... 17 Apr. 4, 03 Document#: 6410-00195 A Copyright © 2003, Socket Communications, Inc. Page vii Revision 0.
Bluetooth Raw Serial Module Technical Specification List of Tables Table 1: Ratings ...............................................................................................................................2 Table 2: Operating Conditions.........................................................................................................3 Table 3: Input/Output Terminal Characteristics ..............................................................................
Bluetooth Raw Serial Module 1. Technical Specification Introduction 1.1. Product definition In the Module product line there will be 2 versions of products: Raw Serial Module – External Power - Provide a basic Serial Cable replacement function with some user accessible command modes Bluetooth HCI module – Provide Host Command Interface for Bluetooth stack implemented on an external local host processor. This document will describe only the Raw Serial Module. 1.2.
Bluetooth Raw Serial Module 2. Technical Specification Physical/Environmental Description Min Max Unit Operating Temperature -20 +85 deg.C Storage Temperature -40 +85 deg.C Supply Voltage VDD -0.4 3.6 V Table 1: Ratings Humidity: 5% to 95% (non-condensing) Apr. 4, 03 Document#: 6410-00195 A Copyright © 2003, Socket Communications, Inc. Page 2 Revision 0.
Bluetooth Raw Serial Module 3. Technical Specification Electrical Requirements Description Min Typ Max Unit Operating Temperature -20 +25 +85 deg.C Supply Voltage, VDD 2.7 3.0 3.6 V Max Unit +0.8 V VDD+0.4 V Table 2: Operating Conditions Min Typ Input Voltage VIL input logic level low (VDD=3.0V) -0.4 VIH input logic level high 0.7VDD Output voltage VOL output logic level low, (lO = 4.0mA), VDD=3.0V - - 0.2 V VOH output logic level high, (lO = -4.0mA), DD=3.0V VDD-0.
Bluetooth Raw Serial Module 3.1. Technical Specification Average Power Consumption Maximum current draw and power consumption of the Raw Serial Module is shown in the following table. Expect ±10% variation over temperature. Tambient= +20º C Mode Typ Units ACL data transfer, 115.2kbps, UART (Master) 15.0 mA ACL connection Sniff Mode, 40ms interval, 38.4kpbs UART 6 mA ACL connection Sniff Mode, 1.28s interval, 38.4kpbs UART 4 mA Parked Slave, 1.28s beacon interval, 38.
Bluetooth Raw Serial Module 4. Technical Specification Hardware Interface 4.1.
Bluetooth Raw Serial Module 5. Technical Specification Hardware Interface Protocol 5.1. Initialization status Hardware line Pin 4 (PIO_1) is used as a status indicator. This line is LOW (zero) indicates that the module has not completed initialization. This line HIGH (one) indicates that the module has completed its initialization and is ready to accept commands or Bluetooth connections. 5.2.
Bluetooth Raw Serial Module 5.5. Technical Specification CTS Flow Control Management Hardware line Pin 14, CTS is used to control data flow from the module to the local host. When this line is low the module will not send data to the local host. When this line is high the module will send any available data to the local host. Apr. 4, 03 Document#: 6410-00195 A Copyright © 2003, Socket Communications, Inc. Page 7 Revision 0.
Bluetooth Raw Serial Module 6. Technical Specification Command All printable characters can be entered directly via the keyboard. Any non-printable characters are entered in binary data format. Binary data format: Any non seven-bit ASCII data to be transmitted to the module will be encoded in the internet 'percent' notation. Any hex byte to be transmitted is preceded by the '%' sign and encoded in hex ASCII. Thus, to send the value 0xF5, the following bytes would be transmitted: "%F5".
Bluetooth Raw Serial Module Technical Specification Commands that return payload data use the format: is one character from the set: [a-z] is one character for the set: [0-9] is variable in length. is the command terminator. The command character is the "lower case" version of the local host command. 6.1.
Bluetooth Raw Serial Module 6.3.1.
Bluetooth Raw Serial Module Technical Specification Command: “?S4” Reply: “s4MyPinCode” Command: “?S5” Reply: “s5%00%00%00%00%00%00” Command: “?S6” Reply: “s6ON” 6.3.2. Set Local Bluetooth Device Name F0 "Device Name" - String up to 254 bytes long Default is “Socket Serial Module” Example: “F01Len's 100%25 serial module” This sets the name to “Len’s 100% serial module” 6.3.3.
Bluetooth Raw Serial Module Technical Specification Example: “S019200,8N2, CTS” 6.3.4. Set Class of Device/Service field Set Class of Device/Service field value S1< Class of Device/Service field > The Class of Device/Service (CoD) field is a 24 bit field defined in the Bluetooth Assigned Numbers document. See http://www.bluetoothsig.org/assigned-numbers/baseband.htm for up to date information on how to compose this value. This field is sent in a HEX ASCII format and sent most significant byte first.
Bluetooth Raw Serial Module 6.3.7. Technical Specification Connectable on/off: "ON" or "OFF" Set the device into ‘connectable’ mode C0 Example: “C0OFF” – Become non-connectable “C0ON” – Become connectable 6.3.8. Specify Page Scan Timing Set the Page Scan timing parameters C1, Default: 4096,18 Example: “C11024,512” Note: To enable scanning the values for Interval and Window must be in the range of 18 to 4096.
Bluetooth Raw Serial Module Technical Specification D1,< Inquiry_Scan_Window> Default: 4096,18 Example: “D11024,512” Note: To enable scanning the values for Interval and Window must be in the range of 18 to 4096. The Window value must be less than the Interval value. Both values must be zero to disable scanning. Inquiry scan timing is described in the Bluetooth V1.1 Core Specifications for up to date information see: http://www.bluetoothsig.org/specifications.htm 6.3.11.
Bluetooth Raw Serial Module 6.3.13. Technical Specification Set CONNECT / DICSONNECT event enable S6 Example: “S6OFF” – Do not send CONNECT / DISCONNECT events. “S6ON” – Send CONNECT / DISCONNECT events. 6.3.14. Disable Encryption/Authentication L0 L1 L2 L3 Disable encryption and authentication Enable encryption Enable authentication Enable encryption and authentication Example: “L3” Note: 6.3.15.
Bluetooth Raw Serial Module 6.3.16. Technical Specification Read local device address Display the local device address V1 Returns: “v1%xx%xx%xx%xx%xx%xx” Note: This command responds with the requested data only not the “ACK” Example: Sent: “V1” Received: "v1%00%2C%C6%03%45%39" 6.3.17. Read local device role Display the local device role V2 Example: “V2” Returns: “v2SLAVE” – When module is configured for Bluetooth slave mode.
Bluetooth Raw Serial Module 6.4.2. Technical Specification Link Disconnect Send “DISCONNECT” to local host when link is broken. Apr. 4, 03 Document#: 6410-00195 A Copyright © 2003, Socket Communications, Inc. Page 17 Revision 0.