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
dfa92c30
Commit
dfa92c30
authored
Oct 20, 2017
by
Naum Spaseski
Browse files
STF531: Finished registrationRemoteCSE function
Signed-off-by:
Naum Spaseski
<
naum.spaseski@gmail.com
>
parent
a065939d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
LibOneM2M/OneM2M_Functions.ttcn
LibOneM2M/OneM2M_Functions.ttcn
+7
-0
No files found.
LibOneM2M/OneM2M_Functions.ttcn
View file @
dfa92c30
...
...
@@ -1521,6 +1521,13 @@ module OneM2M_Functions {
v_remoteCSEResource
:=
f_cse_generateLocalResource
(
v_request
.
primitive
.
requestPrimitive
.
primitiveContent
,
1
,
int16
);
//TODO Get index from v_request.primitive.requestPrimitive.to_
v_localResourceIndex
:=
f_setLocalResource
(
v_remoteCSEResource
,
int16
,
-
1
);
v_response
:=
m_responsePrimitive
(
int2001
,
v_request
.
primitive
.
requestPrimitive
.
requestIdentifier
);
v_response
.
from_
:=
PX_CSE1_ID
;
v_response
.
to_
:=
v_request
.
primitive
.
requestPrimitive
.
from_
;
v_response
.
primitiveContent
.
remoteCSE
:=
vc_localResourcesList
[
v_localResourceIndex
].
resource
;
mccPort
.
send
(
m_response
(
v_response
));
v_resourceIndex
:=
f_setResource
(
v_request
.
primitive
.
responsePrimitive
.
primitiveContent
,
int16
,
-
1
);
}
...
...
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