Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 12 of 16

CoBox-FL/CoBox-FL-IAP User Guide: Binary to Hex Conversion, pages 99 to 106

Pages 99 to 106 of 135, from CoBox-FL/CoBox-FL-IAP User Guide

The original document is the PDF (1.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Lantronix CoBox-FL

Page 99

Binary to Hex

9. Binary to Hex Conversion Many of the Device Server’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. 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, 0010 0011) 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. Table 35 - Binary to Hexadecimal Conversion Table Decimal Binary Hex 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

0 1 2 3 4 5 6 7 8 9 A B C D E F

9.1 Connect Mode Options Note: Character response codes are C=conn, D=disconn, N=unreachable

CoBox-FL User Guide

9-1

Page 100

Binary to Hex

Table 36 - Connect Mode Options Accept Incoming Connections

Never Never Never Never Never Never Never Never Never Never Never Never Never Never

Serial Response Upon Connection None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) Character Character Character Character Character Character Character

No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP

N/A 1 2 3 4 5 C 10 11 12 13 14 15 1C

With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR

None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) Character Character Character Character Character Character Character

No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP

40 41 42 43 44 45 4C 50 51 52 53 54 55 N/A

Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally

None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) Character Character Character Character Character

No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP No active startup Any character Active DTR CR (0x0D) Manual connection

C0 C1 C2 C3 C4 C5 CC D0 D1 D2 D3 D4

9-2

Active Connection Startup

Hostlist

Hex

CoBox-FL User Guide

Page 101

Binary to Hex Accept Incoming Connections

Unconditionally Unconditionally

Serial Response Upon Connection Character Character

Autostart UDP

Never Never Never Never Never Never Never Never Never Never Never Never Never Never

None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) Character Character Character Character Character Character Character

No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP

Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist

N/A 21 22 23 N/A 25

With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR With DTR

None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) Character Character Character Character Character Character Character

No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP

Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist

N/A 61 62 63 N/A 65 N/A N/A 71 72 73 N/A 75 N/A

Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally

None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) Character Character Character Character Character

No active startup Any character Active DTR CR (0x0D) Manual connection Autostart UDP No active startup Any character Active DTR CR (0x0D) Manual connection

Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist

N/A E1 E2 E3 N/A E5 N/A N/A F1 F2 F3 N/A

CoBox-FL User Guide

Active Connection Startup

Hostlist

Hex

D5 DC

N/A 31 32 33 N/A 35 N/A

9-3

Page 102

Binary to Hex Accept Incoming Connections

Unconditionally Unconditionally

Serial Response Upon Connection Character Character

Active Connection Startup

Hostlist

Hex

Autostart UDP

Hostlist Hostlist

F5 N/A

The following connect mode options are for when you use modem emulation: Table 37 - Connect Mode Options for Modem Emulation Accept Incoming Connections

Response

Hex

Never Never Never

Echo Without echo 1-character response

16 6 7

With DTR With DTR With DTR

Echo Without echo 1-character response

56 46 47

Unconditionally Unconditionally Unconditionally

Echo Without echo 1-character response

D6 C6 C7

9-4

CoBox-FL User Guide

Page 103

Binary to Hex

9.2 Disconnect Mode Options Table 38 - Disconnect Mode Options Disconnect with DTR Drop (Note)

Telnet Mode and Terminal Type Setup

Channel (port) Password

Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable Enable Enable

CoBox-FL User Guide

Hard Disconnect

State LED Off with Connection

Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable

Enable Enable

Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable

Enable Enable

Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable Enable Enable Enable Enable Enable Enable

Disable Disable Disable Disable

Disconnect with EOT (^D)

Enable Enable

Enable Enable

Hex

0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 1 11 21 31 41 51 61 71

Enable Enable

81 91 A1 B1 C1 D1 E1 F1

Enable Enable

8 18 28 38

Enable Enable

9-5

Page 104

Binary to Hex Disconnect with DTR Drop (Note)

Telnet Mode and Terminal Type Setup

Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable

Channel (port) Password

Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable

9-6

Enable Enable Enable Enable

Enable Enable Enable Enable

Enable Enable

Hard Disconnect

State LED Off with Connection

Disable Disable Disable Disable

Disconnect with EOT (^D)

Enable Enable

Disable Disable Disable Disable Disable Disable Disable Disable

Enable Enable

Enable Enable

Disable Disable Disable Disable Disable Disable Disable Disable

Enable Enable Enable Enable Enable Enable Enable Enable

Disable Disable Disable Disable Disable Disable Disable Disable

Enable Enable Enable Enable Enable Enable Enable Enable

Enable Enable

Enable Enable Enable Enable Enable

Enable Enable

Hex

48 58 68 78 88 98 A8 B8 C8 D8 E8 F8 9 19 29 39 49 59 69 79 89 99 A9 B9 C9 D9 E9 F9

CoBox-FL User Guide

Page 105

Binary to Hex

9.3 Flush Mode (Buffer Flushing) Options Table 39 - Flush Mode Options Serial to Network

Network to Serial

Clear input buffer upon:

Clear output buffer upon:

Alternate Packing Algorithm

None Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect

0 10 20 30 40 50 60 70

Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect

Enable Enable Enable Enable

80 90 A0 B0

Enable Enable

C0 D0

Enable

E0

Enable

F0

Active connection Active connection Active connection Active connection

1 11 21 31

Active connection Active connection

41 51

Active connection

61

Active connection

71

Active connection

CoBox-FL User Guide

Hex

Enable

81

9-7

Page 106

Binary to Hex Serial to Network

Network to Serial

Clear input buffer upon: Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect

Active connection Passive connection Active connection Passive connection

9-8

Hex

Clear output buffer upon:

Alternate Packing Algorithm

Active connection Active connection Active connection

Enable Enable Enable

91 A1 B1

Active connection Active connection

Enable Enable

C1 D1

Active connection

Enable

E1

Active connection

Enable

F1

Passive connection Passive connection Passive connection Passive connection

2 12 22 32

Passive connection

42

Passive connection

52

Passive connection

62

Passive connection

72

Passive connection Passive connection Passive connection Passive connection

Enable Enable Enable Enable

82 92 A2 B2

Passive connection Passive connection

Enable Enable

C2 D2

Passive connection

Enable

E2

Passive connection

Enable

F2

Active connection Passive connection Active connection Passive connection Active connection Passive connection Active connection Passive connection

3 13 23 33

CoBox-FL User Guide