Lantronix 900-691-R manual Appendix E Binary to Hexadecimal Conversions, Conversion Table

Page 112

Appendix E: Binary to Hexadecimal Conversions

Many unit 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 All 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 E-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

 

 

 

xPico® Wi-Fi® Embedded Device Server User Guide

112

Image 112
Contents Embedded Device Server User Guide Warranty Intellectual PropertyContacts DisclaimerTable of Contents Interface Settings Tunnel SettingsConfigurable Pin Manager Services SettingsMaintenance and Diagnostics Settings Advanced SettingsBranding the xPico Wi-Fi Unit MonitorUpdating Firmware Appendix B WebAPI 100Appendix C Technical Support 103 105Appendix E Binary to Hexadecimal Conversions 112 XPico Wi-Fi Product Label List of FiguresList of Tables XPico Wi-Fi Embedded Device Server User Guide Using This Guide Purpose and AudienceSummary of Chapters Chapter DescriptionAdditional Documentation Document DescriptionKey Features IntroductionTroubleshooting Capabilities Protocol SupportAddresses and Port Numbers Configuration MethodsProduct Information Label XPico Wi-Fi Product Label Configuration Using Web Manager Accessing Web ManagerStatus StatusNavigating Web Manager Web Manager ComponentsHelp Area Web Manager Pages Web Manager Description SeeNetwork Settings Network 1 Interface ap0 ConfigurationTo Configure Network 1 Interface Settings Network Interface SettingsNetwork 1 ap0 Link Settings Network 1 ap0 Link SettingsNetwork 1 ap0 Link Description Settings To View Network 1 Interface StatusTo Configure Network 1 Link Settings To View Network 1 Link StatusMode UptimeTo Configure Network 2 Interface Settings Network 2 wlan0 Interface ConfigurationNetwork Interface Description Settings Network 2 wlan0 Link Status Wlan ProfilesTo View Network 2 Interface Status To View Network 2 Link StatusTo Configure Wlan Profiles To Configure Wlan Profile SettingsWlan Profile Basic Settings Description Creating, Deleting or Enabling Wlan ProfilesWlan Profile Security Settings Wlan Profile Description Security SettingsTo Configure Wlan Quick Connect Wlan Profile Advanced SettingsWlan Profile Advanced Settings Description Wlan Quick ConnectWlan Quick Connect Description Settings Wlan Quick ConnectScan network Ssid Network Name linkInterface Settings Line SettingsLine Configuration Settings Line Settings DescriptionTo Configure Line Settings Gap TimerTo View Line Status Xoff CharTo Configure SPI Settings Serial Perpheral Interface SPI SettingsSPI Configuration Settings To View SPI Status Tunnel Settings Line SettingsTo View Tunnel Serial Settings Tunnel Line SettingsTunnel Packing Mode Settings Packing ModeTunnel Packing Mode Description Settings To Configure Tunnel Packing Mode Settings Accept ModeTunnel Accept Mode Settings Tunnel Accept Mode Description SettingsTo Configure Tunnel Accept Mode Settings Tunnel Connect Mode Settings Connect ModeTunnel Connect Description Mode Settings To Configure Tunnel Connect Mode Settings Disconnect ModeTunnel Disconnect Mode Settings Tunnel Disconnect Description Mode SettingsModem Emulation Settings To Configure Tunnel Disconnect Mode SettingsModem Emulation Settings StatisticsModem Emulation Commands and Descriptions Tunnel SettingsCommand Description ATZ Configurable Pin Manager Configurable Pin StatusCurrent Configurable Pins CP StatusRoles Active in RoleRole Configuration To Configure CPM SettingsCPM Role Current Description Configuration Services Settings Http SettingsTo Configure Http Settings and Access Control Http SettingsTo View Http Status Maintenance and Diagnostics Settings File System SettingsFile System Statistics File DisplayDevice Settings Device Management SettingsFile Manipulation To Transfer or Modify File System FilesTo Configure Admin User on the Device Admin UserAdmin User Settings Diagnostics Settings To View Hardware StatusTo View IP Socket Status To View Buffer Pool StatusTo Import or Export XML Configuration Advanced SettingsXML Import and XML Export Performance Settings Performance SettingsModem Emulation Settings Description To Configure Performance Monitor Settings Monitor Explorer SettingsExplorer Settings Description MonitorRule Number DisplayConfiguration Monitor Initialization SettingsMonitor Control Settings Initialization Description SettingsMonitor Poll Settings Monitor Filter SettingsPoll Settings Description DelayTo Configure Monitor Monitor Data SettingsData Settings Description Selector NumberExample Data Capture on a Serial Device InitializationPolling Monitor Polling 1Filtering 10 Monitor Filtering 1Data Mining 12 Monitor Data Mining 1Presenting Data Capture on SPI Branding the xPico Wi-Fi Unit Web Manager CustomizationChanging the Presentation Path FormatOther Overridable Files Updating Firmware Obtaining Firmware Loading New Firmware through Web ManagerUpdating Firmware Appendix a Command Reference ConventionsXML Architecture and Device Control Convention DescriptionSerial Command Mode Configuration Using Serial PortBoot to CLI Using Keyboard Shortcuts and CLI Navigating the CLI HierarchyTable A-1 Keyboard Shortcuts Key Combination DescriptionAppendix a Command Reference Configuration Using XMLUnderstanding the CLI Level Hierarchy XML Configuration Record Document Type Definition Figure A-3 DTD for XCRsQuick Tour of XML Syntax DeclarationElement Start and End Tags Element AttributesRecord, Group, Item, and Value Tags Figure A-5 XML ExampleConfiggroup Access Point XML for xPicoWi-Fi Embedded Device ServerConfiggroup CPM Configgroup Http Server Configitem StateConfigitem Port Configitem Inactivity TimeoutConfigitem Access Control Configgroup InterfaceConfigitem Dhcp Client Configgroup Line Configitem Name Configitem ProtocolConfigitem Baud Rate Configitem ParityConfiggroup Performance Configgroup SPI Configitem Maximum Time Powered DownConfigitem Wkup Pin Power Up Configitem Time Powered UpConfiggroup Users Configgroup Wlan Profile Configitem InstanceConfigitem Password Configitem BasicConfiggroup XML Import Control Configgroup Modem Emulation Configgroup Monitor Initialization Value Timeout Configgroup Monitor ControlValue Length Configgroup Monitor Poll Configitem DelayConfiggroup Monitor Filter Configitem RuleConfiggroup Monitor Data Configgroup Tunnel AcceptConfigitem Selector Configitem Local PortConfigitem Start Character Configitem Flush Start CharacterConfigitem Flush Line Configitem Block LineConfiggroup Tunnel Line Configitem Block NetworkConfigitem Prompt for Password Configitem DTRConfigitem Host Configgroup Tunnel ConnectValue Address Configitem Connections Configitem Reconnect TimeValue Port Value ProtocolConfiggroup Tunnel Disconnect Configitem Stop CharacterConfigitem Flush Stop Character Configitem Modem ControlConfiggroup Tunnel Packing Configitem Send CharacterConfigitem Trailing Character Appendix B WebAPI Export Configuration GroupExport Status Group Take Status Action Appendix B WebAPIImport Configuration Group Curl example configuration as part of commandAppendix C Technical Support North AmericaEurope, Middle East, Africa Emea Japan Asia / Pacific ApacLatin America & Caribbean Online Country Specification Appendix D ComplianceTable D-1 Country Certifications Table D-2 Country Transmitter IDsTable D-3 Safety Table D-4 Europe EU Declaration of ConformityFederal Communication Commission Interference Statement Radiation Exposure StatementIndustry Canada Statement End Product LabelingManual Information To the End User Déclaration dexposition aux radiationsPlaque signalétique du produit final Manuel dinformation à lutilisateur final Antenna RequirementTable D-5 Approved Antennas List Type Gain BrandManufacturers Contact RoHS NoticeAppendix E Binary to Hexadecimal Conversions Converting Binary to HexadecimalConversion Table Scientific CalculatorAppendix E Binary to Hexadecimal Conversions