Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
TST
ATS
Commits
0d08fbe7
Commit
0d08fbe7
authored
Apr 02, 2020
by
Miguel Angel Reina Ortega
Browse files
Modifications to allow POA validation from IUT
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
5b68654d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
LibOneM2M/OneM2M_Functions.ttcn
LibOneM2M/OneM2M_Functions.ttcn
+7
-4
No files found.
LibOneM2M/OneM2M_Functions.ttcn
View file @
0d08fbe7
...
...
@@ -4557,6 +4557,9 @@ module OneM2M_Functions {
}
else
if
(
v_cleanedURI
==
f_getResourceId
(
vc_localResourcesList
[
vc_cSEBaseIndex
].
resource
))
{
log
(
"Non Hierarchical method: "
&
v_cleanedURI
);
v_resourceIndex
:=
vc_cSEBaseIndex
;
}
else
if
(
p_receivedURI
==
vc_localResourcesList
[
vc_cSEBaseIndex
].
resource
.
cSEBase
.
cSE_ID
)
{
log
(
"Non Hierarchical method: "
&
p_receivedURI
);
v_resourceIndex
:=
vc_cSEBaseIndex
;
}
}
log
(
"Resource index found: "
&
int2str
(
v_resourceIndex
));
...
...
@@ -5166,13 +5169,13 @@ module OneM2M_Functions {
}
}
else
if
(
f_isScopeSpRelative
(
p_resourceAddress
)){
if
(
v_nbOfSlashes
==
2
)
{
if
(
(
v_nbOfSlashes
==
2
)
or
(
v_nbOfSlashes
==
1
))
{
return
true
;
}
else
{
return
false
;
}
}
else
if
(
f_isScopeAbsolute
(
p_resourceAddress
)){
if
(
v_nbOfSlashes
==
4
)
{
if
(
(
v_nbOfSlashes
==
4
)
or
(
v_nbOfSlashes
==
3
))
{
return
true
;
}
else
{
return
false
;
...
...
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