2.2.4 CBCP Messages
There are three types of messages associated with the CBCP -Callback Request (section 2.2.4.1), Callback Response (section 2.2.4.2), and Callback Acknowledgment (section 2.2.4.3). The general format of the CBCP message is specified as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code |
Identifier |
Length |
|||||||||||||||||||||||||||||
Data (variable) |
|||||||||||||||||||||||||||||||
... |
Code (1 byte): This MUST be set to the message type as specified in the following table of values.
-
Message type
Code
Callback Request
0x01
Callback Response
0x02
Callback Acknowledgment
0x03
Identifier (1 byte): This MUST specify an opaque value that assists in matching the Callback Request message with the corresponding Callback Response and Callback Acknowledgment messages.
Length (2 bytes): This MUST specify the length of the message, including the Code, Identifier, Length, and Data fields.
Data (variable): This MUST specify 0 or more octets of the data specific to the message.