...
The xApp may choose to implement its logic based on the sub_id or may ignore the sub_id in its logic as illustrated below.==== code example coming soon =====:
Code Block | ||||
---|---|---|---|---|
| ||||
receive message;
switch (msg.sub_id) {
case 1 :
process message related to subscription 1;
break;
case 2:
process message related to subscription 2;
}
OR
receive message;
if (msg.mtype == RIC INDICATION) {
decode message;
if msg.procedure_code = x and type_of_message = y ... {
process message
|
Similarly, would a response to delete subscription request, or if the response is a failure also contain a subscription ID ?
...