background image

         

BlueSnap

 

Commands Version 4.81SIO,     1/20/2016             Page 1 of 

27

                                      

Cedar Park, TX, USA 

• 

(512) 994-3630 

 

[email protected]

                      

www.serialio.com

 

 

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 

 
 

Summary of Contents for BlueSnap-9V Serial Adapters

Page 1: ...27 Cedar Park TX USA 512 994 3630 sales serialio com www serialio com User Guide For Serialio com Bluetooth Serial Module Command Set As applied to Bluetooth Modules BlueSnapXP BlueSnap Standard BlueS...

Page 2: ...ck configuration 7 4 COMMAND SET REFERENCE 8 4 1 1 Using Low Power modes inquiry and page timers 14 4 1 2 Using Low Power SNIFF mode 14 4 2 Profile Selection 16 4 3 Using PIO Pins to create Modem cont...

Page 3: ...is document describes the protocol used to control and configure Bluetooth Serial Modules The protocol is similar to the industry standard Hayes AT protocol used in telephone modems due to the fact th...

Page 4: ...es of Operation 0 Slave mode This is the default mode whereby other Bluetooth devices can discover and connect to the device Outbound connections can also be made in this mode 1 Master Mode This mode...

Page 5: ...ns settings should match the settings used when BlueSnap connects for example the default is 115 200bps 8 bits No Parity 1 stop bit and hardware flow control disabled Local configuration works at any...

Page 6: ...return to defaults Auto Discovery Pairing Mode Used with Switch3 PIO6 If Switch3 PIO6 also set the device will perform a device Inquiry Scan searching for a partner Device with a special matching clas...

Page 7: ...ate parity etc ACTION COMMANDS Perform action such as inquiry connect etc SET COMMANDS S7 1 0 7 bit data mode 1 to enable 0 to disable setting can be seen with the d command SA 1 0 Authentication 1 to...

Page 8: ...E sets the parity to Even SM 3 2 1 0 Mode 0 slave 1 master 2 trigger 3 auto Example SM 1 sets the mode to Master SN name Friendly Name of the device 16 characters maximum Example SN MyDevice S Name Th...

Page 9: ...9 2 38 4 57 6 115K 230K 460K 921K only the first 2 characters are needed Example SU 96 sets the baudrate to 9600 buad SW hex word Enable low power SNIFF mode Default is 0000 disabled SNIFF mode allows...

Page 10: ...while not connected When set the module will cycle between active discoverable and connectable and low power deep sleep This can save considerable power when the module is waiting for long periods of...

Page 11: ...serial parameters immediately but not store them Command will return AOK at current settings then automatically exit command mode and switch to new baudrate until device is powered off Example U 9600...

Page 12: ...ed in the format below bt address bt name cod 00A053000123 MySerialPort 72010C IN time cod Performs an inquiry scan does not return the Bluetooth NAME returns much faster since name requires a remote...

Page 13: ...ULATE GPIO The GPIO command interface uses combination of 2bytes a mask and value packed into a hex word for each command The first byte the mask determines which GPIO are to be affected and the secon...

Page 14: ...O Examples S 0101 GPIO 8 driven HIGH S 0100 GPIO 8 driven LOW S 0202 GPIO 9 driven HIGH 4 1 Using Low Power Modes 4 1 1 Inquiry Discovery and Page Connection Windows There are 2 timers that can be use...

Page 15: ...eep you would set the sniff word to 0x8320 In normal low power sleep not deep sleep the firmware is still running in idle mode and wakes up about 20 times per second to check ports update Leds etc Dur...

Page 16: ...trol signals are supported when in DUN or MDM modes and their use is described below 4 2 PIOs used as modem control signals The BlueSnap modules have the ability to replicate the required modem contro...

Page 17: ...g NULL no status string SP text Pin Code 1234 SR adr Remote Address SR Z to remove NONE SET SS text Service Name SPP ST num Config Timer 60 seconds SU rate Baudrate 115K SW hex SNIFF rate 0x0000 disab...

Page 18: ...ode Auto low power discoverable mode Name of Device local name BlueSnap XXXX last 2 bytes of BT address Service Name SPP Service Class 0000 undefined service type Major Minor Class Of Device COD 0x1F0...

Page 19: ...PC desktop click My Bluetooth Places go to the Bluetooth Device configuration or Advanced Configuration drop down menu click on the client applications tab Select the Bluetooth serial port applicatio...

Page 20: ...Command Mode Reply CMD cr Sent I 30 cr Looks forBluetooth devices Reply 00A096112233 1F00 cr Inquiry Done cr 2 Store the remote address just found Sent SR 00A096112233 cr or just SR I if this was the...

Page 21: ...Jumpers NAME DB 9 male IO DIR DCE PC DTE 3 WIRE DCE 1 DCD NC 2 RX 2 RX IN 3 TX 3 TX OUT 4 DTR NC 5 GND 5 GND 6 DSR NC 7 RTS 7 RTS OUT 8 CTS 8 CTS IN X 9 RING V IN Below are Internal Jumper options fo...

Page 22: ...are Internal Jumper options for BlueSnap Standard Male and BlueSnap 9V Male internal jumpers for Female DB9 versions are different see the following page DCE 3 Wire Factory Default CTS shorted to RTS...

Page 23: ...www serialio com Below are Internal Jumper options for BlueSnap Standard Female and BlueSnap 9V Female internal jumpers for Male DB9 versions are different see prior page DCE 3 Wire Factory Default C...

Page 24: ...sales serialio com www serialio com Below are Internal Jumper options for BlueSnap AAA Male DCE 3 Wire Factory Default CTS shorted to RTS Remove 3 rd 4 th jumpers and one jumper in position 5 DTE Lik...

Page 25: ...er auto connect to a stored remote address First set the BT address of the device to connect to using the SR command or have BlueSnap auto discover and connect by via Switch 3 AND Switch 2 4 DEFAULT B...

Page 26: ...1 PWR J3 1 1 Optional 5VDC in GND J3 2 2 GROUND CTS J3 3 3 IN RTS J3 4 4 OUT 0 3 3Vdc TX J3 5 5 OUT 0 3 3Vdc RX J3 6 6 IN PIO 2 J3 7 7 BT Connection high state PIO 10 J3 8 8 GPIO DTR output PIO 11 J3...

Page 27: ...d Inputs on P1 power connector can be 4 5VDC to 11 0VDC There is internal regulation down to 3 3VDC for all circuitry Worst case power draw for the board is 80ma when the Bluetooth radio modem connect...

Reviews: