BlueSnap Commands Version 4.81SIO, 1/20/2016 Page 1 of User Guide For: ® Serialio.com Bluetooth Serial Module Command Set As applied to Bluetooth Modules: BlueSnapXP, BlueSnap-Standard, BlueSnap-9V Serial Adapters Version 4.83SIO January 20, 2016 • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
COMMON PROBLEMS AND QUESTIONS: ....................... 18 EXAMPLE OF A MASTER DISCOVERY/CONNECTION SEQUENCE ..............20 INSTANT CABLE REPLACEMENT EXAMPLE ....................22 10 BLUESNAP CONFIGURATION SWITCHES ....................23 APPENDIX A - BLUESNAP EVALUATION BOARD CONNECTORS, SIGNALS..........24 • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
The easiest implementation is using a Personal Computer (PC) that manages this activity with MS Windows Bluetooth stack software Bluetooth Communicator plugged into (see figure below). • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
4-Auto-connect DTR Mode- This mode must be set by command. This mode operates like mode 3 Auto-Connect, except that the connection and disconnection are controlled by the DTR • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
It is often useful to be able to perform configuration remotely over a Bluetooth connection. To do this, connect to the device over Bluetooth, and using your terminal emulator, perform the same steps as you • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 6
If Switch2/PIO3 is also set, new discovery/pairing can be made, see above. Baud Rate select - used to configure 9600 or 115K default baudrate. If the baudrate is configured in software, this switch is ignored. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Example : “SC,0002” SD,<hex word> Device Class (major and minor in a 16bit word, used with service class above) Example : “SD,8040” SE,<1,0> Encryption 1 to enable, 0 to disable. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 8
BREAK connection character. Example : “SO,ESC%” SP,<text> Security Pin Code, 16 character maximum Example : “SP,secretcode” SR,<adr> Remote Address. 12 hex digits, (6 bytes) no spaces or chars between. Example : “SR,00A053112233” • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 9
See Section 4.2 for more details on Profiles. S~,<6> Profile to use. 6=HID (Bluetooth keyboard), sets to HID mode when it has HID/SPP firmware (version 6.10). Must reboot (r,1) after. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 10
Display extended settings. Service Name, Service Class, Device Class, Config Timer. Display remote side modem signal status. Display other settings. Config character, IOport values, debug mode. G<X> Display stored settings . These commands correspond to the SET commands above. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 11
CF{,<address>} Connect and immediately go into FAST data mode. NOTE: You will not be able to enter command mode while Connected. PIO6 can still be use to disconnect. Thus PIO6 should he held HIGH before sending this command, as lowering PIO6 will cause a disconnect. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 12
IS<time> Performs an inquiry scan, with a COD of 0x0055AA, which is the special COD used by SerialIO.com Serial adapters and modules to enable “instant cable replacement.” Help, will print out a list of commands and their basic syntax The characters KILL<CR><LF> will be echoed to Kill (disconnect) from the current connection.
Page 13
Limitations of using 7 Bit data mode SerialIO.com firmware now supports (from version 4.22 and on) selectable 7 bit data mode, using the “S7,1” command. Unfortunately the Bluetooth hardware does not support 7 bit data, so this function is accomplished in the firmware application.
To disable inquiry and still allow connections, set the Inquiry timer to 0 with “SI,0000”. 4.1.2 SNIFF mode • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
NOTE: setting this mode can cause latency issues, and dropped bytes/loss of performance in cases where large amounts of data are being transferred. The nuances of Bluetooth Sniff can be complex, contact SerialIO.com if necessary for more details on how to utilize Sniff mode.
Page 16
On the BlueSnap, the DIP switches can also be used to set/clear the DCD, CTS, and DSR signals. DTR and RTS are available on the 9 pin header as well. 5. Command Quick Reference SET COMMANDS FACTORY SETTING • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 17
- Local echo. Toggle local echo of RX characters in command mode. (default is off) C,<address> - Connect, optional address, if no address, use stored remote address. - Connect Timer, • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
I,<time>,<cod> - Device Scan Inquiry, time in seconds, optional cod = class of device filter, 0=all IN<time>,<cod>- Device Scan Inquiry, returns NAMEs. IR<time> - Device Scan Inquiry, fixed cod=0x001F00 to find SerialIO.com devices. IS<time> - Device Scan Inquiry, fixed cod =0x0055AA to find instant cable pairs.
Page 19
Bluetooth serial port application name, and click on the ADD COM port button, then you can add another Bluetooth serial port and assign it to another virtual com port (such as COM9). • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Device will attempt connection to remote slave. “TRYING” will be displayed. Reply:<text>CONNECT<cr> // this will be displayed once connection is made, if <text> string is defined in the stored parameters. 4) Send /Receive data. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 21
Below are Internal Jumper options for BlueSnap XP DTE 3 Wire Factory Default (CTS shorted to RTS), DTE RX=2, TX=3, RTS=7, CTS=8 remove 3 jumpers and one jumper in position 5 DCE , RX=3, TX=2, RTS=8, CTS=7 • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 22
DCE 3 Wire Factory Default (CTS shorted to RTS), DTE (Like a PC) RX=2, TX=3, RTS=7, CTS=8 Remove 3 jumpers and one jumper in position 5 DCE (Like a Modem), RX=3, TX=2, RTS=8, CTS=7 • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 23
(internal jumpers for Male DB9 versions are different, see prior page) DCE 3 Wire Factory Default (CTS shorted to RTS), Remove 3 jumpers and one jumper in position 5 DTE (Like a PC) RX=2, TX=3, RTS=7, CTS=8 • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 24
DCE 3 Wire Factory Default (CTS shorted to RTS), Remove 3 jumpers and one jumper in position 5 DTE (Like a PC) RX=2, TX=3, RTS=7, CTS=8 Use these settings for devices like Sylvac Digital Caliper • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
1. Set switches as shown above. 2. Power up both devices 3. Master finds and store slave address, and auto connects. 4. Set Switch 2 on both Master and Slave back to OFF. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Page 27
The YELLOW LED should blink whenever data is transferred on either the RX or TX pins of the DB9 serial port. It is a physical monitor of the actual voltage on the pins, and is not driven by software from the module. • • www.serialio.com Cedar Park, TX, USA (512) 994-3630 sales@serialio.com...
Need help?
Do you have a question about the BlueSnapXP and is the answer not in the manual?
Questions and answers