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.

[参考译文] CC2564CMSP432BTBLESW:命令/控制命令处的 HFP 配置文件

Guru**** 663810 points
Other Parts Discussed in Thread: CC256XCQFN-EM, BOOST-CCEMADAPTER, CC3200, CC2564C
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1053852/cc2564cmsp432btblesw-hfp-profile-at-commands-control-commands

器件型号:CC2564CMSP432BTBLESW
主题中讨论的其他器件:CC256XCQFN-EMMSP432P401RBOOST-CCEMADAPTERCC3200CC2564C

我的设置:
CC256XCQFN-EM
MSP432P401R Launchpad
BOOST-CCEMADAPTER
CC3200 AudBoost

Code Composer Studio 版本:10.4.0.00006  

BT 堆栈 CC2564CMSP432BTBLESW-v4.2.1.1 (我真的想使用5.0或更高版本的堆栈)

我的问题:

1)

我 想 像下面提到的那样发送事件数据、但数据是仅通过 HFP 为我们的用例定制的数据?  
下面的示例对我们来说是完美的。

例如、 "AT+XEVENT=HELLOFROMHFP、1\r"在蓝皮亚堆栈中、我应该使用哪个 API 来实现这个目标?

Mic / Headset will send the PTT commands via HFP link as follows:

PTT press down send out: "AT+XEVENT=TALK,1\r"

PTT release send out: "AT+XEVENT=TALK,0\r"


下面的(如图所示的 Bluetooth SIG HFP1.6文档)中提到了这一点!




如何在 TI CC2564C 的默认 TI (我认为是蓝皮亚)堆栈上实现上述功能?

2)
另外、关于我的设置的 BT 认证、最终会是什么? BT 4.2或 BT5.1 ??? 如下链接所示
https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1021860/cc2564cstbtblesw-cc2564c/3776991?tisearch=e2e-sitesearch&keymatch=bluetopia%2520CC2564C#3776991

3)

我的用例是 Embedded No-OS Target (如果需要、可以在 STM32上使用 FreeRTOS) 除 Bluetopia 之外还有其他可靠的堆栈吗?  
是否有5.1版 Bluetopia 即将推出,如果是,何时发布?


提前感谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Gokulnath、

    我将很快跟进此请求。

    谢谢、
    Jacob

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Jacob、
    希望你们做得很好,度过了一个很棒的感恩节!  
    请告诉我这些更新  
    谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Gokulnath、

    很抱歉耽误了时间、上周我外出度假、本周将在这里回复。

    谢谢、
    Jacob

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [已删除]
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Gokulnath、

    您应该能够使用 SPP_Data_Write 实现功能:

    /*! @brief The following function is responsible for Sending Serial Data to
        * the specified Serial Connection.  The SerialPortID that is passed
        * to this function MUST have been established by either Accepting
        * a Serial Port Connection (callback from the SPP_Open_Server_Port()
        * function) or by initiating a Serial Port Connection (via calling
        * the SPP_Open_Remote_Port() function and having the remote side
        * accept the Connection). @param BluetoothStackID The input parameters to this function are
        * the Bluetooth Stack ID of the Bluetooth Stack that the second parameter is valid for.
        * @param SerialPortID Serial Port Identifier.
        * @param DataLength the Length of the Data to send.
        * @param DataBuffer A pointer to the Data Buffer to Send.
        * @return This function returns the number of data bytes that were successfully
        * sent, or a negative return error code if unsuccessful.
        * \note If this function is unable to send all of the data that
        *          was specified (via the DataLength parameter), this
        *          function will return the number of bytes that were
        *          actually sent (zero or more, but less than the DataLength
        *          parameter value).  When this happens (and ONLY when
        *          this happens), the user can expect to be notified when
        *          the Serial Port is able to send data again via the
        *          etPort_Transmit_Buffer_Empty_Indication SPP Event.  This
        *          will allow the user a mechanism to know when the Transmit
        *          Buffer is empty so that more data can be sent.
        */
    BTPSAPI_DECLARATION int BTPSAPI SPP_Data_Write(unsigned int BluetoothStackID, unsigned int SerialPortID, Word_t DataLength, Byte_t *DataBuffer);

    2.如果您使用最新的 Bluetopia 5.1栈和我们 的控制器子系统认证来获得 CC2564C、则您的器件将获得蓝牙5.1认证。

    我们在 STM32上为 Noos 和 FreeRTOS 提供蓝牙5.1堆栈。 当下载内容在本周晚些时候更新时、您可以在该链接中找到该下载内容。

    谢谢、
    Jacob