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
b58ccef5
Commit
b58ccef5
authored
Jan 21, 2020
by
Stefan Schuhbaeck
Browse files
Merge branch 'fix_traci_version' into 'master'
add ResponseIdentifier to traci version packet See merge request
!110
parents
a09a27d1
8353a9f0
Pipeline
#205630
passed with stages
in 123 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereManager/src/org/vadere/manager/traci/writer/TraCIPacket.java
View file @
b58ccef5
...
@@ -181,9 +181,9 @@ public class TraCIPacket extends ByteArrayOutputStreamTraCIWriter {
...
@@ -181,9 +181,9 @@ public class TraCIPacket extends ByteArrayOutputStreamTraCIWriter {
addStatusResponse
(
res
.
getStatusResponse
());
addStatusResponse
(
res
.
getStatusResponse
());
TraCIWriter
cmdBuilder
=
getCmdBuilder
();
TraCIWriter
cmdBuilder
=
getCmdBuilder
();
// the command Identifier is written somewhere else, as it is already clear in here, that the command is a
// ResponseIdentifier needed by implementation in Veins/OMNeT++
// getVersion command
cmdBuilder
.
writeUnsignedByte
(
res
.
getResponseIdentifier
().
id
)
cmdBuilder
.
writeInt
(
res
.
getVersionId
())
.
writeInt
(
res
.
getVersionId
())
.
writeString
(
res
.
getVersionString
());
.
writeString
(
res
.
getVersionString
());
addCommandWithoutLen
(
cmdBuilder
.
asByteArray
());
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