cc2640怎么实现主从透传
时间:10-02
整理:3721RD
点击:
自定义服务,可读可写可通知对手机通讯可以读到从机数据,但用2640central怎么读取从机特征值里的数据并通过串口打印
可以参考cc2540,把流程弄清楚,多看英文资料。串口比较容易实现。
我以前用cc2540做主机,连接从机读取rssi,通过串口发送给stm32f469
您可以参考下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.
希望对您有所帮助!