Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
1cdfe60d
Commit
1cdfe60d
authored
Jun 11, 2020
by
Yann Garcia
Browse files
Bug fixed in Json codec
parent
6bac0478
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ccsrc/Protocols/Json/json_codec.cc
ccsrc/Protocols/Json/json_codec.cc
+4
-0
No files found.
ccsrc/Protocols/Json/json_codec.cc
View file @
1cdfe60d
...
...
@@ -131,6 +131,10 @@ int json_codec::decode (const OCTETSTRING& p_data, LibItsHttp__JsonMessageBodyTy
LocationAPI__TypesAndValues
::
TerminalDistance
terminal_distance
;
terminal_distance
.
decode
(
LocationAPI__TypesAndValues
::
TerminalDistance_descr_
,
decoding_buffer
,
TTCN_EncDec
::
CT_JSON
);
msg
.
terminalDistance
()
=
terminal_distance
;
}
else
if
(
it
->
second
.
find
(
"
\"
enteringLeavingCriteria
\"
"
)
!=
std
::
string
::
npos
)
{
LocationAPI__TypesAndValues
::
CircleNotificationSubscription
notif
;
notif
.
decode
(
LocationAPI__TypesAndValues
::
CircleNotificationSubscription_descr_
,
decoding_buffer
,
TTCN_EncDec
::
CT_JSON
);
msg
.
circleNotificationSubscription
()
=
notif
;
}
else
if
(
it
->
second
.
find
(
"
\"
distanceNotificationSubscription
\"
"
)
!=
std
::
string
::
npos
)
{
LocationAPI__TypesAndValues
::
DistanceNotificationSubscription
notif
;
notif
.
decode
(
LocationAPI__TypesAndValues
::
DistanceNotificationSubscription_descr_
,
decoding_buffer
,
TTCN_EncDec
::
CT_JSON
);
...
...
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