Serialio BlueSnap AAA Install Manual

1 – FACTORY DEFAULTS
ON
-
OFF
BlueSnap AAA Install Guide
OPERATING MODES
0-Slave Mode- The default mode, whereby other devices can discover and connect to the BlueSnap Standard.
2-Trigger Mode (SM,2<CR>) Automatically connects to stored address, when data is received on local serial port of master.
3-Auto Master Mode (SM,3<CR>) Automatically connects to stored address on power up.
4-Auto DTR Mode (BlueSnap USB only) (SM,4<CR>) Automatically connects to stored address when DTR line set.
5-Auto Any Mode (BlueSnap USB only) (SM,5<CR>) Does inquiry when Switch 3 ON and attempts to connect to the first device found
(COD filter used for inquiry)
NOTE: In all master modes the device will not be discoverable or remote configurable.
CONFIGURATION SWITCHES
BOTTOM SIDE 4- DEF BR (115K or 9600) 3- AUTO MASTER 2 - AUTO DISCOVER
1- FACTORY DEFAULTS- The Set this switch ON, power up the unit, and toggle the switch from ON to OFF 2 times to return the unit to factory settings.
2-AUTO DISCOVER MODE – In Slave mode, will set a special class of device which is used by a remote BlueSnap Standard Master to auto connect. IF Switch 3 also SET, the device performs a search, stores, and connects to a remote slave which has this switch 2 set .
3- AUTO MASTER MODE- BlueSnap Standard will act as master, and auto-connect to a stored remote address. You first set the BT address of the device to connect to using the SR command. Or, have BlueSnap Standard auto discover and connect by setting this AND Switch 2.
4- DEFAULT BAUDRATE- OFF (factory setting) = 115K, ON = 9600, (overridden if configured via software.
LEDs
MODE GREEN LED BLINK
Configuring Fast, 10 x per second Boot up, Remote Configurable 2 times per second Discoverable/Idle 1 time per second Connected On Solid
The YELLOW Led shows physical state of the data pins, pulse stretched for eye visibility, and blinks when data is TRANSMITTED or RECEIVED on the TX and RX pins.
BlueSnap AAA LEDs
The RED LED just shows that power is on, and slow charging the batteries.
When using charger, batteries used should be at least 800 mAh type NiMH, and must be matched (i.e. both same type and rating).
Only use Alkaline batteries when external power NOT attached.
This can be left on, there should be no risk of overcharge as the charge is about 100ma, about 10% of capacity depending on the battery.
The BLUE LED only comes on when the unit is awake, and will blink a few times on power on to show you the device is ON. Then it should stay off, until the battery sensor decides the batteries are low. BLUE LED should BLINK when batteries are low.
Low battery setting is programmable and currently set for NiMH batteries with 800 mAh or more to give at least a few minutes of run time. Value is currently set to 1900mV. (1.2V is nominal voltage for NiMH).
BLUE LED should come on SOLID when the charger is detected. It should turn OFF
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 1
when the batteries are fully charged (if BlueSnapAAA it is still running and the sleep timer does not put BlueSnap in sleep mode).
Default sleep timer is programmable with default of 180 seconds/3 minutes.
When BlueSnapAAA is turned on BLUE led should come on solid then go OUT when the batteries are fully charged. Low battery detection is only a ‘guideline’ feature and depends on condition of batteries.
Power Jack
Center pin is +5V,outer cylinder is GND. Input can be 4VDC or greater, but not greater than 9 VDC. Power draw is 30-50ma when connected depending on data rate, can be as low as 2ma average when not connected depending on parameter settings
SERIAL PIN CONFIGURATIONS
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
DCE 3 Wire Factory Default (CTS shorted to RTS),
Remove 3rd, 4th jumpers and one jumper in position 5
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 2
DTE (Like a PC) RX=2, TX=3, RTS=7, CTS=8
DCE (Like a Modem), RX=3, TX=2, RTS=8, CTS=7
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 3
ST
word
seconds
60
Config Timer(0=no config, 255=always on)
Making a Connection
BlueSnap Standard shows up under Service discovery as “BlueSnap Standard-zpdq” where the zpdq is the last 2 bytes of the Bluetooth address. To connect to BlueSnap Standard, browse for services, you should see: “SPP on BlueSnap Standard­zpdq”. Default baudrate is 115200, no parity, 8 bits, 1 stop. BlueSnap Standard uses Serial Port Profile and can be connected to as a Virtual COM port on PCs, Macs, BlackBerries, Palms, Windows Mobile, Symbian and other clients.
NOTE: Only one client can connect to BlueSnap Standard at a time, and there is a limit of 7 total devices in a Bluetooth Piconet network.
If authentication is not required, generally you can simply connect to the BlueSnap Standard by clicking on the service shown by your client.
If authentication is required, the default passkey of “1234”, or the passkey that has been configured should be entered.
Changing Configuration
FROM LOCAL SERIAL PORT- Connect a null-modem cable (pins 2,3 swapped) from a PC or a straight cable from an ASCII terminal to the BlueSnap Standard. Communication settings of your program should match the stored settings, for example: the default is 115,200Kbps, 8 bits, No Parity, 1 stop bit. Once you change these parameters, they will be stored permanently.
Run your favorite terminal emulator, Hyperterminal*** or other program. ( see note below to download our free emulator ). Type $$$ on your screen (3 dollar signs). You should see CMD returned to you. This will verify that your cable and settings are correct. Valid commands will return an AOK. Errors in format will return ERR, and unrecognized commands will return a
?. Type “h”<cr> to see a list of commands, and “d”<cr> to see a summary of current settings.
REMOTE VIA BLUETOOTH- Make a connection via Bluetooth, then use your favorite terminal emulator, and follow the
directions above for local configuration. To return to data mode, type a final “---“ ( 3 minus signs) <cr>, or reset the device and connect again. NOTE: remote configuration can only occur if the bootup configuration timer (default 60 seconds) has not expired. This timer is set to 0 ( remote config disabled) for master mode, and auto-connect slave mode, so that data can immediately flow between the 2 devices in cable replacement fashion.
***Hyperterminal has a number of “features” in WinXP (such as auto-baud detection which does not work) which may render it effectively inoperable for a local serial port connection. If you have difficulty with HyperTerm choose an alternate terminal program.
COMMAND SUMMARY
***SET COMMANDS***stored in flash, and only take effect AFTER reboot
Example: SU,9600 sets Uart Baudrate to 9600
SN,myname sets Bluetooth name to “myname” SA,1 enables secure authentication SP,secret sets security pincode to “secret” SF,1 restores all values to factory defaults
CMD VALUE TYPE DEFAULT DESCRIPTION
SA 0,1 dec 0 Enable Authentication SE 0,1 dec 0 Enable encryption SF 1 dec Reset to Factory Defaults SL E,O,N char N Parity, Even, Odd, or None
0,1,2,3 dec 0 Mode (0-slav, 1=mstr, 2=trigr,3=auto mstr)
SM
string 1-16 char BlueSnap
SN
string 1-8 char NOT SET Status string or break character(s) SO SP string 1-16 char 1234 Security Pin Code
string 12 chars NOT SET Remote Address (123456789ABCDEF) SR
Std-x
Bluetooth Name
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 4
*** DISPLAY COMMANDS ***
U <rate>
<E,O,N>
Temporary UART Change, immediate, not stored
CMD DESCRIPTION
D Basic Settings E Extended Settings G<X> A single setting matching the commands above GB Bluetooth Address of this device & I/O Ports (shows the value of the switches) V Firmware Revision B Returns information about Battery Power
*** OTHER COMMANDS ***
Example of result from “B” Battery Power command:
UP=62,PWR=1731,Batt=2FE,2298 mv
UP= seconds since being powered up. PWR= charger reading. has to be > 1000 (this is hex) if < 1000 no charger running. Batt= battery reading in HEX (this is the actually battery voltage / 3 referenced to 3.3V ). 2298 this is the actual battery voltage in millivolts.
CMD VAL1 VAL2 DESCRIPTION
C <addr> Connect to Remote Address( in Master Mode only) H Help, Show list of commands I <time> <COD> Inquiry Scan, time= xx seconds ,optional COD filter R 1 Reboot device immediate
A complete list of commands can be found in Advanced Command Guide
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 5
255 Continous config, both LOCAL and REMOTE
NOTES ON OPERATION:
Master Modes: There are 3 different master modes that can be enabled:
1. Manual Mode. In this mode, the BlueSnap makes connections when a Connect Command “C”, is received. This command can also contain the Bluetooth address of the remote device. If no device is specified, then the store remote address is used. The connection can be broken if the special break character or string is sent (use the SO command to set the break character), this is a low speed connect mode.
2. Trigger Mode. In this mode, the BlueSnap makes connections automatically when a character is received on the serial port. The connection will continue as long as characters are received on either end. There is a configurable timeout (which is set using the ST command) which will cause a disconnect after XX (from 1 to 254) seconds of inactivity. This is a low speed connect mode.
3. Auto Mode. In this mode, the BlueSnap makes connections automatically on powerup, and re-connects when connection is lost. This mode can also be enabled by setting Dip Switch #2. This is the high speed connect mode, and cannot be broken by software break characters.
Low Speed Connect Mode NOTE: in Manual and Trigger mode, the BlueSnap is making a LOW speed connection, that is, data is being processed by the BlueSnap before being sent over the air. Because the BlueSnap is looking for break or config character(s), the latency will increase and data rate will be decreased in these modes. Thus it is recommended that for data rates above 57.6K, these modes not be used.
Configuration Timer Settings
VALUE (decimal) 0 No remote config, No local config when connected 1-252 Time in seconds from powerup to allow config 253 Continous config LOCAL only 254 Contiuous config, REMOTE only
Security Issues, Pin Codes and Link Keys: If A> BlueSnap, or B> the remote device has authentication enabled, the following process occurs: The first time a connection is made, a “passkey” is used. This is a series of numbers or characters, “1234” is the default for the BlueSnap. Once this is entered, the remote Bluetooth device and the BlueSnap compare their passkeys and if they match, a link key is generated, which is stored by the BlueSnap. Upon subsequent connections, the devices will first compare link keys and if they match no pin code will have to be re-entered. If the remote device is a PC or PDA, a prompt is generally made to the user to enter this pin code. To remove the stored link key on the remote device, generally you “unpair” with the BlueSnap. To remove the link key on the BlueSnap, you can change the Pin Code. This will remove any previously stored link keys from the BlueSnap, forcing a new Pin Code exchange process to occur upon subsequent connection attempts.
DESCRIPTION
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 6
1 – FACTORY DEFAULTS
ON
-
OFF
1 – FACTORY DEFAULTS
ON
-
OFF
INSTANT CABLE REPLACEMENT EXAMPLE:
MASTER
BOTTOM SIDE 4- Default baud(96 or 115k) 3- AUTO MASTER 2 - AUTO DISCOVER
SLAVE
BOTTOM SIDE 4- Default baud(96 or 115k) 3- AUTO MASTER 2 - AUTO DISCOVER
1. Set switches 2 and 3 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 (so that they don’t try to re-pair each time power is cycled).
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 7
COMMON PROBLEMS and QUESTIONS:
My Bluetooth client can see the BlueSnap Standard and its serial service, but I can’t connect: This is most likely
caused by a security setting on your client. If a pin code is required, the default is “1234”. Some clients have these settings off by default, others have them on. To check and disable security: From your 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 application name, and click on the properties button, if “secure connection”, or “authentication”, or “encryption” is checked, un check it.
Changing the clients COM port: Widcomm stack, (and others) allows you to connect to BlueSnap Standard using a “Virtual COM” port mapper. The software installs with a default COM port, usually COM3, COM4, or COM5. To change this setting: From your 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 application name, and click on the properties button, then you can change the com port.
Connecting to more than one BlueSnap Standard from the same client at the same time: Bluetooth allows 7 devices at a time in a piconet. Widcomm stack allows you to create multiple instances of serial port profile and connect to multiple BlueSnap Standards at the same time. To do this: From your PC desktop, click My Bluetooth Places, goto the Bluetooth
Device configuration (or Advanced Configuration) drop down menu, click on the client applications tab, Select the 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).
Connections can be made but during data transfer, no characters flow, or bytes are dropped. Check to see if your flow control signals are properly connected, and enabled in the serial software you are using. A common mistake is to connect during the boot config timer window, in this case, all characters will be ignored until a $$$ is seen, and no characters are forwarded to the remote device. If remote configuration is enabled, a good way to ensure that the device is not waiting for configuration is to issue “---“<cr> at the beginning of a connection and before any user data is sent.
Another common problem is related to hardware flow control, it is not enough to simply disable flow control in your communications software, the BlueSnap Standard expects to use hardware flow control, so do disable this on the BlueSnap Standard you must either remove the CTS flow control jumper, or short pins 7 and 8 (RTS, CTS) of your cable to permanently enable the flow control.
Serialio.com BlueSnap AAA V 4.30SIO 3/17/2009 page 8
Loading...