Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2540 MiniDK HostTestApp USB Dongle cannot discovery other devices while in the Central profile role using BTool

$
0
0

I have an iPhone 4S, iPhone 5, late 2012 iMac, and HTC One X (all Bluetooth 4.0 devices) each set into discoverable mode (they can see each other just fine). However, when I use the GAP_DeviceDiscoveryRequest command on BTool, no devices are ever found. I am using the USB Dongle that came with the CC2540 Mini Development Kit which has the HostTestApp loaded on it. It doesn't matter if I use active or passive scanning, nothing ever shows up.

What do I need to do to actually see one of these devices? Maybe even pair with one of them... I appreciate any and all help I can get with this. Thanks!

Here are the commands I am using:

[1] : <Tx> - 02:05:32.575

-Type : 0x01 (Command)

-Opcode : 0xFE00 (GAP_DeviceInit)

-Data Length : 0x26 (38) byte(s)

ProfileRole : 0x08 (Central)

MaxScanRsps : 0x05 (5)

IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

SignCounter : 0x00000001 (1)

Dump(Tx):

01 00 FE 26 08 05 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 01 00 00 00

------------------------------------------------------------------------------------------------------------------------

[2] : <Rx> - 02:05:32.585

-Type : 0x04 (Event)

-EventCode : 0xFF (HCI_LE_ExtEvent)

-Data Length : 0x06 (6) bytes(s)

Event : 0x067F (GAP_HCI_ExtentionCommandStatus)

Status : 0x00 (Success)

OpCode : 0xFE00 (GAP_DeviceInit)

DataLength : 0x00 (0)

Dump(Rx):

04 FF 06 7F 06 00 00 FE 00

------------------------------------------------------------------------------------------------------------------------

[3] : <Rx> - 02:05:32.595

-Type : 0x04 (Event)

-EventCode : 0xFF (HCI_LE_ExtEvent)

-Data Length : 0x2C (44) bytes(s)

Event : 0x0600 (GAP_DeviceInitDone)

Status : 0x00 (Success)

DevAddr : 78:C5:E5:70:80:C0

DataPktLen : 0x001B (27)

NumDataPkts : 0x04 (4)

IRK : 1E:28:15:CA:05:0C:00:00:D0:C0:F9:5C:D3:C1:E9:9C

CSRK : 5A:D8:D1:39:A9:9F:B2:BD:77:B7:CB:E7:1C:D6:65:89

Dump(Rx):

04 FF 2C 00 06 00 C0 80 70 E5 C5 78 1B 00 04 1E

28 15 CA 05 0C 00 00 D0 C0 F9 5C D3 C1 E9 9C 5A

D8 D1 39 A9 9F B2 BD 77 B7 CB E7 1C D6 65 89

------------------------------------------------------------------------------------------------------------------------

[4] : <Tx> - 02:05:43.845

-Type : 0x01 (Command)

-Opcode : 0xFE04 (GAP_DeviceDiscoveryRequest)

-Data Length : 0x03 (3) byte(s)

Mode : 0x03 (All)

ActiveScan : 0x01 (Enable)

WhiteList : 0x00 (Disable)

Dump(Tx):

01 04 FE 03 03 01 00

------------------------------------------------------------------------------------------------------------------------

[5] : <Rx> - 02:05:43.865

-Type : 0x04 (Event)

-EventCode : 0xFF (HCI_LE_ExtEvent)

-Data Length : 0x06 (6) bytes(s)

Event : 0x067F (GAP_HCI_ExtentionCommandStatus)

Status : 0x00 (Success)

OpCode : 0xFE04 (GAP_DeviceDiscoveryRequest)

DataLength : 0x00 (0)

Dump(Rx):

04 FF 06 7F 06 00 04 FE 00

------------------------------------------------------------------------------------------------------------------------

[6] : <Rx> - 02:05:54.145

-Type : 0x04 (Event)

-EventCode : 0xFF (HCI_LE_ExtEvent)

-Data Length : 0x04 (4) bytes(s)

Event : 0x0601 (GAP_DeviceDiscoveryDone)

Status : 0x00 (Success)

NumDevs : 0x00 (0)

Dump(Rx):

04 FF 04 01 06 00 00

------------------------------------------------------------------------------------------------------------------------


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>