Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
8353a9f0
Commit
8353a9f0
authored
Jan 21, 2020
by
Stefan Schuhbaeck
Browse files
add ResponseIdentifier to traci version packet
parent
a09a27d1
Pipeline
#205535
passed with stages
in 119 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereManager/src/org/vadere/manager/traci/writer/TraCIPacket.java
View file @
8353a9f0
...
...
@@ -181,9 +181,9 @@ public class TraCIPacket extends ByteArrayOutputStreamTraCIWriter {
addStatusResponse
(
res
.
getStatusResponse
());
TraCIWriter
cmdBuilder
=
getCmdBuilder
();
// the command Identifier is written somewhere else, as it is already clear in here, that the command is a
// getVersion command
cmdBuilder
.
writeInt
(
res
.
getVersionId
())
// ResponseIdentifier needed by implementation in Veins/OMNeT++
cmdBuilder
.
writeUnsignedByte
(
res
.
getResponseIdentifier
().
id
)
.
writeInt
(
res
.
getVersionId
())
.
writeString
(
res
.
getVersionString
());
addCommandWithoutLen
(
cmdBuilder
.
asByteArray
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment