background image

  

                            

FireFly

 

User Manual 

 

www.rovingnetworks.com

 

 

 

 

 

               RN-240-um Version 1.0 2/22/2010 

809 University Avenue 

 Los Gatos, CA 95032  

• 

Tel (408) 395-6539 

  

[email protected]

 

~ 4 ~ 

 

 
You only need to pair with the FireFly once. 
 

Connecting:

 To establish a Bluetooth connection, open up the COM port assigned to the device from either your 

application or a terminal emulator. Once the COM port is open you will notice the green LED switches from 
blinking to solid ON.  The device will remain connected until the COM port is closed or the FireFly is turned off. 
 

Pin Codes and Link Keys 

 

If either the local or the remote Bluetooth device has authentication enabled, the following process occurs. 
 

1.

 

The first time a connection is attempted,   a “passkey” is required.  This is a series of numbers or 
characters. (1234 is the default for the Roving Networks Bluetooth devices and modules)   

2.

 

Once this is entered, the remote Bluetooth device and local device compare their passkeys and if they 
match, a link key is generated, and stored. Usually, but not always this is stored by the remote device.   

3.

 

Upon subsequent connections, the devices will first compare link keys and if they are correct, 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 pincode.  To remove the 
stored link key on the remote device, generally you “unpair” or remove the device from the Bluetooth manager.  
You can change the Pin Code to remove the link key on the FireFly.  This will be forcing a new Pin Code exchange 
process to occur upon subsequent connection attempts. 
 
 

NOTE:  Only one Master can connect to the FireFly at a time. 

 

Summary of Contents for FIREFLY RN-240

Page 1: ...Adapter Install Guide and User Manual Version 1 0 Copyright 2010 Roving Networks Inc All Rights Reserved The contents of this document can be changed by Roving networks without prior notice and do not constitute any binding undertakings from Roving networks Roving Networks is not responsible under any circumstances for direct indirect unexpected or consequent damage that is caused by this document...

Page 2: ...B to Bluetooth RN USB X has pairing switches and can be used with the FireFly BP to create a wireless connection to a PC without using the PC s Bluetooth stack For more information on cable replacement please refer to our Cable Replacement Application Note on the website Status LEDs The GREEN LED shows the Bluetooth connection status and the adapter operational mode Upon boot up it blinks two time...

Page 3: ...ld be blinking On your PC open the Bluetooth device manager and click on Add a new device The Bluetooth device manager is located in the bottom right corner of your screen in the taskbar The Bluetooth device manager will display a list of all the Bluetooth devices that are discoverable The FireFly will be displayed as FireFly XXXX where XXX is the last 4 digits of the MAC address Pairing Next you ...

Page 4: ...skey is required This is a series of numbers or characters 1234 is the default for the Roving Networks Bluetooth devices and modules 2 Once this is entered the remote Bluetooth device and local device compare their passkeys and if they match a link key is generated and stored Usually but not always this is stored by the remote device 3 Upon subsequent connections the devices will first compare lin...

Page 5: ... for a moment and then continues to blink at about once per second In slave mode sets a special class of device that is used the master to auto connect If Switch 3 also ON the h stores and connects to a remote Roving Networks Bluetooth Device that connects to a stored remote address First set the Bluetooth address of and or through instant cable replacement settings OFF 115K will be overridden by ...

Page 6: ...ection 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 In all master modes the device will not be discoverable or allow configuration remotely over pecification RN 240F Female DB9 RN 422M Male DB9 NC NC TXD NC RXD RXD NC TXD GND GND NC 5 VDC input CTS RXD RTS TXD 12VDC NC NOTE The RS422 interface us...

Page 7: ... 1 stop bit Remote Configuration over Bluetooth 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 You must first pair the Bluetooth device with your computer Click o...

Page 8: ... only reads the configuration from flash when powering up or after a reboot Some examples of common configuration commands 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 R 1 reboots the module Set commands S7 1 0 7 bit data mode 1 to enable 0 to disa...

Page 9: ...to force a role switch allowing the slave to become the master This is useful in situations where high speed data is being sent from the local device up to the remote host and can result in better performance However this may create a situation whereby the connecting host will not be able to make additional outbound connections multipoint while connected to this device Default is DISABLED SE 1 0 E...

Page 10: ...ld be held HIGH before sending this command as lowering PIO6 will cause a disconnect CFI Connect and immediately go into FAST data mode using the LAST address found from the Inquiry command NOTE you will not be able to enter command mode while connected PIO6 can still be used to disconnect CFR Connect and immediately go into FAST data mode using the REMOTE address Similar to the C command but bypa...

Page 11: ...nt Using two Roving Networks Bluetooth serial adapters or FirePlug RN USB X USB dongle with the power OFF set each device as shown below Slave Auto discovery on Power up both devices and the master will discover the slave device store its Bluetooth address and connect The devices are now paired and the green LED on each device should be on solid After pairing set switch 2 on both devices to OFF so...

Reviews: