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.

CC2564和CC2540通信的问题

Other Parts Discussed in Thread: CC2540, CC2564

尊敬的TI工程师:

我在应用CC2564和CC2540开发一个项目但是我现在遇到了一些问题:

首先,CC2564可以搜索到CC2540发出来的广播

之后,我执行ConnectLE这个指令可以连接CC2540的设备,但是在CC2540这端貌似没反应,不知道怎么测试确实是连接成功了

log如下:

SPP+LE>ConnectLE 0x78c5e59a996c
Connection Request successful.

SPP+LE>
etLE_Connection_Complete with size 16.
Status: 0x00.
Role: Master.
Address Type: Public.
BD_ADDR: 0x78c5e59a996c.

SPP+LE>
etGATT_Connection_Device_Connection with size 16:
Connection ID: 1.
Connection Type: LE.
Remote Device: 0x78c5e59a996c.
Connection MTU: 23.

SPP+LE>
SPP+LE>
etLE_Connection_Parameter_Update_Request with size 14.
BD_ADDR: 0x78c5e59a996c.
Minimum Interval: 100.
Maximum Interval: 1000.
Slave Latency: 0.
Supervision Timeout: 10000.

Attempting to accept connection parameter update request.
GAP_LE_Connection_Parameter_Update_Response() success.

SPP+LE>
etLE_Connection_Parameter_Updated with size 14.
Status: 0x00.
BD_ADDR: 0x78c5e59a996c.
Connection Interval: 1000.
Slave Latency: 0.
Supervision Timeout: 10000.

然后 我执行了DiscoverSPPLE 指令,搜索不到CC2540的UUID

log如下:

SPP+LE>DiscoverSPPLE 0x78c5e59a996c
GATT_Start_Service_Discovery success.

SPP+LE>
Service Discovery Operation Complete, Status 0x00.

CC2540用的代码是simpleBLEPeripheral示例工程,CC2564用的是SPPLEDemo工程

希望明白通信原理的大神能帮忙认真解答,不懂的游客请不要乱发言,影响帖子质量