This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CTE包发送



你好

按照ble5.1 core spc定义,链路建立成功之后,主从之间经过LL_CTE_REQ和LL_CTE_RSP的交互之后,这之后从发的数据包都是带CTE的包吗?直到AOA采样完成,链路断开?

  • “链路建立成功之后,主从之间经过LL_CTE_REQ和LL_CTE_RSP的交互之后,这之后从发的数据包都是带CTE的包吗?” 是的
    “直到AOA采样完成,链路断开” 不一定是断开,不需要了就可以终止传输CTE
  • 不断开的情况下如何停止CTE的发送?还是链路层命令吗?

    另外还有个问题,在下面这个交互中,如何控制主从设备本地hci的使能顺序呢?一旦A设备已经使能,而B还没有完成这些HCI操作,LL的交互命令就会失败吧?

  • 1、看这个结构体:

    // AoA Enable command
    typedef struct __attribute__((packed))
    {
      uint16_t connHandle;   // Connection handle
      uint8_t  enableAoa;    // Enable or disable AoA
      uint16_t cteInterval;  // 0 = run once, > 0 = sample CTE every cteInterval until told otherwise
      uint8_t  cteLength;    // Length of the tone (2 - 20), used for AoA receiver
    } rtlsAoaEnableReq_t;
    

    2、一开始设备就enable AOA