Brainboxes RS232 Manual De Usuario

Descargar
Página de 41
 
 
 
 
 
Manual for BL-521 5_3.doc 
© Copyright Brainboxes Limited 2004 
Page 25 of 41
 
5. Remote Configuration 
 
A  new  feature  in  this  release  of  BL-521  firmware  is  the  ability  to  remotely  configure  its  settings  from  a  second 
Bluetooth device, over a Bluetooth connection.  For example, a Bluetooth connection can be created from a second 
device and that second device can change the baud rate, local name or any of the settings of the BL-521 over the 
Bluetooth link.   
 
This is achieved by the BL-521 presenting two services to connect to; one is the standard serial port service and the 
other is a remote configuration service.  The latter is connected to, to enable the second device to access the BL-
521’s configuration menu using Hyperterminal and thus make any changes.  Changes to port settings such as baud 
rate, parity or stop bits do not affect the port settings of the second devices’ Hyperterminal settings, so the BL-521 
can  be  set  to  115200,  n,  1  and  the  Hyperterminal  settings  for  the  second  device  that  is  accessing  the  BL-521’s 
menu remotely can be set to any settings i.e. 9600, e, 2. 
Currently  the  remote  configuration  feature  is  not  accessible  from  the  main  configuration  utility  application  and 
Hyperterminal or some other suitable terminal application should be used. 
Also,  upgrading  of  the  BL-521  cannot  be  achieved  using  remote  configuration  because  as  soon  as  the  BL-521 
starts  to  upgrade,  the  Bluetooth  connection  is  lost  and  there  is  no  longer  a  way  of  communicating  to  the  BL-521 
remotely. 
To use remote configuration from BL-521 to BL-521 use the command line “remcfg=xxxx-xx-xxxxxx” where the x’s 
stand for the remote device’s Bluetooth address. 
6. Resetting the Product 
 
The  BL-521  has  a  “reset  button”  located  on  the  side  of  the  case  as  shown  in  section  2.1  above.  This  button 
performs 2 different functions. 
 
a)  Resets Paired Devices. 
A short press (less than 3 seconds) of the reset button causes any paired device information to be deleted. 
When the device is in low security mode, this will not have any effect on the devices operation, but whilst in 
high security mode, this will mean that another device can pair with BL-521, or that the original device must 
expire its bond in order to reconnect. 
 
b)  Resets BL-521 to factory defaults. 
A  long  press  (more  than  3  seconds)  of  the  reset  button  causes  all  factory  defaults  to  be  restored.  Care 
should be taken here to remember that these “factory” settings can actually be updated via the interactive 
menu and thus may not be the same as the device was shipped with. The user should also remember that 
BL-521 is likely to need it’s parameters re-configuring to ensure communications can be re-established with 
either the local serial device, or remote Bluetooth device.