Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-NRF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-NRF
Commits
9bb39cf2
Commit
9bb39cf2
authored
Jul 07, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for sending notifications
parent
2965d644
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
src/nrf_app/nrf_app.cpp
src/nrf_app/nrf_app.cpp
+6
-11
No files found.
src/nrf_app/nrf_app.cpp
View file @
9bb39cf2
...
...
@@ -466,18 +466,13 @@ void nrf_app::handle_create_subscription(
subscription_condition_t
sub_condition
=
{};
ss
.
get
()
->
get_sub_condition
(
sub_condition
);
find_nf_profiles
(
sub_condition
,
profiles
);
if
(
profiles
.
size
()
>
0
)
{
std
::
vector
<
std
::
string
>
notification_uris
=
{};
notification_uris
.
push_back
(
notification_uri
);
for
(
auto
p
:
profiles
)
{
// send notifications
nrf_client_inst
->
notify_subscribed_event
(
p
,
NOTIFICATION_TYPE_NF_REGISTERED
,
notification_uris
);
}
}
else
{
Logger
::
nrf_app
().
error
(
"
\t
No NF profile found"
);
}
}
return
;
...
...
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