BlueRS+C2 Bluetooth Serial Adapter User manual Version Date 1.07work 09.2003 © Stollmann Entwicklungs- und Vertriebs- GmbH Component name: Article No.
BLUERS+ manual Exclusion of Liability 1.07work/09.2003 Exclusion of Liability The present manual by Stollmann Entwicklungs- und Vertriebs-GmbH (hereinafter referred to as Stollmann) reflects the present state of the art of the products described therein. We have endeavored to give a description that is as complete and clear as possible in order to make work with our products as easy as possible for you. All the same, the manual may contain technical inaccuracies and typing errors.
1.07work/09.2003 BlueRS+ manual Table of Contents Table of contents 1 Introduction ..................................................................................................... 1 1.1 Product description ......................................................................................... 1 1.2 Safety.............................................................................................................. 2 1.3 Hints for using the BlueRS+C2 in the United States, ...........................
BlueRS+ manual Table of contents 1.07work/09.2003 5.2 Bluetooth error codes.................................................................................... 36 5.3 Diagnostic using the internal Trace............................................................... 39 6 Appendix....................................................................................................... 41 A1: Technical data BlueRS+C2...........................................................................
1.07work/09.2003 BlueRS+ manual 1. Introduction 1 Introduction We are very pleased to see that you have bought a Stollmann product and would like to express our appreciation. This documentation is valid for the following models of the BlueRS+C2 product family • • • • • • BlueRS+C2-MF5 (plug on module, antenna internal, 5V DC) BlueRS+C2-MF3 (plug on module, antenna internal, 3.
BlueRS+ manual 1. Introduction 1.07work/09.2003 These devices are referenced as BlueRS+C2-Dx in this document and represents the product types BlueRS+C2-DF, BlueRS+C2-DS. Please refer Appendix A1: for information about the differences. 1.2 Safety The BlueRS+C2 is conform to the European safety requirements IEC 60 950. Please use only the delivered power supply or an original replacement from Stollmann. The homologation for the Bluetooth compatibility tests according the Bluetooth standard V1.
1.07work/09.2003 BlueRS+ manual 1. Introduction 1.3 Hints for using the BlueRS+C2 in the United States, This device complies with Part 15 of the FCC Rules and with RSS-210 of Industry Canada. Operation is subject to the following two conditions: 1. This device may not cause harmful interference 2. This device must accept any interference received, including interference that may cause undesired operation. The radiated output power of BlueRS+C2 is far below the FCC radio frequency exposure limits.
BlueRS+ manual 2. Installation 1.07work/09.2003 2 Installation 2.1 Contents This packet contains the following items: • • • • Bluetooth Serial adapter BlueRS+C2 Mains plug power supply adapter (only BlueRS+C2-Dx) DTE interface serial cable (only BlueRS+C2-Dx) This user manual 2.2 Installation procedure The following installation procedure is typical for the desktop model BlueRS+C2-Dx. For all plug in modules the installation is dependent on the overall system and has to be referred there.
1.07work/09.2003 BlueRS+ manual 2. Installation 2.3 Displays and control elements BlueRS+C2-MF5 desktop model For interfacing the module version please refer to the appendix. At the back of the BlueRS+C2 you will find the connectors for the following devices: DTE PWR Fig. 2: Back view of the desktop model BlueRS+C2 PWR: DTE: external power supply (5V DC) V.24 interface for DTE, i.e. a PC You can control the status of the BlueRS+C2 via two LEDs at the front side. L1 L2 Fig.
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 3 Using the BlueRS+C2 Before using the BlueRS+C2 the address of another Bluetooth device has to be selected - if not predefined by factory – that shall be the communication partner in the Bluetooth link. The compatible devices can be scanned using the configuration command "bdinq". From that list one Bluetooth device has to selected.
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 3.1 Automatic connection establishment Automatic connection establishment is available in the following modes: • An automatic connection will be initiated when control line DTR is on. • An automatic connection will be initiated when transmit data is received from the DTE device. All data received before the Bluetooth connection is established will be buffered inside the BlueRS+C2 and automatically sent via the Bluetooth link.
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 Example: Bluetooth RS-232 controlling device DTE Mode RS-232 BlueRS+ DTE BlueRS+ DCE controlled client DCE Mode Setting of BlueRS+C2 DCE: cmds=8 brad= boad of BlueRS+C2DTE Setting of BlueRS+C2 DTE: cmds=12 Don't forget to set the baudrate to the correct setting.
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 3.2 AT command set for BlueRS+C2 All parameter can be changed by using an extended AT command set described in this chapter. Please check if the factory setting will fit with your environment. The factory setting is described (highlighted) in the parameter list below. If you want another configuration as set in the factory default setting, please do the following steps: • • • • • Connect the PC's com-port to the DTE interface of the BlueRS+C2.
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 By using initialization strings to configure the TA which includes more than one parameter to be configured please follow the examples below: • Initialization string includes standard AT commands: AT&F&D2&C1E0&W By using a special configuration command (at**) in the initialization string you have to set a semicolon <;> in case that additional commands will follow.
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 This command addresses a Bluetooth device directly through it's address or name. If a connection to a Bluetooth device requiring the restricted mode the pin has to be set up using command AT**BPIN. The link request will time out, if the Bluetooth address is not valid (about 6 seconds). ATD |dx brad: called Bluetooth remote device address (12 digits) dx: references called Bluetooth remote device service number in bdlist (d1..d9).
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 Selects the local echo in command mode. ATE No local echo ATE1 Local echo on in command phase (default) &F Load factory defaults Factory default will be loaded. (for storing in non volatile memory please use the command AT&W). AT&F setup all parameter concerning data port. AT&F1 setup all parameter including Bluetooth specifics and passwords. H Disconnect Disconnects existing Bluetooth connection, after issuing the escape sequence (see page 9).
1.07work/09.2003 AT&K5 O BlueRS+ manual 3. Using the BlueRS+C2 Local flow control is set to hardware handshake RTS/CTS additionally in AT command phase Return to online state If the BlueRS+C2 is in command mode after issuing an escape sequence out of an existing connection, ATO brings the BlueRS+C2 back to data phase. Must be the last command in AT command line. ATO Q Suppress results With this command result codes or messages can be suppressed.
BlueRS+ manual 3. Using the BlueRS+C2 V 1.07work/09.2003 Result format ATV ATV1 &V Result is presented as numbers (followed by <↵>) Result is presented as text (default) Display configuration AT&V AT&V1 W Displays the actual configuration of AT command setting Displays the actual configuration of extended AT command setting Extended result codes ATW ATW1 &W Result is presented without extended result codes. Result is presented with extended result codes, Result messages include error causes.
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 0: no parity; 1: even parity; 2: odd parity AT**PRTY=0 No parity (default) AT**PRTY=1 Odd parity AT**PRTY=2 Even parity AT**PRTY=3 Space parity AT**PRTY=4 Mark parity Notes: To use other data formats than 10 bit (= (N1, 7E1, 7O1) you have to set br to fixed speed. - only valid for br <> 0.
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 3.2.1 Bluetooth specific AT commands Setting up special Bluetooth parameter: **BACCTAB Show pairing information To show the pairing information (setup due to a successful restricted connection) within the BlueRS+C2 you have to issue the command "AT**BACCTAB" .
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 Response: OK **BDLIST Show inquired Bluetooth devices With this request the list of found Bluetooth devices will be returned, the entries show the Bluetooth device address and the Bluetooth device name requested by the command at**bdinq. For every Bluetooth device in addition the available services (profiles) will be shown. These entries can be accessed by the selectors d1 .. dn to address the Bluetooth device and the selectors s1 ..
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 device during a Service Discovery sequence It is a string constant according to V.250. Example: at**bname at**bname= **BRAD show own device name set own device name to rs+name Bluetooth Device Remote Address With this command you can setup the Bluetooth address of the other Bluetooth device, that should be connected using an automatic link setup.
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 default: "BlueRS+C2 serial port" Note: To activate a new name for discoveries you have to make a power off/on cycle. **BRESTR Set restricted mode Control the restricted mode for exchanging the Pin (Passkey). When set to 1 the setting of parameter bpin will be used to verify a pin with the requesting Bluetooth device. The pins of two bluetooth devices have to set to the same value, if one of these devices allows only restricted connections.
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 Example: AT**BOAD ** Execute configuration command Executes one configuration command, for definition of commands see page 27. AT** More than one configuration command have to be separated by a ";".
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 3.2.2 AT command S register set S0 S2 S3 S4 S5 S7 S9 S91 0: No automatic call acceptance, acceptance of an incoming call is controlled by the data terminal (command ATA after RING) 1: Immediate call acceptance by the terminal adapter (default) 2..n: Call acceptance through the terminal adapter after n "RING" messages.
BlueRS+ manual 3. Using the BlueRS+C2 1.07work/09.2003 3.3 Cable replacement A pair of BlueRS+C2 devices can be replacement. Typically one BlueRS+C2 ("BlueRS+C2DCE", DSU9 female) and ("BlueRS+C2DTE", DSUB9 male). These correct interfaces. used to operate as a RS232 cable has to operate as a DCE interface the other one as a DTE interface devices have to be ordered with the When ordering a pair of BlueRS+C2 both devices will have the correct setting to operate without changing any parameter.
1.07work/09.2003 BlueRS+ manual 3. Using the BlueRS+C2 Note: to readout the mode of operation of the BlueRS+C2 please use the command "devmode". Don't forget to set the baudrate to the correct setting. Example: Bluetooth RS-232 controlling device DTE Mode RS-232 BlueRS+ DCE BlueRS+ DTE controlled client DCE Mode 3.
BlueRS+ manual 4. BlueRS+C2 Configurator command set 1.07work/09.2003 4 BlueRS+C2 Configurator command set The settings of the BlueRS+C2 for the serial interface and the Bluetooth interface are called configuration. The BlueRS+C2 is delivered with a set of pre-set values. In the following section it will be shown how, by using the configuration commands, you can examine the configuration of the BlueRS+C2 and if necessary change it.
1.07work/09.2003 • BlueRS+ manual 4. BlueRS+C2 Configurator command set To set the baudrate to 9600 baud please enter the following commands: br=4<↵> (set baudrate to 9600 baud) save<↵> (store the new configuration) quit<↵> (leave the BlueRS+C2Configurator and activate the new value settings) Hint: The active set of parameters can be displayed on screen by the BlueRS+C2Configurator with the command "show<↵>". Leave the terminal program and start your application.
BlueRS+ manual 4. BlueRS+C2 Configurator command set • • 1.07work/09.2003 BlueRS+C2Configurator with the command "show<↵>". If necessary the remote BlueRS+C2 can be reset using the command "reset<↵>". Hang up the Bluetooth connection by leaving the BlueRS+C2Configurator using the command quit. Leave your terminal program. After the next reset the changes will be active. Restore the server channel to the desired value, default to 1 (brsch=1).
1.07work/09.2003 BlueRS+ manual 4. BlueRS+C2 Configurator command set 4.4 List of BlueRS+C2Configurator commands The BlueRS+C2Configurator commands typed in must have the correct syntax and be complete, including all blanks. Capital/small letter use is not important. The entry is not case sensitive. The bolded values are factory defaults.
BlueRS+ manual 4. BlueRS+C2 Configurator command set 1.07work/09.2003 Set the Pin for setting up a connection in restricted mode.
1.07work/09.2003 ccts BlueRS+ manual 4.
BlueRS+ manual 4. BlueRS+C2 Configurator command set 1.07work/09.2003 cmds (note 1) command set Command set for connection control 0: AT command set (default) 6: Automatic connection establishment when DTR is ON. 7: Automatic connection establishment when transmit data are available. 8: Automatic connection establishment independent of any status line. 12: No connection establishment initiated by this module. Note: For details see the appropriate chapters.
1.07work/09.2003 BlueRS+ manual 4. BlueRS+C2 Configurator command set When selecting DTE mode two additional inputs are evaluated and mapped to the behavior of DCD (Pin 18) and RI (Pin 11). 0 : DTE mode 1 : DCE mode Note: If you are working in DCE mode using the plug-on module, please make sure, that PIN20 of connector P1 is connected to GND.
BlueRS+ manual 4. BlueRS+C2 Configurator command set load 1.07work/09.2003 Load stored parameter setting All parameters stored in non volatile ram will be loaded.
1.07work/09.2003 save BlueRS+ manual 4. BlueRS+C2 Configurator command set store parameter changes Stores the actual set of parameters in non volatile memory sbits number of stopbits Number of stopbits of asynchronous character 1 : One stopbit (default); 2 : two stopbit Note: To use other data formats than 10 bit (8N1, 7E1, 7O1) you have to set br to fixed speed.
BlueRS+ manual 4. BlueRS+C2 Configurator command set 1.07work/09.
1.07work/09.2003 BlueRS+ manual 4. BlueRS+C2 Configurator command set 4.5 Software update The BlueRS+C2 uses a Flash-EPROM for software updates to store the operational software. This software can be updated from a local connected PC via the COM port or via an remote configuration connection. Please fulfill the following steps to update the BlueRS+C2: • • • • • • • • • Get a new software release for the BlueRS+C2 from your supplier or http://www.stollmann.de/ or ftp://ftp.stollmann.
BlueRS+ manual 5. Diagnostic and error messages 1.07work/09.2003 5 Diagnostic and error messages For the diagnostic of erroneous situations the following functionality is supported. Please check first the behavior of LED displays, if an Bluetooth link can not be established. Refer to list of LED displays on page 42. 5.
1.07work/09.2003 0x0109 0x010a 0x010b 0x010c 0x010d 0x010e 0x010f 0x0110 0x0111 0x0112 0x0113 0x0114 0x0115 0x0116 0x0117 0x0118 0x0119 0x011a 0x011b 0x011c 0x011d 0x011e 0x011f 0x0120 0x0121 0x0122 0x0123 0x0124 0x0164 0x0165 0x0166 0x0201 0x0202 0x0203 0x0204 0x02ee 0x0301 0x0302 0x0303 0x0304 0x0305 BlueRS+ manual 5.
BlueRS+ manual 5. Diagnostic and error messages 0x0306 0x0364 0x0365 0x0366 0x0367 0x0464 0x0465 0x0466 0x0467 1.07work/09.2003 not enough resources to complete operation client received unhandled SDP opcode No answer from server(timeout) specified service not found Syntax Error in Response from server Connection setup was rejected by remote side (DM), i.e.
1.07work/09.2003 BlueRS+ manual 5. Diagnostic and error messages 5.3 Diagnostic using the internal Trace For more sophisticated debugging an internal trace functionality is implemented. This logging mechanism allows to write activities of the Bluetooth interfaces and the serial interface into a wrap around buffer. The type of entries can be selected by a trace mask. trcmsk trcmsk par set trace mask Setup the mask to select the type of data to be written into the trace buffer.
BlueRS+ manual 5. Diagnostic and error messages trcoff 1.07work/09.2003 stop trace write trcoff set trace to OFF independent of trace mask trcclr clear trace buffer trcclr clear actual trace buffer contents trcread trcread read trace buffer Output of the complete trace buffer in hexadecimal chars (ASCII, max. line length 72 chars).
1.07work/09.2003 BlueRS+ manual 6. Appendix 6 Appendix A1: Technical data BlueRS+C2 BlueRS+C2 desktop model serial interface: functional: V.24 electrical: V.28 mechanical: 9 pin DSUB connector (female) BlueRS+C2 module serial interface: functional: V.
BlueRS+ manual 6. Appendix A2: 1.07work/09.
1.07work/09.2003 A3: BlueRS+ manual 6.
BlueRS+ manual 6. Appendix A4: 1.07work/09.
1.07work/09.2003 A5: BlueRS+ manual 6. Appendix BlueRS+C2 Interface Connector P2 If mounted: P2-Pin 1 2 3 4 5 6 A6: Pin Signal NC NC NC NC NC NC Direction - Pinout of the V.24/V.28 interface BlueRS+C2 desktop models (DSUB 9) V.24/V.28 ITU I/O DIN TEXT EIA 1 109 M5 DCD O Data carrier detect 2 104 D2 RD O Receive data 3 103 D1 TD I Transmit data 4 108/1 108/2 S1.1 S1.