引用: Xc_Y 发表于 2018-9-27 08:52
好的,非常感谢你的建议。是否已经有HCI的驱动程序或库,或者我必须在我的自定义应用程序中实现HCI命令?
如果我想做音频流,我只能使用HCI,或者我必须使用HCI(用于命令模块),并将I2S外围设备连接到RaS浆莓(并且以正确的方式配置模块中的I2S)。
这可能出现在论坛的多个地方。我会在这里重写。有一种叫做WICED HCI和默认标准HCI。WICED HCI是“HCI命令“WICED UART柏定制实现(同HCI UART)。如果你计划使用标准的HCI命令,你将不得不下载一个补丁(或一个空的应用程序),然后发送HCI指令在HCI UART。
为了使用WICED HCI,指的是人机交互控制协议的文档和例子,从“hci_”。你需要在你的程序中实现WICED HCI RX回调。
对于音频流,请参考手表示例。音频通过HCI UART发送。但是默认的音频数据路径是I2S。所以,这将是更容易连接Raspberry Pi在I2S。
以上来自于百度翻译
以下为原文
This might be present at multiple places in the forum. I will rewrite here. There is something called WICED HCI and default standard HCI. WICED HCI is a Cypress custom implementation of "HCI commands" over WICED UART(same as HCI UART). If you plan to use standard HCI commands, you will have to just download a patch (or an empty application) and then send HCI commands over HCI UART.
In order to use WICED HCI, refer to the HCI Control Protocol document and examples that start with 'hci_'. You will have to implement WICED HCI rx callbacks in your application.
For audio streaming, refer to the watch example. The audio is sent over HCI UART. However the default audio data path is the I2S. So, it would be easier to connect the Raspberry Pi over I2S.
引用: Xc_Y 发表于 2018-9-27 08:52
好的,非常感谢你的建议。是否已经有HCI的驱动程序或库,或者我必须在我的自定义应用程序中实现HCI命令?
如果我想做音频流,我只能使用HCI,或者我必须使用HCI(用于命令模块),并将I2S外围设备连接到RaS浆莓(并且以正确的方式配置模块中的I2S)。
这可能出现在论坛的多个地方。我会在这里重写。有一种叫做WICED HCI和默认标准HCI。WICED HCI是“HCI命令“WICED UART柏定制实现(同HCI UART)。如果你计划使用标准的HCI命令,你将不得不下载一个补丁(或一个空的应用程序),然后发送HCI指令在HCI UART。
为了使用WICED HCI,指的是人机交互控制协议的文档和例子,从“hci_”。你需要在你的程序中实现WICED HCI RX回调。
对于音频流,请参考手表示例。音频通过HCI UART发送。但是默认的音频数据路径是I2S。所以,这将是更容易连接Raspberry Pi在I2S。
以上来自于百度翻译
以下为原文
This might be present at multiple places in the forum. I will rewrite here. There is something called WICED HCI and default standard HCI. WICED HCI is a Cypress custom implementation of "HCI commands" over WICED UART(same as HCI UART). If you plan to use standard HCI commands, you will have to just download a patch (or an empty application) and then send HCI commands over HCI UART.
In order to use WICED HCI, refer to the HCI Control Protocol document and examples that start with 'hci_'. You will have to implement WICED HCI rx callbacks in your application.
For audio streaming, refer to the watch example. The audio is sent over HCI UART. However the default audio data path is the I2S. So, it would be easier to connect the Raspberry Pi over I2S.
举报