Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ATS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TST
ATS
Merge requests
!49
Stf531 polling channel
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Stf531 polling channel
STF531-POLLING_CHANNEL
into
master
Overview
0
Commits
9
Pipelines
0
Changes
Merged
Miguel Angel Reina Ortega
requested to merge
STF531-POLLING_CHANNEL
into
master
6 years ago
Overview
0
Commits
9
Pipelines
0
Changes
-
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
067e7478
9 commits,
6 years ago
+
628
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
LibOneM2M/OneM2M_Functions.ttcn
+
36
−
0
Options
@@ -1587,6 +1587,42 @@ module OneM2M_Functions {
} //end f_cse_notifyProcedure_noNotification Handler
/**
* @desc Message exchange for notification
* @param p_requestPrimitive Notify request to be used for the notification
* @verdict
*/
function f_cse_notifyProcedure_notify(template RequestPrimitive p_requestPrimitive) runs on CseSimu {
// Local variables
var RequestPrimitive v_request;
var ResponsePrimitive v_responsePrimitive;
var integer v_resourceIndex := -1;
v_request.from_ := PX_CSE1_ID;
mccPort.send(m_request(v_request));
tc_ac.start;
alt {
[] mccPort.receive(mw_response(mw_responsePrimitive(int2000, mw_primitiveContentNotification(mw_contentNotification_any)))) -> value vc_response {
tc_ac.stop;
}
[] mccPort.receive(mw_response(mw_responsePrimitiveKO)) {
tc_ac.stop;
setverdict(inconc, __SCOPE__&":INFO: Error while performing notification");
}
[] mccPort.receive {
tc_ac.stop;
setverdict(inconc, __SCOPE__&":INFO: Unexpected message received");
}
[] tc_ac.timeout {
setverdict(inconc, __SCOPE__&":INFO: No answer while performing notification");
}
}
f_checkCseSimuStatus();
} //end f_cse_notifyProcedure_notify
/**
* @desc Checking of notification primitiveContent
* @param p_requestPrimitive Received Notification request
* @param p_primitiveContent Expected primitiveContent in the notification
Loading