LM300 Manager User Manual
Document Version: 1.1
LM300 Firmware Version: 2.0.1
Bluetooth Firmware Version: 7.5.4279
LM300 Bluetooth Ethernet Access
Point
LM300 Manager User Manual
i
Revision
1.0
1.1
Date
14-12-2010
04-01-2012
LM300 Manager User Manual
Description
Initial version
1. Added Description for Bluetooth
Manager
2. Update Screenshots
ii
1
INTRODUCTION............................................................................................... 1
1.1
1.2
1.3
2
COMMUNICATION MODES .......................................................................... 4
2.1
2.2
2.3
2.4
3
FEATURES ...................................................................................................... 1
PRODUCT SPECIFICATIONS ............................................................................. 2
DEFAULT SETTINGS ....................................................................................... 3
DIRECT IP MODE ........................................................................................... 4
VIRTUAL COM MODE ................................................................................... 4
PAIRED MODE ................................................................................................ 5
HEART BEAT.................................................................................................. 5
MAKING THE HARDWARE CONNECTIONS ............................................ 6
SERIAL CONNECTION ..................................................................................... 6
3.1
POWER CONNECTION ..................................................................................... 6
3.2
ETHERNET CONNECTION................................................................................ 6
3.3
DIP SWITCHES................................................................................................ 6
3.4
RESET BUTTON .............................................................................................. 7
3.5
LED DEFINITION ........................................................................................... 7
3.6
SERIAL PORTS ................................................................................................ 7
3.7
OPERATIONAL MODES ................................................................................... 7
3.8
Console Mode ....................................................................................... 7
3.8.1
Upgrade Mode ...................................................................................... 8
3.8.2
Default Mode ........................................................................................ 8
3.8.3
RS-232 Mode ......................................................................................... 8
3.8.4
RS-422 Mode ......................................................................................... 8
3.8.5
RS-485 Mode ......................................................................................... 8
3.8.6
PIN CONFIGURATION ..................................................................................... 8
3.9
4
LM300 SOFTWARE INSTALLATION ........................................................... 9
4.1
4.2
5
USING LM300 MANAGER SOFTWARE ..................................................... 12
5.1
5.2
6
NEW INSTALLATION ...................................................................................... 9
UPDATING AN EXISTING INSTALLATION ...................................................... 11
SEARCHING LM300 ON LAN NETWORK ...................................................... 12
CONFIGURING SERVER PROPERTIES ............................................................. 13
SERVER PROPERTIES .................................................................................. 14
6.1
6.2
6.3
6.4
6.5
SERVER NAME ............................................................................................. 14
SERIAL NUMBER .......................................................................................... 14
PASSWORD ................................................................................................... 14
DHCP .......................................................................................................... 14
IP ADDRESS ................................................................................................. 15
LM300 Manager User Manual
iii
6.6
NETMASK .................................................................................................... 15
GATEWAY .................................................................................................... 15
6.7
MAC ADDRESS............................................................................................ 15
6.8
VERSION & DATE ........................................................................................ 15
6.9
6.10 LINK STATUS ............................................................................................... 15
6.11 SERVER SERIAL PORT .................................................................................. 16
6.12 BAUD RATE ................................................................................................. 16
6.13 DATA/PARITY/STOP ..................................................................................... 16
6.14 FLOW CONTROL........................................................................................... 16
6.15 PROTOCOL ................................................................................................... 16
6.16 SERIAL TIMEOUT (TCP MODE ONLY).......................................................... 17
6.17 TCP ALIVE TIMEOUT (TCP MODE ONLY) ................................................... 17
6.18 CONNECTION MODE (TCP MODE ONLY) ..................................................... 17
6.19 DELIMITER HEX1 AND DELIMITER HEX 2 .................................................. 17
6.20 FORCE TRANSMIT ........................................................................................ 18
6.21 PORT STATUS............................................................................................... 18
6.22 TCP/UDP PORT ........................................................................................... 18
6.23 SERIAL PORT MODE ..................................................................................... 18
6.24 CONNECTION AT (TCP MODE ONLY) .......................................................... 19
6.25 MAXIMUM CONNECTION (TCP MODE ONLY).............................................. 19
6.26 REMOTE IP ADDRESS (TCP MODE ONLY) ................................................... 19
6.27 UPDATE/SAVE ............................................................................................. 20
6.27.1 Updating the Server Properties in Manager Software ........................ 20
Saving Configuration Data in Console Mode or Telnet ...................... 20
6.27.2
Web Server Interface ........................................................................... 21
6.27.3
7
INSTALLING VIRTUAL COM PORT ......................................................... 23
8
CONFIGURING VIRTUAL COM PORT ..................................................... 25
8.1
8.2
9
CONFIGURATION WITH MANAGER SOFTWARE ............................................. 25
CONFIGURATION WITH DEVICE MANAGER .................................................. 26
UNINSTALLING THE VIRTUAL COM PORT .......................................... 28
9.1
9.2
REMOVING THE VIRTUAL COM PORT WITH MANAGER SOFTWARE ............. 28
REMOVING THE VIRTUAL COM PORT USING DEVICE MANAGER ................ 29
10
USING CONSOLE ....................................................................................... 30
11
USING TELNET ........................................................................................... 32
12
USING WEB SERVER ................................................................................ 33
13
UPGRADING THE SERIAL SERVER FIRMWARE .............................. 36
14
USING THE LM300 SERVER IN A WAN ................................................ 37
15
BLUETOOTH CONSOLE........................................................................... 40
LM300 Manager User Manual
iv
15.1 SERVER SETTINGS........................................................................................ 41
15.1.1 Server Address .................................................................................... 41
15.1.2 Server Name ........................................................................................ 41
Pin Code.............................................................................................. 41
15.1.3
15.1.4 Class of Device.................................................................................... 41
15.1.5 Max Data Chunk ................................................................................. 41
15.1.6 Connectable ........................................................................................ 41
15.1.7 Auto Connect ....................................................................................... 41
Security Mode ..................................................................................... 41
15.1.8
15.1.9 Operation Mode .................................................................................. 41
Pin Type .......................................................................................... 41
15.1.10
Discoverable Mode ......................................................................... 42
15.1.11
Connection Mode ............................................................................ 42
15.1.12
Data Transfer Mode ........................................................................ 43
15.1.13
GPIO Bank ...................................................................................... 43
15.1.14
Read Server Settings ....................................................................... 43
15.1.15
Set Server Settings ........................................................................... 43
15.1.16
Restore Factory Settings ................................................................. 44
15.1.17
Reset Server..................................................................................... 44
15.1.18
Upgrade Firmware.......................................................................... 44
15.1.19
Switch Data Mode ........................................................................... 44
15.1.20
Reset Hardware............................................................................... 45
15.1.21
15.2 CONNECTION SETTINGS ............................................................................... 45
Start Inquiry ........................................................................................ 46
15.2.1
15.2.2 Inquiry Result context window ............................................................ 46
15.2.3 Connect ............................................................................................... 48
15.2.4 Disconnect........................................................................................... 49
15.2.5 Read Flow Status ................................................................................ 49
15.2.6 Inquiry Timeout ................................................................................... 50
Selected Device ................................................................................... 50
15.2.7
15.2.8 Selected RFCOMM Channel ............................................................... 50
15.2.9 Connection Status ............................................................................... 50
Inquiry Results ................................................................................ 51
15.2.10
Device Name ................................................................................... 51
15.2.11
RFCOMM Channels........................................................................ 51
15.2.12
Pairing Status.................................................................................. 51
15.2.13
15.3 DATA TRANSFER ......................................................................................... 51
15.3.1 Data Transfer in Single Connection Mode.......................................... 52
Data Transfer in Multiple Connection Mode ...................................... 53
15.3.2
Send ..................................................................................................... 56
15.3.3
Receive ................................................................................................ 56
15.3.4
15.3.5 Send Text ............................................................................................. 56
Send Text File...................................................................................... 56
15.3.6
16
TROUBLESHOOTING ............................................................................... 56
LM300 Manager User Manual
v
16.1.1
16.1.2
LM300 Server...................................................................................... 56
LM300 BT Manager ............................................................................ 58
LM300 Manager User Manual
vi
1
Introduction
The LM300 Bluetooth Ethernet Access Point bridges Bluetooth wireless network or
serial interface to an Ethernet LAN/WAN interface. It facilitates existing windows
based serial software running on computer to communicate with a serial device
connected to serial or through Bluetooth interface of LM300.
The LM300 Windows driver installs virtual COM port in the Device Manager of the
operating system. The virtual COM port is designed to establish a connection with the
LM300 Ethernet interface. This in turn will allow communication with the connected
serial device in the same manner as a serial device connected directly to physical
COM port on a PC. The Ethernet LAN/WAN communication between virtual COM
port driver and LM300 becomes transparent to the connected serial device and serial
software running on the PC.
The LM300 operates in different modes such as “Direct IP Mode”, “Virtual COM
Mode”, and “Paired Mode”. The LM300 has one asynchronous RS232 serial port, one
RS485 serial port and one 10/100 Mbps Ethernet RJ-45 interface. LM300 Ethernet
interface will auto-select 10BaseT or 100BaseTX depending on the network.
The LM300 can be configured as a TCP or UDP Client/Server. In direct IP and virtual
COM modes, LM300 should be configured as a server. LM300 also offers a Heart
Beat feature to ensure a reliable connection.
1.1
Features
DIN rail or Panel mount
Supports 10/100 Mbps Ethernet
Supports RS-232, RS-422, and RS-485 serial interface
Supports LAN and WAN communication
Server mode supports individual client sessions for security
Management Access with password protection
Virtual COM drivers for Windows NT/98/ME/2000/XP/Vista/7
LM300 Manager User Manual
1
1.2
Product Specifications
LAN:
10/100 Mbps Auto-detecting – 10 Base T,
100 Base TX
Serial Interfaces:
RS-232 - TX, RX, RTS, CTS, DTR, DSR,
DCD, GND
RS-422 – TX+, TX-, RX+, RX-, RTS+, RTS-,
CTS+, CTS-, GND
RS-485 - Data +, Data –, GND
Serial Connection:
DTE-DB9
Data Rate:
110 bps to 230.4 kbps
Parity:
None, Even, Odd, Mark, Space
Data Bits:
5, 6, 7 or 8
Stop Bits:
1, 1.5 or 2
Protocol:
TCP, IP, ARP, DHCP, Telnet, HTTP, UDP, ICMP
Management:
Management Software, Serial Console, Telnet, Web
server, Firmware upgradeable
Operating Temperature: 0 to 50 °C (32 to 122 °F)
Storage Temperature:
-20 to 60 °C (-4 to 140 °F)
Humidity:
0 – 90% Non-Condensing
Approvals:
CE, FCC
Serial Output buffer
Serial Input Buffer
Power Requirement
RS232
RS422
RS485
Dimension
LM300 Manager User Manual
LM300
64Kbytes
8K bytes
7.5
~
15VDC
500mA
Yes
Yes
Yes
W: 3.35in
L: 4.5 in
H: 0.90 in
2
1.3
Default Settings
LM300 Server
Server name:
Serial number:
Password:
DHCP:
IP address:
Netmask:
Gateway :
MAC address:
Version & Date:
Protocol:
Serial timeout:
TCP alive timeout:
Connection mode:
Delimiter HEX 1:
Delimiter HEX 2:
Force transmit:
TCP/UDP port:
Serial port mode:
Maximum connection:
Remote IP address:
LMport-101
Fixed – see bottom label
Blank
Disable
192.168.1.1
255.255.255.0
192.168.1.254
Fixed – see bottom label
Current firmware version number and date
TCP
0 seconds
0 minutes
Server
00
00
0 ms
LMport-101 port 1: 4000
Console
1
255.255.255.255
Serial port:
Baud rate:
Data/Stop bits:
Parity:
Flow control:
1
9600
8/1
None
None
Serial port:
Baud rate:
Data/Stop bits:
Parity:
Flow control:
2
115200
8/1
None
RTS/CTS (Hardware)
Bluetooth Module
Name:
Pin Code:
Class of Device:
Max Data Chunk:
Connectable:
Auto Connect:
LM300 Manager User Manual
LM BT ServerXXXX (XXXX = last 4 digits of
Bluetooth Address of module)
1234
0x001F00 (Unclassified)
48 bytes
YES
YES
3
Security Mode:
Pin Type:
Connection Mode:
Data Transfer Mode:
Discoverable Mode:
2
Authenticate and Encrypt
Fixed Pin
Multiple
Streaming Mode
Discoverable
Communication Modes
The LM300 allows serial devices to communicate over a LAN or Intranet network.
Serial devices are no longer limited to a physical connection to the computer COM
port. They can be installed anywhere on the LAN network using TCP/IP or UDP/IP
communication. This will also allow traditional computer COM ports access to a
serial device anywhere on the LAN network.
2.1
Direct IP Mode
Direct IP connections allow applications using TCP/IP or UDP/IP network socket
programs to communicate with the asynchronous serial port on the LM300. In this
type of application the LM300 is configured to TCP or UDP server. The socket
program running on the computer establishes TCP/IP or UDP/IP communication with
the LM300. The raw data is sent directly to and from the serial port.
2.2
Virtual COM Mode
The Virtual COM mode requires the installation of driver on the computer. A new
COM port is added to the Device Manager after successful installation. Existing
windows based software using standard Windows API calls will be able to interface
with Virtual ports. The computer will act as host during connection to LM300 when
the software opens the virtual COM port.
Once the connection is made, the LAN communication is transparent to the serial
device. Applications work just as if the serial device is directly connected to host’s
physical COM port. The virtual COM port converts the application’s data into IP
packets destined for LM300, which in turn converts the IP packet back to serial data.
LM300 routes incoming serial data to serial device connected through serial or
Bluetooth interface of LM300.
LM300 Manager User Manual
4
In this mode, the LM300 must be set to either TCP/server or UDP/server in the
settings menu with a designated communication port number. The virtual COM driver
must be a TCP or UDP client.
2.3
Paired Mode
Paired mode is also called serial tunneling. In this configuration mode, additional
software or driver will not be required on host computer. In fact a computer is not
required to make the connection. Any two dumb serial devices that can communicate
with each other through a serial cable will be able to communicate using two
LM300’s and the LAN.
Two LM300s are configured with one setup as a TCP or UDP client and the other to
TCP/UDP server. When setting up the Server, the Remote IP address section must
contain address of the Client. This will allow Client’s IP address to pass through IP
address-filtering feature of LM300 Server. Conversely, Remote IP address of the
Client must contain Server’s IP address.
2.4
Heart Beat
The LM300 provides a convenient way to establish reliable communications between
two serial devices. Communication port 5300 is reserved for the Heartbeat Protocol.
Without this feature a device that loses a connection and stops communicating would
not be able to reconnect without manual intervention. A TCP data connection can be
lost when there is a power failure or temporary loss of an Ethernet connection on
either client or server side.
If loss occurs, Heart Beat feature will try to reconnect the TCP data connection every
5 seconds until communication is established again. The Heart Beat feature is
available to use with the Virtual COM Mode, Paired Mode and Direct IP Mode. This
is not available when using UDP based application.
LM300 Manager User Manual
5
3
Making the Hardware Connections
The following information is provided to give user better understanding of connecting
LM300 to the LAN network and serial device. A review of the switch settings and the
functionality of the LED’s are also provided.
3.1
Serial Connection
The LM300 has one DB-9 male connectors. The serial port is configured as a DTE
(data terminal equipment) device. All PC COM ports are DTE ports. A null modem
cable is required to make a connection between the COM port on a PC and the LM300
serial port. A straight through cable is required to connect the LM300 serial port to a
DCE device. The default serial settings are 9600 8 N 1, Flow: None
3.2
Power Connection
The LM300 has two pins terminal block and power jack. Power can be supplied to
either terminal block or the power jack. LM300 accepts 9-15VDC 500mA power
supply. When power is applied, a green light labeled as “Run” will flash every one
second to indicate the system is up and running.
3.3
Ethernet Connection
A straight-through Ethernet LAN cable can be used to connect LM300 to an Ethernet
hub, switch, or wall plate. A crossover Ethernet cable can be used to make a
connection directly to the NIC (Network Interface Card) on a computer or laptop.
3.4
Dip Switches
Double DIP switches are used to setup LM300 in Console/Loop back/Default /Data
Mode.
SW1 SW2 Mode
ON
ON
Console
ON
OFF Loop back
OFF ON
Factory
OFF OFF Data
When both DIP switches are moved into the ON position, LM300 enters Console
Mode, allowing configuration from a PC running serial terminal software such as
Hyper-terminal. When the LM300 enters Console Mode, a screen will appear in
Hyper-terminal software window. The serial port settings must be 8-N-1 at 9600 baud.
When DIP switches are switched to ON OFF position, LM300 will work in Loop back
Mode, all data is sent back immediately.
When DIP switches are switched to OFF ON position, LM300 will revert to factory
version firmware no matter which newer firmware has been upgraded.
LM300 Manager User Manual
6
When both DIP switches are switched back to OFF position, LM300 will enter Data
Mode (RS-232, RS-422 or RS-485).
3.5
Reset Button
The Reset button can be found between the slide switch and terminal block. To reset
the unit manually apply power, insert a small plastic tool, and press lightly depressing
switch. Hold for 3 seconds and release. The Link and Run light will go out and turn
back on.
3.6
LED Definition
Led Name
Link
Run
Serial
3.7
Led Function
Green – 100 BaseTX Ethernet connection established
Yellow – 10 BaseT Ethernet connection established
Flashing Green – system is ready
Green – connection established
Flashing Green – data is transmitting
Serial Ports
The LM300 has two serial ports. The first port can be configured as a Console Mode
connection or as RS-232, RS-422 or RS-485 interface to the LM300 (if all of the DIP
switches are in the OFF position) using the Manager software, via Telnet, or using the
Web Server.
The second serial port connects to Bluetooth interface.
The RS-232 interfaces are configured as DTEs (Data Terminal Equipment). The
connectors for all ports are DB-9M.
3.8
Operational Modes
Using Manager Software, LM300 can be put into Console Mode, Default Mode or
Upgrade Mode. The serial ports can be configured for RS-232, RS-422 or RS-485
operation. The LM300 can be put into console mode by placing all DIP switches into
ON position.
Console Mode
3.8.1
Console mode allows access to LM300 setup menu. This is one way to reconfigure the
default settings for the application. A serial connection is required between COM port
on the computer and LM300 serial port with a null modem serial cable. In console
mode, the serial port defaults to RS-232 interface.
LM300 serial port default settings are baud rate 9600, 8 data bits, no parity, and 1 stop
bit. Hyper Terminal software serial settings are configured the same as default settings
LM300 Manager User Manual
7
of LM300 and mode must be set to VT100 emulation mode. The default settings are
used only if they have not been changed.
See Chapter 10 for details.
Upgrade Mode
3.8.2
The latest available firmware can be programmed on LM300 using computer’s serial
port or Virtual COM port (if already installed).
See Chapter 13 for details.
Default Mode
3.8.3
When Default Mode is selected and the Server Properties have been updated (saved),
all configuration settings will return to their default values.
RS-232 Mode
3.8.4
RS-232 supports 8 signal lines plus Ground and is configured as DTE device like a
computer. Signals are single ended and referenced to Ground. To use handshaking,
Flow Control must be set to RTS/CTS during configuration. Refer to Pin out table for
signal details.
RS-422 Mode
3.8.5
RS-422 mode supports 4 signal lines with full duplex operation for Receive, Transmit,
RTS (Request To Send) and CTS (Clear To Send). The signal lines are in differential
pairs. Ground provides a common mode reference. To use handshaking Flow Control
must be set to RTS/CTS during configuration. Refer to Pin out table for signal details.
RS-485 Mode
3.8.6
RS-485 mode supports Transmit and Receive signals by using 2-wire half-duplex
operation. Signal lines are differential pair. Ground provides a common mode
reference. Refer to the Pin out table for connections.
RS-485 Receiver Biasing can be implemented from LM300 if the network does not
supply it. Remove two side-cover screws of housing, slide the cover off and reposition bias jumpers to enable biasing (shorting).
3.9
Pin Configuration
Pin
1
2
3
4
LM300 Manager User Manual
RS-232
DCD
RXD
TXD
DTR
RS-422
RXD (-)
RXD (+)
TXD (+)
TXD (-)
RS-485
D (+)
D (-)
8
5
6
7
8
9
4
GND
DSR
RTS
CTS
RI
GND
CTS (-)
CTS (+)
RTS (+)
RTS (-)
GND
LM300 Software Installation
It is recommended the user installs LM300 Manager Software and search for all
LM300’s connected to LAN network. When search is completed, a window will list
found devices available for configuration.
LM300 Configuration to meet LAN network and application requirement is an easy
process with available menu in LM300 manager software.
4.1
New Installation
The following procedure installs the LM300 Manager software.
1.
Inserting LM300 installation CD/DVD in CD/DVD-ROM driver in the
computer. It will automatically launch the Install Shield Wizard.
To manually start software installation, select the Start button on the
desktop. At the Run command line type D:start.exe. Then select OK. The D:
is the drive letter for the CD/DVD ROM.
2.
The Install Shield Wizard window automatically begins setup procedure.
3.
Select Next when LM300 Setup window appears.
LM300 Manager User Manual
9
4.
In the Choose Destination Location window, select Next to install the
Manager software in the default location. Select Browse to install into a user
selected directory.
The installation progress will be shown until complete.
5.
Select Finish when Install Shield Wizard Complete screen appears. When
installation is complete, Install window will close and user can now access
LM300 Manager software in the program files. If loaded in the default location
Go to Start/Programs/LM Technologies/ LM300 Manager to open.
LM300 Manager User Manual
10
Connect the LM300 to the LAN network and apply power. The “Run” LED will flash
indicating power has been applied and unit is ready for communication; and the Link
LED indicates an Ethernet connection has been made.
4.2
Updating an Existing Installation
If an older version of LM300 Manager software is already installed, the Modify,
repair or remove the program window will appear when the installation process is
initiated:
The recommended procedure is to remove all installed components first. Once the
software has been removed, install the new software.
LM300 Manager User Manual
11
5
Using LM300 Manager Software
LM300 manager software performs several functions:
• Searching for LM300 units connected to the network
• Displaying and changing LM300 configuration
• Installing virtual COM ports on computer
• Displaying and configuring virtual COM ports
• Uninstalling virtual COM ports on a computer
• Upgrading the LM300 firmware
• Monitoring Port Status
• Saving and Loading Configuration Files
• Communicating with the Bluetooth Module using LM300 BT Manager
• Connecting and Disconnecting the Bluetooth Serial Devices
• Testing data transfer over Bluetooth
Once LM300 is connected to LAN network, manager software will be able to search
for all connected LM300 devices and will display them in a window by name and IP
address.
5.1
Searching LM300 on LAN network
1.
Select LM300 Manager in the program file menu. If the default location was
selected during installation, the program will be found under
Start/Programs/LM Technologies. Select LM300 Manager. Please note that
you need administrative rights on the computer to run LM300 Manager
Software otherwise the software will not work properly. As soon as the
LM300 Manager opens, it will start Searching Server operation and after a
few seconds, Serial Server List will display all (LM300) serial servers on the
network.
2.
To manually initiate a search for servers, on the menu top bar select
Searching Server button. The Search Setup box will appear. It provides two
options for searching for servers on the network:
•
•
Specify the IP address of the Serial Server
Search all reachable servers
Enter the IP Address assigned to the desired Serial Server if known or click
Search all reachable servers, then OK. The Searching window is shown until
all active Serial Servers on the LAN are listed in the Serial Server List
window.
LM300 Manager User Manual
12
5.2
Configuring Server Properties
Highlight the serial server in the Serial Server List window and double click to
open the Server Properties window.
The Server Properties window is used to configure and store the Server
configuration settings. Details for setting Properties are described in the next
chapter.
After configuring as needed, click Update to store the configuration in the server
and click Yes to restart the server to make sure all settings are changed to
conform to the desired application.
LM300 Manager User Manual
13
6
Server Properties
There are four ways to access the Server Properties and program the LM300:
Manager software, Console mode, Telnet or Web Server.
Instructions on how to move around in the user interface and change settings pertains
to the Manager software are similar in others.
Serial Settings in TCP mode
6.1
Server Name
The server name is user configurable. It is recommended users with more than one
LM300 connected to the LAN assign a new name to each. When the Manager
software searches for servers on the LAN it will display the server name allowing the
user to distinguish between LM300s.
6.2
Serial Number
Each LM300 has a unique serial number. This is fixed and cannot be changed.
6.3
Password
Entering a password activates a security feature on the serial server. Once a password
is entered it will be required to access the menu and make changes.
6.4
DHCP
DHCP servers are a part of numerous LAN management systems. The DHCP field
has two selections, “Enable” or “Disable”. Arrow to the desired selection and select
enter.
LM300 Manager User Manual
14
When enabled, LM300 will send a DHCP request to the DHCP server, which will
assign a dynamic IP address, Netmask, and gateway to the LM300. If a DHCP server
is not available on the network the LM300 will time out after 10 seconds and the
default values will remain. When DHCP is enabled, the IP address, Netmask and
Gateway fields become inaccessible and cannot be changed by the user.
6.5
IP Address
A static IP address can also be assigned in this section of the menu. A dynamic
address assigned by the DHCP server may change if the LM300 loses the Ethernet
connection or power is removed. The host (client) communication software requests a
connection to the specific IP address of the serial server. If the DHCP reassigns a
different IP address the software will not be able to communicate with the hardware.
It is recommended to use a static IP address.
A static IP address is permanent and will not change unless changed in the menu.
In most cases the network administrator establishes the static address to be used.
6.6
Netmask
The default LAN netmask is configured for a Class C address. This may be
reconfigured by the user.
6.7
Gateway
The gateway IP address allows users to access the serial server from outside the LAN.
6.8
MAC Address
The MAC address is not adjustable. This is assigned in the factory. Every Ethernet
device manufactured has its own unique MAC address.
6.9
Version & Date
The currently loaded version of the firmware, and when it was released, are shown
here.
6.10 Link Status
Link status automatically displays the type of Ethernet connection. It will either
display 10 BaseT or 100BaseTX in full duplex or half duplex. This will depend on the
LAN, switches, hubs used in the LAN topology.
LM300 Manager User Manual
15
6.11 Server Serial Port
This field indicates the number of the port for with serial server properties are
currently being displayed. Changing the number in this field will cause all the other
fields to display the properties for the specified port. Note, however, that before
changing ports, any change to properties must be Updated (Saved) or the serial server
will not retain them.
6.12 Baud Rate
The serial port baud rate on the LM300 must match the serial baud rate of the
connected device unless using Virtual COM mode. In Virtual COM mode the
software program will establish serial settings.
6.13 Data/Parity/Stop
This setting will have to match the data format of the connected device unless using
Virtual COM mode. In Virtual COM mode the software program will establish serial
settings.
6.14 Flow Control
The flow control setting must match the connected serial device unless using Virtual
COM mode. In Virtual COM mode the software program will establish serial settings.
6.15 Protocol
Select TCP or UDP protocol. If the application does not require a UDP connection,
select TCP. TCP guarantees reliable communication with error checking whereas
UDP provides faster transmission.
When UDP mode is chosen the Serial timeout, TCP alive timeout, Connection
mode, Connection at, Maximum connection and Remote IP address fields are
replaced with the following three fields: Destination IP address range, Port
number and Source IP address range. In this mode the server can be configured
to broadcast data to and receive data from multiple IP addresses. Four IP
address range fields are provided.
LM300 Manager User Manual
16
Serial Settings in UDP Mode
6.16 Serial Timeout (TCP Mode Only)
Default is 0, or no timeout. Setting timeout to any value between 1 and 65535 seconds
activates it. If communications are idle for specified timeout value the serial server
will reset and make itself available for another connection.
6.17 TCP Alive Timeout (TCP Mode Only)
This monitors TCP activity. If TCP activity stops for the length of time specified in
this field the connection will be closed. This field can be set to any value between 0
and 255 minutes. If zero, or no value, is entered into this field the server will not
disconnect.
6.18 Connection Mode (TCP Mode Only)
The Connection mode field has three options, Server, Client and Client (no heartbeat).
When Client or Client (no heartbeat) is selected, the Connection at field automatically
becomes active (allowing the user to select Power up or Data arrival).
• When using the Virtual COM Port feature, select Server.
• When using a TCP or UDP Socket program, select Server.
• When using Paired Mode communication between two serial servers set up
one as a Client and the other as a Server.
• When connecting to a server that does not support Heartbeat, select Client
(no heartbeat).
6.19 Delimiter HEX1 and Delimiter HEX 2
These two fields allow the user to enter two ASCII characters (in hex format) that
delimit the beginning and end of a message. When a message with both these
LM300 Manager User Manual
17
delimiters is received at the serial port, the data contained in the serial buffer is placed
in an Ethernet packet and sent out the Ethernet port. If only Delimiter 1 is set
(Delimiter 2 is zero or blank), upon receiving Delimiter 1 the LM300 will put all the
data in the serial buffer in an Ethernet packet and send it out the Ethernet port. If serial
data greater than 1 kilobyte is received it will automatically be placed in an Ethernet
packet and sent out the Ethernet port.
6.20 Force Transmit
This field allows the user to set a maximum time limit between transmissions of data.
The value set in this field multiplied by 100 ms determines the Force Transmit time.
When the elapsed time reaches the time configured in this field, the TCP/IP protocol
will pack the data currently in the serial buffer into a packet and send it out the
Ethernet port.
6.21 Port Status
This field indicates whether a serial port is connected to a server or by a client.
6.22 TCP/UDP Port
The TCP/UDP Port defines a communication port number. In all modes of operating,
Virtual COM, Direct IP, and Paired modes, both the TCP/UDP Client and server port
settings must match.
For example the Virtual COM default setting TCP/UDP Port # 4000. If the port # of
the LM300 is changed to 4001, the Virtual COM TCP/UDP Port will have to be
changed to 4001.
6.23 Serial Port Mode
This allows configuration of the serial server for the following modes of operation:
•
•
•
Console – When this mode is selected and the server is updated, a PC
running a communication program such as Hyperterminal can communicate
with the serial server via the Console Mode serial port (Port 1 on LM300),
displaying the Server Properties screen and allowing configuration of the
server and its ports.
Upgrade – When this mode is selected and the server is updated, firmware
can be uploaded into the serial server via the Console Mode serial port or a
virtual COM port mapped to the number of the Console Mode serial port.
Default – When this mode is selected and the server is updated, and reverts to
its default configuration. This mode is available in Port 1 on LM300.
LM300 Manager User Manual
18
•
•
•
•
•
RS-232 – When this mode is selected and the server is updated, the selected
serial port will become a RS-232 serial port on the server. This mode is
available in Port 1 on LM300
RS-422 – When this mode is selected and the server is updated, the selected
serial port will become a RS-422 serial port on the server. This mode is
available in Port 1 on LM300
RS-485 – When this mode is selected and the server is updated, the selected
serial port will become a RS-485 serial port on the server. This mode is
available in Port 1 on LM300
Multi-connection – This mode is used in the Serial Port 2 which is
interfaced with the Bluetooth Module. This mode should be used when the
Bluetooth module is configured in multiple connection mode. The Bluetooth
module can support 3 simultaneous Bluetooth SPP connections. The data has
headers appended to it and the LM300 Server parses the data before sending
it to Bluetooth Module. The Port 2 behaves like RS232 port in this mode.
Transparent – This mode is used in the Serial Port 2 which is interfaced
with the Bluetooth Module. This mode should be used when the Bluetooth
module is configured in single connection mode. The Bluetooth module will
support point to point connection in single connection mode. The data has no
headers appended to it and the LM300 Server transparently forwards the data
Bluetooth Module. The Port 2 behaves like RS232 port in this mode.
6.24 Connection At (TCP Mode Only)
When the Connection Mode field is set to Client or Client (no heartbeat), this field
becomes active, allowing the LM300 (acting as a client) to connect to the server either
on Power up or on Data Arrival (first character arriving).
6.25 Maximum Connection (TCP Mode Only)
This field allows the user to configure the Serial Server to have up to eight TCP
connections.
6.26 Remote IP Address (TCP Mode Only)
This is a security feature that is activated when the IP address of the desired client is
programmed into the remote IP Address setting of the menu. This tells the LM300 to
communicate with only the listed IP address and to filter out all other requests for
connection. The LM300 is setup in the menu as a TCP or UDP server to us this
feature.
The default setting is 255.255.255.255. It is recommended not to change this setting
until the application has been tested and is communicating properly. At that point the
address filtering feature of the LM300 can be activated.
LM300 Manager User Manual
19
6.27 Update/Save
Server properties must be updated separately for each serial port. Updating varies
slightly depending on which of the four configuration user interfaces are used.
6.27.1
Updating the Server Properties in Manager Software
From the Server Properties screen, click the Update button to store the configuration
settings for the currently selected port. The vcomui dialogue box will appear
indicating you must restart the device before the new settings will take effect. Click
Yes.
6.27.2
Saving Configuration Data in Console Mode or Telnet
Saving (updating) server properties is done from the Configuration screen. Access the
Configuration screen by tabbing through the list of screens on the left side of the
window and highlighting Configuration. There are four options shown on the right
side of the Configuration screen: Save, Default, Running and Reset. Use Tab,
Backspace, or arrow keys to move the cursor to the option position, then press Enter.
LM300 Manager User Manual
20
•
•
•
•
6.27.3
Save – stores the configuration data to the Serial Server flash memory and
resets it.
Default – restores the configuration data to factory default settings.
Running – restores the configuration data to the last values stored in the flash
memory.
Reset – re-boots the Serial Server, making it available for a client
connection.
Web Server Interface
The Web Server interface provides the same updating options as Console Mode and
Telnet. These are located at the bottom of all three Web Server pages. If a field is
changed, you must click Save before leaving that page or the changes will be ignored.
LM300 Manager User Manual
21
LM300 Manager User Manual
22
7
Installing Virtual COM Port
The Virtual COM Port feature allows Windows platform software using standard
API calls to be used in an Ethernet application.
Running the Install Virtual COM port software adds a COM Port in the Device
Manager of the operating system. The COM port will look like a standard COM
port to Windows software used in most applications allowing the software to
open a connection with the serial port located anywhere on the LAN. When using
the virtual COM port the LM300 is configured as a TCP or UDP Server.
1.
Select Start/Programs/LM Technologies/Install Virtual COM.
2.
Select the Search all reachable servers check box, then click OK.
3.
The Install Virtual COM program will automatically search the LAN for all
available LM300 serial servers and display them in the Found Server
window. Highlight the desired serial server and click Install.
LM300 Manager User Manual
23
4.
When the COMInst window opens select COM port # to map the serial
server to. The Flow Control, Protocol, IP Address, and Port Number will
mirror the settings of the selected serial server. Highlight the desired COM
port # and select OK.
If any settings are changed in this part of the Virtual COM setup it will only
affect the settings in the operating system Device Manager. It will not change
the settings in the LM300.
The settings of the Virtual COM port in the Device Manager and the LM300
Configuration menu must match. If the settings do not match, the software
connecting to the Virtual COM port will be unsuccessful in opening the
COM port.
5.
Note: In Windows XP a Hardware Installation window stating that the
drivers have not been tested by Microsoft may appear. Select “Continue
Anyway” to proceed with the installation.
6.
When finish, click Cancel on the Found Server window. To confirm
installation, go to the Device Manager and select Ports (COM & LPT). The
installed Virtual COM port will be displayed as LM300 COM#.
LM300 Manager User Manual
24
8
Configuring Virtual COM Port
The Virtual COM port can be configured in the Device Manager of the operating
system or the Manager software. In either case the IP Address, Port #, Protocol,
and Flow Control settings must match the LM300 settings for the software to
open the Virtual COM port.
8.1
Configuration with Manager Software
1.
At the Desk Top select Start/Programs/LM Technologies/LM300 Manager.
Double click the Virtual COM Configuration button.
LM300 Manager User Manual
25
2.
Double click the COM # displayed in the screen to open the configuration
window.
3.
Make the adjustments and select OK to complete the changes.
8.2
Configuration with Device Manager
1.
On the Desk Top select Start/Settings/Control Panel. Select the System Icon
when the Control Panel window opens.
2.
In the System Properties window select the Device Manager Button.
LM300 Manager User Manual
26
3.
In the Device Manager select Ports (COM & LPT) and see the LMport
(COM #). Double click LMport (COM #) to open the Properties window.
4.
Select the Configuration tab. From here the same settings found in the
LM300 Manager can be adjusted.
LM300 Manager User Manual
27
9
Uninstalling the Virtual COM Port
The LM300 Manager Software Uninstall Virtual Com port feature will remove
the mapped COM port in the Device Manager of Windows 2000/XP/VISTA/7
operating systems. Windows 98 users will also find a Remove Virtual COM
feature in the programs file.
9.1
Removing the Virtual COM port with Manager Software
1.
At the Desk Top select Start/Programs/LM Technologies/LM300 Manager
2.
In the Manager window select Virtual COM Configuration. Highlight the
mapped COM port number to be removed.
3.
Select Uninstall Virtual COM button. The Manager will ask for confirmation.
Select Yes to complete the uninstall procedure.
LM300 Manager User Manual
28
9.2
Removing the Virtual COM Port using Device Manager
The screen shots were taken from a Windows 7 operating system
1.
On the Desktop select Start/Settings/Control Panel. Select the System icon
when the Manager window opens.
2.
Select Device Manager in the Systems Properties window. In the Device
Manger window select Ports (COM & LPT) to expand.
3.
Highlight LMport (COM #) to be removed, right click and select uninstall. A
confirm Device Removal window will appear. Select OK to proceed.
4.
The LMport COM # will be removed and the Device Manager window will
refresh and display the remaining COM ports.
LM300 Manager User Manual
29
10 Using Console
Before the LM300 is installed on a LAN the Console Mode can be used to change the
settings from the defaults. Connect a null modem cable between the serial port on the
LM300 and the COM port on the PC. Apply power to the LM300. The Run LED will
flash. See chapter 6 for details on Server Properties.
Using Hyper Terminal open the connected PC COM port at a baud rate of 9600, Data
bits 8, Parity None, Stop bits 1, and Flow control None. Ensure all the DIP switches
are in the ON position for LM300.
To view the menu hit the space bar. There are six Console Mode screens: Server,
Network, Serial Mode, Bridge, Monitor and Configuration. Tab, Back Space and
arrow keys can be used to highlight the desired function on the screen list. Pressing
Enter moves the cursor to the first field with the current screen. The configuration
fields can be changed by pressing Enter and selecting from the list that appears. The
Escape key moves the cursor back to the screen list. Pressing the Space Bar
refreshes the page.
LM300 Manager User Manual
30
LM300 Manager User Manual
31
Once all the changes have been made move to the Configuration screen, select Save
and press Enter. The restart message will appear. Select Yes to save changes. This is
necessary to write the settings to the server.
11 Using Telnet
Telnet can be used to configure the Serial Server from any PC on the LAN. The
Telnet window displays the same configuration information shown in Console Mode
and allows server properties to be configured. See chapter 6 for details on Server
Properties.
Ensure the PC and LM300 are connected to the LAN, and the serial server is in RS232, RS-422 or RS-485 mode before you can telnet to it and access the configuration
screens. From the Desktop, click Start->Run. The Run dialogue box will open. Type
in Telnet and the IP address of the Serial Server to be configured, then click OK.
Please note this command may not be supported on Windows VISTA/7.
The Telnet window will open and the Server screen will appear. See chapter 10 for
configuration screens and navigation.
LM300 Manager User Manual
32
12 Using Web Server
The Web Server can be used to configure the Serial Server from any web browser
software (such as Internet Explorer). Server properties can be set up using three
browser pages. See chapter 6 for details on Server Properties.
In Browser Window type the IP Address of the Serial Server into the address field
near the top of the window and press the Enter key. The following window will
appear:
Navigate and change properties as required using the mouse and keyboard. To change
serial port properties, click Serial Port on the left side of the browser window. The
following page will appear:
LM300 Manager User Manual
33
To change other operational properties, click Operation on the left side of the
browser window. The following page will appear:
LM300 Manager User Manual
34
Click Save to store changes to the Serial Server. Settings for each Port must be saved
separately.
LM300 Manager User Manual
35
13 Upgrading the Serial Server Firmware
New firmware may be available at times on our web site and may be
downloaded and flashed to the LM300 currently in use. The user can upgrade
using a direct connection to the LM300 serial port or the Virtual COM port
feature.
1.
Download the new upgrade .hex file and place in a folder.
2.
Set Serial Port 1 on LM300 to “Upgrade” mode. Ensure that the DIP
switches on LM300 are all in the OFF position.
3.
Connect a null modem cable between the PC and the LM300. When using
the Virtual COM mode a cable is not required.
4.
Open the Manager software and select the Firmware Upgrade button.
5.
In the Serial Port selection options select the COM port number used to
connect the PC to the LM300. If using the Virtual COM port select that
number.
6.
Select Browse, find the location of the firmware, select Open, and then select
the upgrade button.
7.
A serial menu will appear allowing the upgrade software to be setup the same
as the LM300 serial settings. The settings must match or the upgrade will
fail.
LM300 Manager User Manual
36
8.
A window showing the Upgrade progress will appear followed by a window
indicating the Upgrade was successful.
9.
LM300 will reset itself to complete the upgrade process.
14 Using the LM300 server in a WAN
To use the server in a Wide Area Network (WAN), user may have to setup of
port forwarding in the LAN Router. The IP Address of the LAN Router should
also be known. This can be found by logging into the router. A sample
screenshot is shown below. Please note this interface will be different for
different routers. Some of the information has been hidden for security purpose.
The WAN IP can be found in internet settings. When searching for server in
LM300 Manager, use this IP Address. The LM300 Server will be discovered if it
is connected to the LAN and correct port forwarding is setup.
LM300 Manager User Manual
37
Go to Virtual Server on the left window and setup port forwarding. This is
shown in the screenshot below. You might need the login details of the server.
In the screenshot below, the IP Address of the LM300 Server on LAN is
192.168.2.45.
LM300 Manager User Manual
38
LM300 Manager User Manual
39
15 Bluetooth Console
The Bluetooth Console is used to configure and control the Bluetooth Module inside
the LM300 Ethernet Bluetooth Server. The Bluetooth Module inside the server is
LM Technologies LM410 Serial Data Module which is a 20 pin plug and play
module. The module is programmed with Multi-connection firmware which consists
of hexadecimal commands for configuring and controlling the firmware. See
“Multiconnection Firmware Command Manual” for more details. The server can have
up to 3 simultaneous Bluetooth Serial Port Profile (SPP) connections.
This utility can only be used in Virtual COM mode. Please note the virtual serial port
for Bluetooth module (i.e. Serial port on Port 4001) should be installed before using
this console. This serial port appears as “Serial Port 2” when you try to configure the
LM300 using Web Browser, Telnet or Console mode.
The default serial settings on the Bluetooth Serial port is 115200, 8, N, 1 Flow:
Hardware (RTS/CTS). These settings are not recommended to be changed.
Once the Virtual Serial Port for Bluetooth Module is installed, click on the Bluetooth
Console and the following window will pop up. The serial settings are highlighted.
Please note the user can only select the COM port which is COM6 in this case. Other
settings cannot be changed.
LM300 Manager User Manual
40
15.1 Server Settings
A brief description of server settings is given below
15.1.1 Server Address
This is the Bluetooth Address of the server. This cannot be changed by the user
15.1.2 Server Name
This is a user friendly name for the server and shows up in the Bluetooth inquiry. This
can be changed by the user.
15.1.3 Pin Code
This numeric key is used during Bluetooth Authentication
15.1.4 Class of Device
This hexadecimal value tells the classification of Bluetooth Device. The default value
is Unclassified Device (0x001F00). For more information see this link
15.1.5 Max Data Chunk
This is the maximum data chunk that the server should send to the host. Valid values
are 16-255 bytes
15.1.6 Connectable
If this option is selected, then the server accepts Bluetooth connection. Otherwise the
server will reject incoming connections
15.1.7 Auto Connect
If this option is select, the server is auto accept any incoming Bluetooth connection.
Otherwise a window will pop up asking the user if he/she wants to accept the
incoming connection or not
15.1.8 Security Mode
This option selects the security mode used during Bluetooth connection. The options
can be – disabled, authentication but no encryption and authentication & encryption
15.1.9 Operation Mode
When the server is unconnected the operation mode is command. When there is a
connection present, the operation mode changes to data which means user can now
send data via the application
15.1.10 Pin Type
If fixed pin is selected the pin code specified in 14.1.3 is used during Bluetooth
authentication. If dynamic pin is selected, user gets a pop up window during
connection for entering pin. The window times out in 30 seconds if no pin code is
provided. The pop up window for dynamic pin is shown below.
LM300 Manager User Manual
41
15.1.11 Discoverable Mode
This setting makes the Bluetooth Module discoverable or non discoverable during
Bluetooth Inquiry. If the module is non-discoverable, the server will not show up in
Bluetooth Search performed by any other device
15.1.12 Connection Mode
The server can be configured in Single or Multiple connection modes.
In “Multiple Connection” mode, the server will support up to 3 simultaneous
connections and the incoming and outgoing data will have headers appended to them.
So if an application is using the “Multiple Connection” mode, it is the responsibility
of the application to parse the data from the server. Also while sending data; the
application should append appropriate headers to the outgoing packets. For data
header information see “Multiconnection Firmware Command Manual”.
In single connection mode, the server supports only one connection. The data is
transported transparently to the device connected without any headers. Every packet
coming over the virtual serial port in single connection mode connected state is treated
as data.
Bluetooth Virtual Port Configuration for Connection Modes
Please note the virtual Bluetooth Serial Port i.e Serial Port on TCP Port 4001 should
be configured properly for the data transfer in different connection modes to work. To
configure the Bluetooth Virtual Port, close the Bluetooth Manager window and double
click the port 4001 on the main application window. The following window will pop
up.
Make sure the serial port is 2. For “Single Connection” mode, serial port mode should
be “Transparent” and for “Multiple Connection” mode it should be “Multiconnection”. Please note changing the serial port mode will need a reset on the
server which happens when “Update” button is pressed.
LM300 Manager User Manual
42
15.1.13 Data Transfer Mode
This setting is only effective in Multiple Connection mode. There are 2 available data
modes – Streaming Mode and Integrity Mode. In Streaming mode, the server
Bluetooth firmware will keep on sending data even if the remote side is slow in
accepting data. In Integrity Mode the server will stop sending data if the remote side is
slow in accepting data.
15.1.14 GPIO Bank
The Bluetooth Manager can control the GPIO bank settings. When the setting is
output, checking the GPIO check box will set the GPIO high and un-checking the
GPIO check box will set the GPIO low. When the GPIO is input, the control of the
GPIO level is not in the control of the application. Please note changing this setting
needs a server reset.
15.1.15 Read Server Settings
Clicking this button reads the server settings and updates the window with the read
settings. The serial settings used by the application are 115200, 8, N, 1, Flow Control:
Hardware.
If the server is not powered up or Ethernet cable is not plugged in or wrong COM port
is selected, the user may get one of the following errors while reading server settings.
15.1.16 Set Server Settings
This button saves the settings that have been changed on the settings window to the
server. Please note some settings may require a reset on the server to take effect. In
that case you would get the following message. The user needs to Resets the server in
this case for the setting to take effect
LM300 Manager User Manual
43
15.1.17 Restore Factory Settings
Clicking this button restores the default factory settings on the Bluetooth Module of
the server. For default Factory settings refer the Section 1.3.
15.1.18 Reset Server
Clicking this button resets the server. This is needed because some of the settings on
the server, when changed, take effect only when the server is reset.
15.1.19 Upgrade Firmware
This functionality is not yet supported in this release but will be incorporated in
the next release. The user will be able to upgrade the Bluetooth module firmware
over Virtual Serial Port using this button
15.1.20 Switch Data Mode
This functionality is only applicable when the server is in single connection mode
and connected state. In this state, every packet that comes over serial port is treated
as data and transmitted to remote side. If user wants to switch the server in command
mode, it can send escape packet to the server (details in “Multiconnection Firmware
Command Manual”). The server switches in command mode in connected state when
it receives escape packet. Now if the server has to be switched back to data mode, user
can click Switch Data Mode.
Clicking this button switches the server from command mode to data mode in single
connection mode and connected state. So again all the packets over serial port are
treated as data. When the server switches to command mode in connected state, the
following message box is displayed. The Bluetooth Manager automatically sends
escape packet to the server when user changes any setting in connected state in single
connection mode.
LM300 Manager User Manual
44
15.1.21 Reset Hardware
A situation may arise when the server is powered up and Ethernet cable is plugged in
but still the user has lost communication with it. This may happen if someone has
changed the serial settings of the Bluetooth module by sending hexadecimal command
(It is not possible to do so via LM300 Manager Software). In this case user can press
the Reset Hardware button, which will restore the Bluetooth Module to factory
settings.
The difference between Reset Hardware and Restore Factory Settings is that
mechanism used to restore factory settings. Restore Factory Settings command is
actually received by the Bluetooth Module and it restores itself to factory
settings. On the other hand, Reset Hardware command is received by the server
firmware which toggles a PIO to reset the Bluetooth module. Hence it is not
necessary to have a serial communication path to the Bluetooth Module to
restore it to factory settings using Reset Hardware command.
15.2 Connection Settings
The connection settings window is shown below.
The Start Inquiry, Connect, Disconnect and Read Flow status buttons are enabled
when the server is initialized by pressing Read Server Settings on the Server Settings
window. Various features on this window are explained below.
LM300 Manager User Manual
45
15.2.1 Start Inquiry
Clicking this button starts the Bluetooth Inquiry for the period in seconds specified in
Inquiry Timeout box. The user can modify the Bluetooth Inquiry length by modifying
the value in Inquiry Timeout box. The results are displayed in Inquiry Results control.
This is shown in the figure below.
When the inquiry is ongoing, the buttons are disabled. They are enabled again when
the inquiry is complete.
15.2.2 Inquiry Result context window
This window comes up when the user right clicks any of the inquiry result. The
context window is shown below.
The different options on the context window are displayed below
15.2.2.1 Get Device Name
This option fetches the remote device name. The device name is shown in the Device
name window adjacent to the respective Inquiry Result. This is shown below
LM300 Manager User Manual
46
15.2.2.2 Pair Device
This option initiates the Bluetooth pairing procedure with the remote device. If
dynamic pin is selected, the user is asked to enter a Bluetooth pin key. Otherwise the
fixed key value is used for Bluetooth pairing. Once the pairing is done, “Paired” or
“Not Paired” is displayed in the Pairing Status window depending on whether the
pairing was successful or unsuccessful. This is shown below
15.2.2.3 Search RFCOMM channels
This option searches for the number of instances of Serial Port Service on the remote
device and returns the channel number. The number of channel numbers is equal to
the number of serial port connections supported by the remote device. For example,
the LM300 Server supports 3 serial port connections so it will returns 3 channel
numbers. An example RFCOMM search is shown below. In this case the remote
device supports only 1 serial port connection and the channel number is 1.
15.2.2.4 Unpair Device
This option unpairs the selected device. This means next time when the server wants
to connect to this particular device or vice versa, Bluetooth pairing procedure will be
carried out. The pairing status window shows “Not Paired” when unpair device is
successful. This is shown below
LM300 Manager User Manual
47
15.2.3 Connect
When the user left clicks a device it is automatically displayed in the “Select Device”
window. Clicking “Connect” button initiates a connection to the device. If the
connection is successful, the remote device Bluetooth address is displayed in
“Connection Status” window. This is shown below. Please note the Remote Name is
displayed only when the name was fetched as described in Section 14.2.2.1. If the
name was not fetched only the Remote Bluetooth Address is displayed. The pairing
status for the device is also updated during the connection.
LM300 Manager User Manual
48
15.2.4 Disconnect
This option disconnects from the selected device. If the server is in single connection
mode, the application first sends the escape sequence and then sends disconnect
command. If the server is in multiple connection mode, the application just sends the
disconnect command. If there are multiple connections, just click to “Remote Addr”
control in Connection Status window to select the device to disconnect. This is shown
below.
15.2.5 Read Flow Status
Clicking this information gives the user the information about the flow status of the
connected device. Flow Status means whether the device is ready to receive data from
the host or not. If the device is ready to receive data from the host, the flow status is
“Ready”. Otherwise it is “Not Ready”.
This information can be used by user application in order to check whether it can send
data to the LM300 server or not.
The flow status information is shown below
LM300 Manager User Manual
49
15.2.6 Inquiry Timeout
This value determines the inquiry length in seconds when Bluetooth inquiry is started.
The valid value for this parameter is between 1-60 seconds.
15.2.7 Selected Device
This value determines the currently selected device on which some operation like
“Connect”, “Disconnect” or “Read Flow Status”. This value is updated when user left
clicks an inquiry result or Remote Address in Connection Status window. User can
also type the Bluetooth address to the remote device if known.
15.2.8 Selected RFCOMM Channel
This value determines the SPP/RFCOMM channel number to connect or
disconnected. This value is typed by the user after searching for RFCOMM channels
on a remote device or if the RFCOMM channel number is known to the user.
15.2.9 Connection Status
This window shows the current connection status. The server can support 3
simultaneous connections. Therefore, this window shows information about 3
maximum devices. The fields in this window are explained below.
15.2.9.1 Remote Addr
This is the Bluetooth address of the remote connected device.
15.2.9.2 Channel
This is the channel number of the remote connected device to which a Serial Port
Profile (SPP) connection has been established. This field is only populated when the
LM300 Manager User Manual
50
user had specified a channel number while creating connection; otherwise this field is
left blank.
15.2.9.3 Remote Name
This field specifies the remote device name of the connected device. This field is
populated only if the device name of remote device was fetched after Bluetooth
inquiry as mentioned in 14.2.2.1; otherwise this field is left blank.
15.2.9.4 Flow Status
This field specifies the flow status for the connected device. If the device is ready to
accept data from host then flow status is “Ready”; otherwise it is “Non Ready”. This
value will be updated when user enquires about the flow status by click “Read Flow
Status” button or the LM300 sends Data flow status event. (See “Multiconnection
Firmware Command Manual”)
15.2.10 Inquiry Results
This window displays the Bluetooth inquiry results. The server can find maximum 8
devices during Bluetooth inquiry
15.2.11 Device Name
This window displays the name of the inquired Bluetooth device if the user performs a
name search as explained in 14.2.2.1.
15.2.12 RFCOMM Channels
This window displays the RFCOMM or SPP channels on the remote device. This
window is updated when the user searches RFCOMM channels on an inquired
Bluetooth device as explained in 14.2.2.3.
15.2.13 Pairing Status
This window displays the pairing status of the inquired Bluetooth device. This value
can be “Paired” or “Not Paired”.
15.3 Data Transfer
The data transfer window is shown below. It displays the transmitted and received
data for the 3 connections. This window is relevant only when the server is in
connected state. If the server is in single connection mode, then only the Connection
1 window is relevant.
LM300 Manager User Manual
51
15.3.1 Data Transfer in Single Connection Mode
The LM300 server virtual serial port 2 needs to be configured to transparent mode in
order to achieve data transfer in single connection mode. This configuration can be
done via the web browser by logging into the server as shown below.
LM300 Manager User Manual
52
In this mode only one connection is supported. No headers are attached to the data.
Only Connection 1 window is relevant. Data can be sent and received by using the
data window as shown below. The hyperterminal window is the remote SPP device.
The Bluetooth Manager window is the LM300 Server
15.3.2 Data Transfer in Multiple Connection Mode
The LM300 server virtual serial port 2 needs to be configured to “Multi-connection”
mode in order to achieve data transfer in multiple connection mode. This
LM300 Manager User Manual
53
configuration can be done via the web browser by logging into the server as shown
below.
Please note when Serial Port 2 is in Transparent Mode, the data will be passed to
the Bluetooth Module even when it is in multiple connection mode. The only
difference between Transparent Mode and Multi-connect mode on Serial Port 2
is that in Transparent Mode, the Hardware Reset Command will not work
because it is handled by the LM300 Server firmware and not the Bluetooth
firmware. In Multi-connect mode, the Hardware Reset Command will work.
But for uniformity purpose we recommend user switches the Serial Port 2 to
Multi-connect mode when the Bluetooth module is configured in “Multiple
Connection mode”.
The data transfer in multi-connect mode is shown below. The hyper terminal windows
are for Remote Device 1, 2, 3 and the Bluetooth Manager window is for LM300
Server
LM300 Manager User Manual
54
The connection window in “Multiple Connection Mode” with 3 connections is shown
below. The LM300 BT Manager parses the incoming data and appends proper headers
to outgoing data. If an application wants to use LM300 Server for data transfer with
multiple end points, then it is responsible for adding and parsing headers to outgoing
and incoming data respectively.
LM300 Manager User Manual
55
The different elements on the data connection window are explained below.
15.3.3 Send
User can type in this window and press “Send Text” to send the ASCII characters
15.3.4 Receive
This windows shows the received data for the particular connection
15.3.5 Send Text
Clicking this button sends data typed in the “Send” window to remote connected
device
15.3.6 Send Text File
This functionality is not yet implemented in this version. This will be supported in the
future release. User will be able to browse and send a text file by clicking this button.
16 Troubleshooting
16.1.1
LM300 Server
Q 1: Why sometimes Hyperterminal loses characters or display funny characters?
A: This happens when you open a new Hyperterminal connection and keep inputting
the same character. The reason is before Hyperterminal receiving two different
characters from the other end, its status is Auto detect, and your port settings haven’t
fully take effect, so the transferred data is not predicable. To solve this problem, input
LM300 Manager User Manual
56
two different characters from the other end, then the Hyperterminal status will show
your port settings such as 9600 8-N-1, save this Hyperterminal connection. Next you
open your saved Hyperterminal connection, everything will be fine.
Q 2: What should I do when I forget the IP address or baud rate setting of a LM300?
A: You can use the searching capability to get the information of all LM300 on the
network. Double clicks on the searched result will show the detail configuration
parameters of the device.
Q 3: Why I cannot open virtual COMx?
A: The server settings and virtual COMx settings may not match, please make sure
their IP address, protocol, port and flow control mode are the same, and the remote IP
address should be the host IP address. Besides, the LM300 should not be in Console
mode. Another reason for this problem is that the virtual COMx could be opened by
some other program like Serial Terminal programs.
Q 4: Why the arrow keys of hyperterminal in Windows 2000 do not work in Console
mode and telnet?
A: Please download new version of hyperterminal. The hyperterminal comes with
Windows 2000 does not send the arrow key code properly.
Q 5: Why I am unable to change the parameters of port 1?
A: Serial port 1 is designated console port. The default setting for the console port is
9600 8-N-1. If the serial port 1 is set to console port, it will use the default value that
is why it does response to the change. Please check hardware switch or server
properties page to see if the serial port mode of the port1 is set to console. Please
change it to other mode then its parameter can be changed.
Q 5: Why the parameters in the web console are different than those in the server
properties of management utility?
A: The edited parameters in the web console only take effect after reset LM300. Web
console show the edited configuration while in the management utility show the
running configuration. That is why they might appear differently. It is not
recommended to edit server's configuration using two different tools at the same time.
Because all change could be over-written by other method.
Q 6: Is the LM300 Manager Software supported on 64 bit Windows Machines?
A: The version 1.9 of LM300 Manager Software is not supported on 64 bit Window
machines. This support will be added in the future versions
LM300 Manager User Manual
57
16.1.2
LM300 BT Manager
Q 1: I am unable to communicate with the Bluetooth Module. What could be the
reason for it?
A: There could be multiple reasons for this problem. These include
 There is an IP Address mismatch on the virtual port and server. In this case,
close the BT Manager and uninstall and install the virtual COM port on TCP
port 4001. Try again and see if the problem is resolved
 The Ethernet or Power cable from the server is unplugged
 The serial port settings on Serial Port 2 have been changed for some reason.
In this case apply the hardware reset and try again
The serial port is locked by some other application like a serial terminal program
LM300 Manager User Manual
58
LM300 Manager User Manual
59