-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
목차
1. 주제명
2. 팀명, 팀원, 업무분장
3. Project 범위 및 내용
4. Project 수행에 필요한 학부교과 및 교과 외 내용
5. 설계 방법 및 절차
6. Project 결과물
7. Project 수행 이전과 이후 팀(원)의 학습성과
8. 결론
9. 졸업작품 및 KWIX로 향후 진행 계획
2. 팀명, 팀원, 업무분장
3. Project 범위 및 내용
4. Project 수행에 필요한 학부교과 및 교과 외 내용
5. 설계 방법 및 절차
6. Project 결과물
7. Project 수행 이전과 이후 팀(원)의 학습성과
8. 결론
9. 졸업작품 및 KWIX로 향후 진행 계획
본문내용
tton on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_STOP:
printf(\"The user has pressed down \'Stop\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_PAUSE:
printf(\"The user has pressed down \'Pause\' button on the AV device\'s panel.\\n \");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_FAST_FORWARD:
printf(\"The user has pressed down \'Fast forward\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_FORWARD:
printf(\"The user has pressed down \'Forward\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_BACKWARD:
printf(\"The user has pressed down \'Backward\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_VOLUME_UP:
printf(\"The user has pressed down \'Volume up\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_VOLUME_DOWN:
printf(\"The user has pressed down \'Volume down\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_RECORD:
printf(\"The user has pressed down \'Record\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_POWER:
case BTSDK_AVRCP_OPID_AVC_PANEL_MUTE:
case BTSDK_AVRCP_OPID_AVC_PANEL_REWIND:
case BTSDK_AVRCP_OPID_AVC_PANEL_EJECT:
default:
break;
}
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Description:
This function is to show user interface of AV test.
Arguments:
void
Return:
void
---------------------------------------------------------------------------*/
void TestAVShowMenu(void)
{
printf(\"*****************************************\\n\");
printf(\"* Please select the choice you want: *\\n\");
printf(\"* <1> Select A Remote Audio Device *\\n\");
printf(\"* <2> Select Service\'s Handle *\\n\");
printf(\"* <3> Connect Remote Audio Service *\\n\");
printf(\"* <4> Disconnect *\\n\");
printf(\"* Return to the upper menu *\\n\");
printf(\"*****************************************\\n\");
printf(\">>\");
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Description:
This function is the entry function for AV APIs test.
Arguments:
void
Return:
void
---------------------------------------------------------------------------*/
void TestAVFunc(void)
{
BTUINT8 ch = 0;
s_currAudioRmtDevHdl = BTSDK_INVALID_HANDLE;
s_currAudioSvcHdl = BTSDK_INVALID_HANDLE;
Btsdk_AVRCP_RegPassThrCmdCbk4ThirdParty(AVRCP_PassThr_Cmd_CbkFunc);
Btsdk_AVRCP_RegIndCbk4ThirdParty(AVRCP_Event_CbkFunc);
TestAVShowMenu();
while (ch != \'r\')
{
scanf(\" %c\", &ch);
getchar();
if (ch == \'\\n\')
{
printf(\">>\");
}
else
{
switch (ch)
{
case \'1\':
TestSelectRmtAudioDev();
break;
case \'2\':
TestSelectAudioSvc();
break;
case \'3\':
TestConnectAudioSvc();
break;
case \'4\':
if (BTSDK_INVALID_HANDLE != s_currAudioConnHdl)
{
Btsdk_Disconnect(s_currAudioConnHdl);
}
break;
case \'r\':
break;
default:
printf(\"Invalid command.\\n\");
break;
}
printf(\"\\n\");
TestAVShowMenu();
}
}
Btsdk_AVRCP_RegPassThrCmdCbk4ThirdParty(NULL);
Btsdk_AVRCP_RegIndCbk4ThirdParty(NULL);
}
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_STOP:
printf(\"The user has pressed down \'Stop\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_PAUSE:
printf(\"The user has pressed down \'Pause\' button on the AV device\'s panel.\\n \");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_FAST_FORWARD:
printf(\"The user has pressed down \'Fast forward\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_FORWARD:
printf(\"The user has pressed down \'Forward\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_BACKWARD:
printf(\"The user has pressed down \'Backward\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_VOLUME_UP:
printf(\"The user has pressed down \'Volume up\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_VOLUME_DOWN:
printf(\"The user has pressed down \'Volume down\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_RECORD:
printf(\"The user has pressed down \'Record\' button on the AV device\'s panel.\\n\");
break;
case BTSDK_AVRCP_OPID_AVC_PANEL_POWER:
case BTSDK_AVRCP_OPID_AVC_PANEL_MUTE:
case BTSDK_AVRCP_OPID_AVC_PANEL_REWIND:
case BTSDK_AVRCP_OPID_AVC_PANEL_EJECT:
default:
break;
}
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Description:
This function is to show user interface of AV test.
Arguments:
void
Return:
void
---------------------------------------------------------------------------*/
void TestAVShowMenu(void)
{
printf(\"*****************************************\\n\");
printf(\"* Please select the choice you want: *\\n\");
printf(\"* <1> Select A Remote Audio Device *\\n\");
printf(\"* <2> Select Service\'s Handle *\\n\");
printf(\"* <3> Connect Remote Audio Service *\\n\");
printf(\"* <4> Disconnect *\\n\");
printf(\"*
printf(\"*****************************************\\n\");
printf(\">>\");
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Description:
This function is the entry function for AV APIs test.
Arguments:
void
Return:
void
---------------------------------------------------------------------------*/
void TestAVFunc(void)
{
BTUINT8 ch = 0;
s_currAudioRmtDevHdl = BTSDK_INVALID_HANDLE;
s_currAudioSvcHdl = BTSDK_INVALID_HANDLE;
Btsdk_AVRCP_RegPassThrCmdCbk4ThirdParty(AVRCP_PassThr_Cmd_CbkFunc);
Btsdk_AVRCP_RegIndCbk4ThirdParty(AVRCP_Event_CbkFunc);
TestAVShowMenu();
while (ch != \'r\')
{
scanf(\" %c\", &ch);
getchar();
if (ch == \'\\n\')
{
printf(\">>\");
}
else
{
switch (ch)
{
case \'1\':
TestSelectRmtAudioDev();
break;
case \'2\':
TestSelectAudioSvc();
break;
case \'3\':
TestConnectAudioSvc();
break;
case \'4\':
if (BTSDK_INVALID_HANDLE != s_currAudioConnHdl)
{
Btsdk_Disconnect(s_currAudioConnHdl);
}
break;
case \'r\':
break;
default:
printf(\"Invalid command.\\n\");
break;
}
printf(\"\\n\");
TestAVShowMenu();
}
}
Btsdk_AVRCP_RegPassThrCmdCbk4ThirdParty(NULL);
Btsdk_AVRCP_RegIndCbk4ThirdParty(NULL);
}
소개글