本文主要是介绍如何在QCC实现source和sink app合在一起,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
如何在QCC实现source和sink app合在一起
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2018 Qualcomm Technologies International, Ltd.-->
<message_map>
<message_group name="default_message_group">
<message>
<messageName>APP_ANC_TOGGLE_ON_OFF</messageName>
<buttonEvent>IGNORE</buttonEvent>
</message>
<message>
<messageName>APP_ANC_SET_NEXT_MODE</messageName>
<buttonEvent>IGNORE</buttonEvent>
</message>
<message>
<messageName>APP_ANC_ENABLE</messageName>
<buttonEvent>IGNORE</buttonEvent>
</message>
<message>
<messageName>APP_ANC_DISABLE</messageName>
<buttonEvent>IGNORE</buttonEvent>
</message>
<message>
<messageName>LI_MFB_BUTTON_SINGLE_PRESS</messageName>
<buttonEvent>SINGLE_CLICK</buttonEvent>
<activePinFriendlyName>MUSIC</activePinFriendlyName>
</message>
<message>
<messageName>LI_MFB_BUTTON_RELEASE_1SEC</messageName>
<buttonEvent>HELD_RELEASE</buttonEvent>
<activePinFriendlyName>SYS_CTRL</activePinFriendlyName>
<timeout_ms>1000</timeout_ms>
</message>
<message>
<messageName>LI_MFB_BUTTON_HELD_1SEC</messageName>
<buttonEvent>HELD</buttonEvent>
<activePinFriendlyName>SYS_CTRL</activePinFriendlyName>
<timeout_ms>1000</timeout_ms>
</message>
<message>
<messageName>LI_MFB_BUTTON_HELD_3SEC</messageName>
<buttonEvent>HELD</buttonEvent>
<activePinFriendlyName>MUSIC</activePinFriendlyName>
<timeout_ms>3000</timeout_ms>
</message>
<message>
<messageName>LI_MFB_BUTTON_UP</messageName>
<buttonEvent>ENTER</buttonEvent>
<activePinFriendlyName>SYS_CTRL</activePinFriendlyName>
</message>
<message>
<messageName>LI_MFB_BUTTON_DUMN</messageName>
<buttonEvent>ENTER</buttonEvent>
<negatePinFriendlyName>SYS_CTRL</negatePinFriendlyName>
这篇关于如何在QCC实现source和sink app合在一起的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!