测试平台大概说明下, mde2.7 adk toolkit 1.2.10.21 ADK-21.4-CS-r00111.1 默认回连时间是10秒,这里可以修改为其他想要的值。 [code]const sink_service_config_t sink_service_config =
{
.supported_profile_mask = (DEVICE_PROFILE_AVRCP|DEVICE_PROFILE_A2DP|DEVICE_PROFILE_HFP),
.profile_list = usb_dongle_config_profile_list,
.profile_list_length = ARRAY_DIM(usb_dongle_config_profile_list),
.page_timeout = APP_CONFIG_PAGE_TIMEOUT_S,
.rssi_pairing_params = &usb_dongle_config_rssi_params,
.max_bredr_connections = APP_CONFIG_MAX_BREDR_CONNECTIONS,
};[/code]根据图片,修改source_apps\usb_dongle\src\usb_dongle_config.h文件 [code]#define APP_CONFIG_PAGE_TIMEOUT_S 10 /*!< Maximum number of seconds to attempt reconnection to a previously paired sink. */[/code] |
GMT+8, 2026-10-22 20:59 , Processed in 0.064444 second(s), 9 queries , Gzip On, Redis On.
Powered by Discuz! X5.0
© 2001-2026 Discuz! Team.