4 Replies Latest reply on Jul 31, 2019 1:33 AM by AnjanaM_61

    融合SPP到watch里面,SPP连接不上,出现0X06的error

    LeLi_3670906

      Hi Sir,

       

      目前在调试CYW20719,需要用到A2DP source +SPP的场景,我尝试把SPP demo移植到Watch demo里(手里没有20719EVK,暂时用20706测试的),出现以下log,导致SPP连接不上:

      hci_control_spp_rfcomm_start_server: rfcomm_create Res: 0x6  Port: 0x0000

      maxLinks:0 maxChannels:0 maxpsm:0 rfcom max links7, rfcom max ports:0

      我跟踪了代码, Res:0x6 means:If there is not enough memory to allocate a control block structure.

      我查了下可能是 wiced_app_cfg_buf_pools Buffer不够,我调整了如下参数,还是一样的问题:

      /*  { buf_size, buf_count } */

          { 64,       16   },      /* Small Buffer Pool */

          { 360,      4   },      /* Medium Buffer Pool (used for HCI & RFCOMM control messages, min recommended size is 360) */

          { 1024,     9   },      /* Large Buffer Pool  (used for HCI ACL messages) */

          { 1024,     5   },      /* Extra Large Buffer Pool - Used for avdt media packets and miscellaneous (if not needed, set buf_count to 0) */

      };

       

      请帮忙分析是什么原因导致的,谢谢

       

       

      Best Regards,

      Leo