Lantronix 2100E manual Binary to Hexadecimal Conversions, Converting Binary to Hexadecimal

Page 88

B: 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

Scientific Calculator

Another simple way to convert binary to hexadecimals is to use a scientific calculator, such as the one available on Windows’ operating systems. For example:

1.On the Windows’ Start menu, click ProgramsAccessoriesCalculator.

2.On the View menu, select Scientific. The scientific calculator displays.

WiBox® 2100E Device Server User Guide

88

Image 88
Contents WiBox 2100E Device Server User Guide Warranty Contacts Intellectual PropertyRevision History Lantronix, Inc Corporate HeadquartersWiBox 2100E Device Server User Guide Table of Contents Setup Mode Server Configuration ContentsSetup Mode Advanced Settings Wireless Bridging List of Figures Using This Guide Purpose and AudienceChapter Summary Chapter DescriptionAdditional Documentation Using This GuideDocument Description Introduction ApplicationsName Model Part Numbers WiBox 2100E withSerial Tunneling Network Application ExamplesIntroduction Ad Hoc Network Serial Tunneling InfrastructureConfiguration Methods Protocol SupportAd Hoc WiBox 2100E Connection WiBox 2100E with EthernetSerial Connector Pinouts Addresses and Port NumbersDB9M DTE Serial Connector Ethernet Connector Pinouts WiBox 2100E Network InterfaceLEDs WiBox 2100E LEDsTechnical Specifications Installing the WiBox 2100E Getting StartedConfiguring the WiBox 2100E Getting StartedCase WEPProperty Description Installing DeviceInstaller 802.11i/WPA2-PersonalViewing the Current Configuration To view the WiBox 2100E’s configuration settingsGetting Started Web Manager Configuration Accessing Web Manager through a Web BrowserNetwork Configuration Network Mode ConfigurationWeb Manager Configuration Network ModeAutomatic IP Address Configuration Static IP Address ConfigurationSelect Use the following IP configuration Select Obtain IP address automaticallyEthernet Configuration Auto NegotiateSpeed DuplexTo configure the WiBox 2100E’s device server settings Server ConfigurationServer Configuration Hostlist Configuration AdvancedChannel 1 and Channel 2 Configuration To configure the WiBox 2100E’s hostlistRetry Settings Host InformationSerial Settings To configure a channel’s serial settingsPort Settings ChannelPack Control Flush Input Buffer Serial to NetworkConnection Settings TCP To configure a channel’s TCP settingsFlush Output Buffer Network to Serial Connect ProtocolConnect Mode Passive Connection Endpoint Configuration Connect Mode Active ConnectionCommon Options Disconnect Mode Connection Settings UDPTo configure a channel’s UDP settings Datagram Mode Datagram TypeUse Broadcast Device Address TableWlan Configuration To configure the WiBox 2100E’s Wlan settingsWireless Network Configuration Wireless Network SecurityAdvanced Settings WEP OptionsWPA Options 802.11i/WPA2-Personal OptionsUpdating Settings Applying DefaultsAccessing Setup Mode Telnet or Serial Port Setup Mode ConfigurationTelnet Connection Telnet or Serial Port Setup Mode Configuration Exiting Setup ModeSerial Port Connection Setup Mode Server Configuration Server Configuration OptionNetwork Mode IP AddressChange Telnet Configuration Password Setup Mode Server ConfigurationNetmask Number of Bits for Host Part Set DNS Server IP AddressDhcp Name Automatic Host MAC DetectionChannel 1 Option Setup Mode Channel ConfigurationBaudrate Interface Mode Setup Mode Channel ConfigurationMode Option Common I/F Mode Setting Binary HexFlow Port NumberFlow Control Option Hex Port Numbers Reserved forConnect Mode Connect Mode OptionResponse Incoming ConnectionActive Startup Manual Connection Address Example C121.2.4.5/1C28.10/12 C0.0.0.0/0Autostart Automatic To enable the hostlistHostlist Modem Mode Datagram TypeModem Mode Messages Message MeaningFull Verbose Numeric ResponseModem Mode Command Function Send the Escape Sequence +++ in Modem ModeShow IP addr after Ring Auto Increment Source Port Remote IP AddressRemote Port DisConnModeDisconnect Mode Options Flush Mode Buffer Flushing10. Flush Mode Options Pack Control Alternate Packing Algorithm Pack Control EnableOption DisConnTime Inactivity Timeout Send CharactersPacking Interval Trailing CharactersWlan Settings Channel Port PasswordTelnet Terminal Type WEP Display Current Key802.11i/WPA2-Personal Fixed or Automatic Data RateTransmission Data Rate Minimum TX Data RateEnable Soft AP Roaming Enable Power ManagementMax TX Failures Setup Mode Advanced Settings Expert Settings OptionARP Cache timeout in seconds Disable Monitor Mode at bootupTCP Keepalive time in seconds CPU PerformanceSecurity Settings Option TCP Re-transmission TimeoutEnable Alternate MAC Configurable Server Port NumberDisable Snmp Disable Telnet SetupDisable Tftp Firmware Upgrade Disable Port 77FE HexDisable Echo Ports Enable EncryptionEnable Enhanced Password Enable EncryptionChannel 1 Configuration Default Settings OptionChannel 2 Configuration Expert Settings Security SettingsExit Configuration Mode Monitor Mode Entering Monitor Mode via the Serial PortEntering Monitor Mode via the Network Port Monitor Mode CommandsG0, G1, ....,Ge, Gf Monitor ModeS0, S1,...,Se, Sf Response Meaning Using Tftp Graphical User Interface Updating FirmwareObtaining Firmware Reloading Firmware To download new firmware from a computerNetwork Upgrade Using Tftp Command Line InterfaceUpdating Firmware Wlan Country Setting To recover firmwareWireless Bridging Configuring the WiBox 2100E in Bridging ModeTo initialize the bridging feature MethodWireless Bridging Troubleshooting Diagnostic LED StatesProblems and Error Messages Problem/Message Reason SolutionTroubleshooting Entry addition failed 5 messageWiBox 2100E only Technical Support US Technical SupportTechnical Support Europe, Middle East, and Africa Mounting Brackets Binary to Hexadecimal Conversions Converting Binary to HexadecimalConversion Table Scientific CalculatorBinary to Hexadecimal Conversions Compliance Compliance InformationRegulatory Information USA Federal Communications Commission FCC NoticeCompliance RoHS NoticeAntenna Notice Canada Industry Canada NoticeExposure of Humans to RF Fields Australia & New Zealand Wireless Notice Europe R&TTE Directive 99/5/EC, Wireless NoticeCountry Restriction