Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
UERANSIM
Commits
a707dff4
Commit
a707dff4
authored
May 10, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RLS improvements
parent
557b47e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/lib/rls/rls_pdu.cpp
src/lib/rls/rls_pdu.cpp
+12
-0
No files found.
src/lib/rls/rls_pdu.cpp
View file @
a707dff4
...
...
@@ -79,6 +79,18 @@ void EncodeRlsMessage(const RlsMessage &msg, OctetString &stream)
stream
.
appendOctet4
(
m
.
payload
.
length
());
stream
.
append
(
m
.
payload
);
}
else
if
(
msg
.
msgType
==
EMessageType
::
HEARTBEAT
)
{
auto
&
m
=
(
const
RlsHeartBeat
&
)
msg
;
stream
.
appendOctet4
(
m
.
simPos
.
x
);
stream
.
appendOctet4
(
m
.
simPos
.
y
);
stream
.
appendOctet4
(
m
.
simPos
.
z
);
}
else
if
(
msg
.
msgType
==
EMessageType
::
HEARTBEAT_ACK
)
{
auto
&
m
=
(
const
RlsHeartBeatAck
&
)
msg
;
stream
.
appendOctet4
(
m
.
dbm
);
}
}
std
::
unique_ptr
<
RlsMessage
>
DecodeRlsMessage
(
const
OctetView
&
stream
)
...
...
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