213465982 发表于 2021-10-10 10:44:17

qcc3040可以做单挂耳吗?

取代csr8615那种?单个童话场景使用,非earbud模式。

twspro 发表于 2021-10-10 10:48:00

qcc3040可以做单挂耳机

Kevin.Zhao 发表于 2021-10-10 11:05:43

肯定可以的只是不是立体声

213465982 发表于 2021-10-10 11:07:51

Kevin.Zhao 发表于 2021-10-10 11:05
肯定可以的只是不是立体声

headset还是earbud工程做呢

twspro 发表于 2021-10-11 08:35:19

jsr 发表于 2021-10-10 11:07
headset还是earbud工程做呢

都可以

mupro 发表于 2021-10-11 09:59:33

headset的SDK也发布了吧

sudamax 发表于 2021-10-25 15:32:35

用3020不香吗?3020都白菜价了

xiaowa328 发表于 2021-11-1 15:45:34

可以做,L/R输出接一起

时光不老 发表于 2021-11-2 12:20:04

可以的,做个假配对数据就行

gaillysu 发表于 2021-12-7 11:16:00

可以做,使用 earbud 工程, 直接跳过对耳配对的流程,然后执 主模式下的手机配对流程
参考代码如下:

void TwsTopology_Start(Task requesting_task)
{
    twsTopologyTaskData *twst = TwsTopologyGetTaskData();

    twst->start_cfm_needed = TRUE;

    if (!twst->started)
    {
      DEBUG_LOG("TwsTopology_Start (normal start)");
      twst->started = TRUE;

      twst->app_task = requesting_task;

      twst->pairing_notification_task.handler = twsTopology_HandlePairingActivityNotification;

      Pairing_ActivityClientRegister(&twst->pairing_notification_task);
      #if 0
      MessageSend(TwsTopologyGetTask(), TWSTOP_INTERNAL_START, NULL);
      #else
      //// new code for headset device,gaillysu@qq.com added 2021.10.29
       peer_find_role_completed(PEER_FIND_ROLE_PRIMARY);
      //// peer_find_role_completed(PEER_FIND_ROLE_PRIMARY) will send PEER_FIND_ROLE_PRIMARY to tws_topologyhandler message right now
      //// see to twsTopology_HandlePeerFindRolePrimary(), this function will do two things
      //// 1:start pairing with headset (this device is primary role)
      //// 2:start connecting peer earbud (secondary role)
            #endif   
    }
    else if (   twst->role == tws_topology_role_primary
             || twst->role == tws_topology_role_secondary)
    {
      DEBUG_LOG("TwsTopology_Start, sending immediate success");
      TwsTopology_SendStartCfm(tws_topology_status_success, twst->role);
    }
    else
    {
      DEBUG_LOG("TwsTopology_Start called again. Response waiting for a role");
    }
}
页: [1] 2
查看完整版本: qcc3040可以做单挂耳吗?