
1-11
1-11
user's manual R5975236-r3
user's manual R5975236-r3
length
\x0b
h
\x68
e
\x65
l
\x6c
l
\x6c
o
\x6f
\x20
w
\x77
o
\x6f
r
\x72
l
\x6c
d
\x64
Characters
In this manual, all characters are expressed using the C-language syntax :
decimal values
ddd
ddd = 0..255
hexadecimal values\xhh
hh = 00..ff
Pascal-language string
Characters
In this manual, all characters are expressed using the C-language syntax :
decimal values
ddd
ddd = 0..255
hexadecimal values\xhh
hh = 00..ff
Pascal-language string
Chapter 1: Communications basics
syntax
syntax
Chapter 1: Communications basics
A pascal-language string consists of one or
more characters. The first character of the
string contains the length of the string. There-
fore, a pascal-language string is limited to
255 characters.
Example : hello world
length
\x0b
h
\x68
e
\x65
l
\x6c
l
\x6c
o
\x6f
\x20
w
\x77
o
\x6f
r
\x72
l
\x6c
d
\x64
h
\x68
e
\x65
l
\x6c
l
\x6c
o
\x6f
\x20
w
\x77
o
\x6f
r
\x72
l'
\x6c
d
\x64
NULL
\x00
C-language string:
A C-language string consists of one or more
characters.
The last character of the string is always the
NULL (\x00) character. Therefore, the length
of a C-language string is determined by the
position of the NULL character.
Example : hello world
A pascal-language string consists of one
or more characters. The first character
of the string contains the length of the
string. Therefore, a pascal-language
string is limited to 255 characters.
Example : hello world
C-language string:
A C-language string consists of one or more
characters.
The last character of the string is always the
NULL (\x00) character. Therefore, the length
of a C-language string is determined by the
position of the NULL character.
Example : hello world
h
\x68
e
\x65
l
\x6c
l
\x6c
o
\x6f
\x20
w
\x77
o
\x6f
r
\x72
l'
\x6c
d
\x64
NULL
\x00
Summary of Contents for BD2100
Page 2: ...i 1 user s manual R5975236 r3 Contents ...
Page 6: ...1 1 user s manual R5975236 r3 Chapter 1 Communication basics ...
Page 18: ...2 1 user s manual R5975236 r3 Chapter2 Elementarycommands Chapter 2 Elementary commands ...
Page 60: ...3 1 user s manual R5975236 r3 Chapter3 Advancedcommands Chapter 3 Advancedcommands ...
Page 163: ...a 1 user s manual R5975236 r3 Appendixa Commandsummary2 Appendix a Command summary 2 ...
Page 167: ...b 1 user s manual R5975236 r3 Appendixb Commandsummary3 Appendix b Command summary 3 ...