Page 73
A:Binary to Hexadecimal Conversions
Many of the unit’s configuration procedures require assembling a series of options (represented as bits) into a complete command (represented as a byte). Convert the resulting binary value to a hexadecimal representation.
Converting Binary to Hexadecimal
Following are two simple ways to convert binary numbers to hexadecimals.
Conversion Table
Hexadecimal digits have values ranging from 0 to F, which are represented as 0-9, A (for 10), B (for 11), etc. To convert a binary value (for example, 0100 1100) to a hexadecimal representation, the upper and lower four bits are treated separately, resulting in a two-digit hexadecimal number (in this case, 4C). Use the following table to convert values from binary to hexadecimal.
| Decimal | | | Binary | | Hex |
| | | |
0 | | 0000 | 0 |
1 | | 0001 | 1 |
2 | | 0010 | 2 |
3 | | 0011 | 3 |
4 | | 0100 | 4 |
5 | | 0101 | 5 |
6 | | 0110 | 6 |
7 | | 0111 | 7 |
8 | | 1000 | 8 |
9 | | 1001 | 9 |
10 | | 1010 | | A |
11 | | 1011 | | B |
12 | | 1100 | | C |
13 | | 1101 | | D |
14 | | 1110 | | E |
15 | | 1111 | | F |
Contents
User Guide
Technology Drive Irvine, CA 92618, USA Toll Free Phone Fax
Lantronix Corporate Headquarters
Technical Support Sales Offices
Date Rev Firmware Comments
Table of Contents
Configuration via Telnet or Serial Port Setup Mode
Problems and Error Messages Technical Support
Setup Mode Advanced Settings
List of Tables
List of Figures
Purpose and Audience
Using This Guide
Chapter Summary
Remaining chapters in this guide include
Additional Documentation
DeviceInstaller Online Help
Document Description
Micro125 Integration Guide
Capabilities
Introduction
Applications
Protocol Support
Configuration Methods
Addresses and Port Numbers
Hardware Address
Port Numbers
IP Address
Getting Started
Physically Connecting the Unit
Required Information
10/100 Ethernet
Getting Started
Installing DeviceInstaller
Using DeviceInstaller
To install DeviceInstaller
Assigning an IP Address
Viewing the Current Configuration
Accessing the Micro125 Using DeviceInstaller
DeviceInstaller provides a view of the units configuration
To view the units current settings
Device Family
Comments
Type
Hardware Address
Configurable Pins
Upgradeable
Setup Supports 230K Baud
Firmware
Accessing Web-Manager Using DeviceInstaller
Configuration Using Web Manager
Lantronix Web-Manager
Web-Manager Login Window
Network Mode
Network Configuration
Automatic IP Address Configuration
Select Obtain IP address automatically
Select Use the following IP configuration
Static IP Address Configuration
Enter the following as necessary
To assign an IP address manually
Ethernet Settings Description
Ethernet Configuration
To specify how data will be transmitted
Auto Negotiate
To configure the Micro125’s device server settings
Server Configuration
Server Configuration Description Settings
To configure the Micro125’s host list
Host List Configuration
Advanced Settings Description
On the main menu, click Hostlist
Retry Settings
Channel 1 and Channel 2 Configuration
Retry Settings Description
Host Information
To configure the channel’s serial settings
Serial Settings
Channel Setting Description
Port Settings Description
Pack Control Settings Description
Flush Output Buffer Description Settings
Flush Input Buffer Settings Description
With Active Connect
With Passive Connect
To configure a channel’s TCP settings
Connection Settings TCP
Passive Connection Mode Description Settings
Connect Protocol Setting Description
Active Connection Mode Description Settings
Available fields, enter or modify the following information
Common Option Settings Description
Endpoint Configuration Description Settings
Disconnect Mode Settings Description
To configure a channel’s UDP settings
Connection Settings UDP
Inactivity Timeout
Check EOT Ctrl-D
Datagram Mode Description Settings
Apply Settings
Connection Protocol Description
Applying Settings
Apply Defaults
Accessing Setup Mode
Configuration via Telnet or Serial Port Setup Mode
Telnet Connection
To establish a Telnet connection
Serial Port Connection
Click OK. The following information displays
To exit setup mode, utilize one of the following two options
Exiting Setup Mode
Server Configuration Option
Setup Mode Server Configuration
This chapter explains how to configure the network settings
IP Address
Netmask Number of Bits for Host Part
Set Gateway IP Address
Set DNS Server IP Address
Standard IP Network Netmasks
Dhcp Name
Change Telnet/Web-Manager Password
Channels
Setup Mode Channel Configuration
Baudrate
Following table displays available I/F Mode options
Interface Mode
Mode Option
Common I/F Mode Setting Binary Hex
Port Number
Flow
Use the following table to select flow control options
Enter Connect Mode options in hexadecimal notation
Connect Mode
Connect Mode Options
Connect Mode Option
Active Startup
Response
C121.2.4.5/1
Manual Connection Address Example
C28.10/12
C0.0.0.0/0
Hostlist Option
To enable the hostlist
Modem Mode Description
Modem Mode
Datagram Type
Datagram Type Description
Full Verbose Command was executed without error
Modem Mode Messages
Message Meaning
Network connection has been established
Modem Mode Function Command
Send the Escape Sequence +++ in Modem Mode
Auto Increment Source Port
Show IP addr after Ring
Remote IP Address
Remote Port
Disconnect Mode Option
11. Disconnect Mode Options
Pack Control
Flush Mode Buffer Flushing
Option
Packing Interval
DisConnTime Inactivity Timeout
Trailing Characters
Send Characters
Send Characters
Channel Port Password
Telnet Terminal Type
Expert Settings Option
Setup Mode Advanced Settings
Default settings are listed below
Device Details Settings Description
Disable Monitor Mode at Bootup
ARP Cache Timeout in Seconds
TCP Re-transmission Timeout
Enable Alternate MAC
Disable Snmp
Security Settings Option
Disable Telnet Setup
Select 6 to configure security settings
Disable Port 77FE Hex
Disable Tftp Firmware Upgrade
Disable Web Server
Disable Web Setup
To configure AES encryption on the Micro125
Enable Enhanced Password
Channel 1 and Channel 2 Configuration Defaults
Default Settings Option
Expert Settings Defaults
Channel Setting Default Configuration
Security Setting Default Configuration
Security Settings Defaults
Using Tftp Graphical User Interface
Firmware Upgrades
Obtaining Firmware Reloading Firmware
To download new firmware from a computer
Firmware Upgrades
Using Tftp Command Line Interface
To recover firmware
Entering Monitor Mode Using the Serial Port
Monitor Mode
Entering Monitor Mode Using the Network Port
Monitor Mode Commands
Command Command Name Function
Monitor Mode Commands
G0, G1, ....,Ge, Gf
S0, S1,...,Se, Sf
Response Meaning
Problems and Error Messages
Troubleshooting
Problem/Message Reason Solution
Caps Lock is not on
Troubleshooting
Correctly to make a good socket
Technical Support US
Technical Support
Phone 800 422-7044 US Only 949
Technical Support Europe, Middle East, and Africa
Converting Binary to Hexadecimal
Binary to Hexadecimal Conversions
Conversion Table
Decimal Binary Hex
Scientific Calculator