TI中文支持网
TI专业的中文技术问题搜集分享网站

cc2640怎么实现主从透传

自定义服务,可读可写可通知对手机通讯可以读到从机数据,但用2640central怎么读取从机特征值里的数据并通过串口打印

da qin zheng sheng:

可以参考cc2540,把流程弄清楚,多看英文资料。串口比较容易实现。

da qin zheng sheng:

我以前用cc2540做主机,连接从机读取rssi,通过串口发送给stm32f469

Susan Yang:

您可以参考下TI WIKI上的链接UART to BLE Bridge (SPP over BLE)

http://processors.wiki.ti.com/index.php/CC2640_Serial_Communication#UART_to_BLE_Bridge_.28SPP_over_BLE.29

This project sends UART serial data over BLE much like SPP from Bluetooth classic. There are client and server examples to start sending serial data out of the box.

希望对您有所帮助!

赞(0)
未经允许不得转载:TI中文支持网 » cc2640怎么实现主从透传
分享到: 更多 (0)