Lantronix EDS-MD8 Appendix B Binary to Hexadecimal Conversions, Converting Binary to Hexadecimal

Page 87

Appendix B: Binary to Hexadecimal Conversions

Many of the unit's configuration procedures require you to assemble a series of options (represented as bits) into a complete command (represented as a byte).

The resulting binary value must be converted to a hexadecimal representation.

Use this chapter to learn to convert binary values to hexadecimals or to look up hexadecimal values in the tables of configuration options. The tables include:

Command Mode (serial string sign-on message)

AES Keys

Converting Binary to Hexadecimal

Following are two simple ways to convert binary numbers to hexadecimal notation.

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, treat the upper and lower four bits separately to produce a two- digit hexadecimal number (in this case, 4C). Use the following table to convert values from binary to hexadecimal.

Scientific Calculator

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

1.On the Windows Start menu, click Programs -> Accessories -> Calculator.

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

3.Click Bin (Binary), and type the number you want to convert.

Table 17-1 Binary to Hexadecimal

Conversion

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

 

 

 

EDS-MD User Guide

87

Image 87
Contents TM User Guide Revision History Warranty ContactsCopyright & Trademark DisclaimerTable of Contents Using This GuideIntroduction Line and Tunnel Settings Installation of EDS-MD4/8/16 Device ServersUsing DeviceInstaller Configuration Using Web ManagerNetwork Settings Services Settings Terminal and Host SettingsMaintenance and Diagnostics Settings Security SettingsEDS-MD User Guide Advanced Settings Updating Firmware VIP SettingsBranding the EDS-MD4/8/16 1EDS-MD Product Label List of FiguresList of Tables EDS-MD User Guide Using This Guide Purpose and AudienceSummary of Chapters Grounding Safety InformationCover Power Plug Input SupplyBattery Wall MountingPort Connections Electromagnetic Interference Cleaning InstructionsEquipment Classifications Environmental Conditions for Transportation and StorageDocument Description Additional DocumentationProtocol Support Key FeaturesIntroduction ApplicationsHardware Address Troubleshooting CapabilitiesConfiguration Methods Addresses and Port NumbersPort Numbers Product Information LabelIdentifying Hardware Components Installation of EDS-MD4/8/16 Device ServersPackage Contents User-Supplied ItemsSystem LEDs on the Top of EDS-MD Serial PortsEthernet Port LEDsGreen Red Off Reset to Default ButtonSerial Indicator LEDs on the Top of EDS-MD RJ45 LEDs on the Back Panel Ethernet IndicatorsCategory Description Technical SpecificationInstalling the EDS-MD Finding a Suitable LocationConnect the EDS-MD to one or more serial devices Device Detail Summary Using DeviceInstallerAccessing EDS-MD Using DeviceInstaller Current Settings DescriptionGroup Supports Configurable PinsTelnet Enabled Web EnabledAccessing Web Manager Configuration Using Web ManagerDevice Status Help Area Web Manager Page ComponentsWeb Manager Description See Navigating the Web ManagerTunnel SyslogSystem TerminalLine Settings Description Line and Tunnel SettingsLine Settings Line Configuration SettingsTo View Line Statistics To Configure Line SettingsLine Command Mode Settings Line Command Description Mode SettingsTunnel Serial Settings Tunnel SettingsSerial Settings To Configure Tunnel Serial SettingsTunnel Packing Mode Description Settings Packing ModeTo Configure Tunnel Packing Mode Settings Tunnel Packing Mode SettingsLocal Port Accept ModeTunnel Accept Mode Settings Tunnel Accept Mode Description SettingsTo Configure Tunnel Accept Mode Settings Reconnect Timer Connect ModeTunnel Connect Mode Settings Tunnel Connect Mode Description SettingsTunnel Disconnect Description Mode Settings To Configure Tunnel Connect Mode SettingsDisconnect Mode Tunnel Disconnect Mode SettingsTunnel Modem Description Emulation Settings To Configure Tunnel Disconnect Mode SettingsLine and Tunnel Settings Tunnel Modem Emulation SettingsTo Configure Tunnel Modem Emulation Settings StatisticsTo View Tunnel Statistics  Include in your file statusgroup name=tunnel instance=1 Network Interface Description Settings Network SettingsNetwork Interface Settings Network Interface SettingsTo View Network Interface Status To Configure Network Interface SettingsNetwork 1 Ethernet eth0 Description Link Settings Network Link SettingsTo Configure Network Link Settings Network 1 eth0 Link SettingsTerminal and Host Settings Terminal SettingsTerminal on Network and Line Settings Host Configuration Host ConfigurationTo Configure the Terminal Network Connection To Configure the Terminal Line ConnectionRemote Port To Configure Host SettingsSSH Username Remote AddressDNS Settings Services SettingsDNS Settings To View or Configure DNS SettingsFTP Settings FTP SettingsSyslog Settings To Configure FTP SettingsHttp Settings To View or Configure Syslog SettingsHttp Settings Description To Configure Http Settings Http Authentication Settings DescriptionEnter the Uniform Resource Identifier URI RSS Settings RSS SettingsTo Configure Http Authentication To Configure RSS SettingsReal Time Clock RTC Settings To Configure RTC SettingsRTC Settings Description SSH Server Host Keys Security SettingsSSH Settings RSS Settings DescriptionSSH Client Known Hosts SSH Server Authorized UsersSSH Client Known Hosts SSH Client Users Remote CommandSSH Client Users SSH Server Authorized UsersTo Configure SSH Settings SSL SettingsTo Create a New Credential Certificate and Key Generation SettingsCertificate Generation Description Settings Certificate and Key GenerationUpload Description Certificate Settings Certificate Upload SettingsTo Configure an Existing SSL Credential Upload Certificate SettingsTrusted Authority Settings Trusted AuthoritiesTo Upload an Authority Certificate File Display Maintenance and Diagnostics SettingsFilesystem Settings File Display SettingsFile Transfer File Modification SettingsFile Transfer Settings File ModificationTo Transfer or Modify Filesystem Files IP Network Stack SettingsTo Configure IP Network Stack Settings Protocol Stack Description IP SettingsProtocol Stack Description Icmp Settings To Configure Icmp Network Stack SettingsTo Configure ARP Network Stack Settings Icmp Network Stack SettingsQuery Port To Configure Smtp Network Stack SettingsTo Configure Query Port Settings Query Port SettingsTo View the List of IP Sockets DiagnosticsHardware To View Hardware Information IP SocketsTraceroute Ping Settings10 Traceroute Settings To Ping a Remote HostMemory To Configure the Diagnostic Log Output11 Log Settings LogTo View Thread Information ThreadsProcesses To View Process InformationSystem Settings Description System SettingsTo Reboot or Restore Factory Defaults 12 System SettingsEmail Configuration Description Settings Advanced SettingsEmail Settings To View, Configure and Send EmailCLI Configuration Settings Command Line Interface SettingsBasic CLI Settings To View and Configure Basic CLI SettingsTelnet Settings Telnet SettingsTo Configure Telnet Settings SSH SettingsXML Export Configuration Description Settings XML SettingsXML Export Configuration XML Exporting ConfigurationTo Export in XML Format To Export Configuration in XML FormatXML Export Status Description Settings XML Export StatusTo Import Configuration in XML Format XML Import ConfigurationImport Configuration from External File Import Configuration from the FilesystemObtaining Firmware Loading New Firmware Updating FirmwareVirtual IP VIP Status VIP SettingsVirtual IP VIP Configuration To Configure VIP SettingsVIP Counters Description Virtual IP VIP CountersTo View VIP Counters VIP Counters Web Manager Customization Branding the EDS-MD4/8/16To Customize Short or Long Names Short and Long Name SettingsName Settings Description Short and Long Name CustomizationTechnical Support Europe, Middle East, Africa Appendix a Technical SupportScientific Calculator Appendix B Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Conversion TableClick Hex. The hexadecimal value appears Emissions Immunity Appendix C ComplianceApplicable Medical Standards Applicable ITE StandardsStandard Description Regulatory ComplianceSuppliers Declaration of Conformity RoHS Notice Cables and Adapters Lantronix Cables and AdaptersLantronix P/N Description Applications RJ45 Receptacle to DB25M DCE Adapter PN RJ45 Receptacle to DB25M DTE Adapter PN 200.2066ARJ45 Receptacle to DB25F DTE Adapter PN 200.2067A RJ45 Receptacle to DB9M DTE Adapter PN 200.2069A RJ45 Receptacle to DB9F DTE Adapter PN 200.2070A 10 RJ45 to RJ45 Adapter ADP010104-01