Skip to content
Snippets Groups Projects
Commit 04cfd32d authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Storing last sent requestPrimitive

parent 4c459b38
No related branches found
No related tags found
2 merge requests!63Merge Release4-onwards into Release4,!62Merge Release2-onwards into Release2
This commit is part of merge request !62. Comments created here will be created in the context of that merge request.
......@@ -5986,6 +5986,7 @@ module OneM2M_Functions {
log("f_send: protocolBinding=", p_msgOut.protocolBinding);
if(ischosen(p_msgOut.primitive.requestPrimitive)){
p_msgOut.primitive.requestPrimitive.requestIdentifier := p_msgOut.primitive.requestPrimitive.requestIdentifier & f_rnd(1, 1000000);
vc_request.primitive.requestPrimitive := valueof(p_msgOut.primitive.requestPrimitive);
}
if(not(vc_componentRegistered)) {
if(valueof(p_msgOut.protocolBinding) == "MQTT") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment