Other Parts Discussed in Thread: CC2640R2L
Hello,
I have a launchxl-CC2640R2 board with SimpleLink CC2640R2 SDK 4.40.00.10 and the project zero example.
To test the device I want to use nordic development board PCA10028 as a central device to connect to the launchxl.
I try to connect with nrf connect for desktop but it fails. (see nrf connect logs of failed connection) The error is BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED.
I also attached the logs from launchxl (ti.log).
Interestingly the PCA10028 can connect to any other device that I have.
And my Phone can also connect to Launchxl.
It is a compatibility issue between Launchxl and PCA10028.
And it seems like the launchxl does not respond to connection setup package. But I am not sure, where the package got dropped.
Unfortunately I do not have a Bluetooth sniffer at hand so the log output of both devices is the only debug information I have.
How can I get the launchxl to work with PCA10028 and where should I continue searching for the solution.
regards
Alex
#000028 [ 117.669 ] INFO: (project_zero.c:1252) Adv Set 0 Disabled
#000029 [ 117.669 ] INFO: (project_zero.c:1272) Adv Set 0 disabled after conn 0
#000030 [ 117.669 ] INFO: (project_zero.c:1081) Link establish event, status 0x00. Num Conns: 1
#000031 [ 117.669 ] INFO: (project_zero.c:1094) Connected. Peer address: FB:8F:C5:DE:85:14
#000032 [ 117.670 ] INFO: (project_zero.c:1105) Max Number of Connection reach: 1, Adv. will not be enable again
#000033 [ 118.676 ] INFO: (project_zero.c:1115) Device Disconnected!
#000034 [ 118.676 ] INFO: (project_zero.c:1116) Num Conns: 0
#000035 [ 118.677 ] INFO: (project_zero.c:1129) Restart Advertising, 1 possible connection remain
#000036 [ 118.678 ] INFO: (project_zero.c:1247) Adv Set 0 Enabled
2021-04-09T13:04:46.996Z INFO Connecting to device
2021-04-09T13:04:47.012Z DEBUG 46 -> [00 8c 01 00 6c 0a 9f 0e 6c 54 01 01 00 a0 00 50 00 14 00 01 a0 00 a0 00 00 00 f4 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:7 ack#:7 payload_length:1c data_integrity:1 header_checksum:32 err_code:0x0
2021-04-09T13:04:47.036Z DEBUG 44/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2021-04-09T13:04:47.036Z DEBUG 45/ 0 <- [01 8c 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:7 ack#:0 payload_length:6 data_integrity:1 header_checksum:cb err_code:0x0
2021-04-09T13:04:47.036Z DEBUG 47 -> [N/A] type: ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2021-04-09T13:04:47.445Z DEBUG 46/ 0 <- [02 10 00 00 00 00 6c 0a 9f 0e 6c 54 01 14 85 de c5 8f fb 02 00 a0 00 a0 00 00 00 f4 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:1d data_integrity:1 header_checksum:61 err_code:0x0
2021-04-09T13:04:47.446Z DEBUG 48 -> [N/A] type: ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
2021-04-09T13:04:47.452Z DEBUG GAP_EVT_CONNECTED time:2021-04-09T13:04:47.445Z connHandle:0 peerAddr:[address:54:6C:0E:9F:0A:6C type:public] role:central connParams:[minConnInterval:200 maxConnInterval:200 slaveLatency:0 connSupTimeout:5000] ownAddr:[address:FB:8F:C5:DE:85:14 type:randomStatic] irkMatch:false
2021-04-09T13:04:47.473Z INFO Connected to device 54:6C:0E:9F:0A:6C: interval: 200ms, timeout: 5000ms, latency: 0
2021-04-09T13:04:47.488Z DEBUG 49 -> [00 90 00 00 01 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:1 payload_length:7 data_integrity:1 header_checksum:ba err_code:0x0
2021-04-09T13:04:47.518Z DEBUG 47/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
2021-04-09T13:04:47.518Z DEBUG 48/ 0 <- [01 90 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:1 ack#:1 payload_length:6 data_integrity:1 header_checksum:c9 err_code:0x0
2021-04-09T13:04:47.518Z DEBUG 50 -> [N/A] type: ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
2021-04-09T13:04:48.444Z DEBUG 49/ 0 <- [02 11 00 00 00 3e ] type: VENDOR_SPECIFIC reliable:yes seq#:2 ack#:1 payload_length:6 data_integrity:1 header_checksum:c8 err_code:0x0
2021-04-09T13:04:48.445Z DEBUG 51 -> [N/A] type: ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
2021-04-09T13:04:48.445Z DEBUG GAP_EVT_DISCONNECTED time:2021-04-09T13:04:48.444Z connHandle:0 reason:62 reasonName:connFailedToBeEstablished
2021-04-09T13:04:48.447Z INFO Disconnected from device 54:6C:0E:9F:0A:6C, reason: BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED