Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
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
canghaiwuhen
OpenXG-RAN
Commits
e6d5f22c
Commit
e6d5f22c
authored
May 01, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add message 1 to the T
This message sends configuration for all events.
parent
d079dadb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
common/utils/T/T.c
common/utils/T/T.c
+13
-0
No files found.
common/utils/T/T.c
View file @
e6d5f22c
...
...
@@ -31,6 +31,7 @@ static void get_message(int s)
char
t
;
int
l
;
int
id
;
int
is_on
;
if
(
read
(
s
,
&
t
,
1
)
!=
1
)
abort
();
printf
(
"got mess %d
\n
"
,
t
);
...
...
@@ -45,6 +46,18 @@ printf("got mess %d\n", t);
l
--
;
}
break
;
case
1
:
/* set IDs as given */
/* optimize? */
if
(
read
(
s
,
&
l
,
sizeof
(
int
))
!=
sizeof
(
int
))
abort
();
id
=
0
;
while
(
l
)
{
if
(
read
(
s
,
&
is_on
,
sizeof
(
int
))
!=
sizeof
(
int
))
abort
();
T_IDs
[
id
]
=
is_on
;
id
++
;
l
--
;
}
break
;
}
}
...
...
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