Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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-SMF
Commits
ff9ca9c7
Commit
ff9ca9c7
authored
Oct 18, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Protocol identifier Selected Bearer Control Mode
parent
1e5560e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/smf_app/smf_pco.cpp
src/smf_app/smf_pco.cpp
+4
-3
No files found.
src/smf_app/smf_pco.cpp
View file @
ff9ca9c7
...
...
@@ -391,15 +391,16 @@ int smf_app::process_pco_selected_bearer_control_mode(
protocol_configuration_options_t
&
pco_resp
,
const
pco_protocol_or_container_id_t
*
const
poc_id
)
{
pco_protocol_or_container_id_t
poc_id_resp
=
{
0
};
uint8_t
value
;
uint8_t
value
[
1
]
;
Logger
::
smf_app
().
debug
(
"PCO: Protocol identifier Selected Bearer Control Mode"
);
poc_id_resp
.
protocol_id
=
PCO_CONTAINER_IDENTIFIER_SELECTED_BEARER_CONTROL_MODE
;
poc_id_resp
.
length_of_protocol_id_contents
=
1
;
value
=
0x02
;
// MS/NW mode, hardcoded for now
poc_id_resp
.
protocol_id_contents
=
std
::
to_string
(
value
);
value
[
0
]
=
(
uint8_t
)(
0x02
);
// MS/NW mode, hardcoded for now
std
::
string
tmp_s
((
const
char
*
)
&
value
[
0
],
sizeof
(
value
));
poc_id_resp
.
protocol_id_contents
=
tmp_s
;
return
pco_push_protocol_or_container_id
(
pco_resp
,
&
poc_id_resp
);
}
...
...
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