你好,朱利安,
在GitHub的示例项目ble-uart,自定义的服务–server_uart–是本项目的实施,利用两个自定义特性:
§server_uart_rx_data:接收数据从任何中央设备通过无响应命令写。
§server_uart_tx_data:把数据传输到中央设备通过通知。
一旦BLE中央设备连接到的外围设备,你可以打开两个串口终端窗口的一个外围设备和一个中央装置。现在,你可以在外围设备的串口终端输入数据和看到同样受到中央装置的串口终端显示。
- Sayani。
以上来自于百度翻译
以下为原文
Hello Julian,
In the GITHUB example project BLE-UART, a
custom BLE service – Server_UART – is implemented in the project, which makes use of two custom characteristics:
§ Server_UART_Rx_data: To receive data from any central device via write without response commands.
§ Server_UART_Tx_data: To transmit data to any central device via notifications.
Once the BLE central device is connected to the BLE peripheral device, you can open two UART terminal windows - one for the peripheral device and another for the central device. Now, you can input data in the UART terminal of the peripheral device and see the same being displayed in the UART terminal of the central device.
-Sayani.
你好,朱利安,
在GitHub的示例项目ble-uart,自定义的服务–server_uart–是本项目的实施,利用两个自定义特性:
§server_uart_rx_data:接收数据从任何中央设备通过无响应命令写。
§server_uart_tx_data:把数据传输到中央设备通过通知。
一旦BLE中央设备连接到的外围设备,你可以打开两个串口终端窗口的一个外围设备和一个中央装置。现在,你可以在外围设备的串口终端输入数据和看到同样受到中央装置的串口终端显示。
- Sayani。
以上来自于百度翻译
以下为原文
Hello Julian,
In the GITHUB example project BLE-UART, a
custom BLE service – Server_UART – is implemented in the project, which makes use of two custom characteristics:
§ Server_UART_Rx_data: To receive data from any central device via write without response commands.
§ Server_UART_Tx_data: To transmit data to any central device via notifications.
Once the BLE central device is connected to the BLE peripheral device, you can open two UART terminal windows - one for the peripheral device and another for the central device. Now, you can input data in the UART terminal of the peripheral device and see the same being displayed in the UART terminal of the central device.
-Sayani.
举报