Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
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
videolan
dvblast
Commits
a1abdc22
Commit
a1abdc22
authored
Feb 20, 2010
by
Marian Ďurkovič
Committed by
Christophe Massiot
Feb 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement wating for MMI data
parent
c9a9c0a5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletion
+10
-1
comm.h
comm.h
+1
-0
dvblast_mmi.sh
dvblast_mmi.sh
+4
-0
dvblastctl.c
dvblastctl.c
+4
-0
en50221.c
en50221.c
+1
-1
No files found.
comm.h
View file @
a1abdc22
...
...
@@ -47,6 +47,7 @@
#define RET_MMI_STATUS 3
#define RET_MMI_SLOT_STATUS 4
#define RET_MMI_RECV 5
#define RET_MMI_WAIT 6
#define RET_HUH 255
struct
ret_frontend_status
...
...
dvblast_mmi.sh
View file @
a1abdc22
...
...
@@ -124,6 +124,10 @@ while :; do
echo
"CAUTION: the password won't be bulleted, be alone"
echo
-n
"Your choice (empty for extra choices) ? "
;;
252
)
sleep
1
continue
;;
0
)
echo
-n
"Your choice: (B)ack, (C)lose or (R)etry ? "
;;
...
...
dvblastctl.c
View file @
a1abdc22
...
...
@@ -252,6 +252,10 @@ int main( int i_argc, char **ppsz_argv )
exit
(
0
);
break
;
case
RET_MMI_WAIT
:
exit
(
252
);
break
;
case
RET_ERR
:
msg_Err
(
NULL
,
"request failed"
);
exit
(
255
);
...
...
en50221.c
View file @
a1abdc22
...
...
@@ -2374,7 +2374,7 @@ uint8_t en50221_GetMMIObject( uint8_t *p_buffer, ssize_t i_size,
i_slot
=
*
p_buffer
;
if
(
pb_slot_mmi_expected
[
i_slot
]
==
true
)
return
RET_
ERR
;
/* should not happen
*/
return
RET_
MMI_WAIT
;
/* data not yet available
*/
p_ret
->
object
.
i_object_type
=
EN50221_MMI_NONE
;
*
pi_size
=
sizeof
(
struct
ret_mmi_recv
);
...
...
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