Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi,

I am new to the SDK2.2 and Broadcom solution on BLTE and I am doing an evaluation on it.

i intend to run speed_test from SDK2.2 by downloading to the tag3 board for a performance data rate test by using the speed_test example provided from the SDK.

i have setup an external sniffer to monitor BLTE traffic from running wireshark, so I can see what data are sent and received and from the timestamps of the capture packets, I can have idea of data rate.

However when I run SpeedTest application from Window peerapps folder,  I see nothing from the wireshark capture of any data sent nor data received from master to slave (master is Window peerapps of SpeedTest, slave is the speed_test run on the tag3 board).

Also I cannot find any document of how to use speed_test for data rate test, And from the speed_test.c comments, it said "configure client configuration descriptor to allow service to send notifications over control characteristics", but how to do it from Window peerapps SpeedTest though?  The SpeedTest applicaton has no such feature to allow me to configure client desccirptor for send notifciation and might be this is the reason why I cannot get any data packet for sent and received in whireshark.

Please advise me how to run the SpeedTest and how to configurate send notification from it, I really have no idea and no document to help me to understand how it works.

I have read thro' the source code of speed_test.c, it looked to me the configuration description changes should be from the

"master" (SpeedTest) side.

Thanks in advance for your help, our team need the data rate performance data in order to consider whether this is the solution we are looking for.

0 Likes
1 Solution

Here's what I did during an attempt to get the speed test working.


1.

Disabled all existing Bluetooth radios on my Laptop

2.

Made sure I had already installed Broadcom BTW (Bluetooth for Windows), which requires that only a BCM20702 based dongle be present during install.


3.

Plugged in an old BCM20702 based BT Dongle that used to ship with the old TAG2 boards (we removed from the kit because they were problematic, but mine seems to work ok).  Plugable and others make these and they leverage the BTW software as well.


3.

Copied /WICED-Smart-SDK/Apps/speed_test/peerapps/Windows/SpeedTest/Release/x86/SpeedTest.exe to my desktop


4.

Plugged in a TAG3 board and went into Windows device manager to make sure the FTDI USB drivers enumerated correctly (COM10 and COM11).

USB-Yes.png


5.

Opened the SDK (2.2.1) and went to the Make Target window and found speed_test-BCM920736TAG_Q32 download, double clicked it and began the process of program the TAG3 board.


Detecting device...

Device found

Downloading application...

Download complete

Application running

13:14:42 Build Finished (took 12s.452ms)



6.

Went into Windows and attempted to add the device using the Windows Bluetooth tool found on the Taskbar; unfortunately, my machine choked when trying to install the drivers.

Bluetooth-adddevice-windows.png

6a.

Wasn't sure if it's related, but recalled the issue with OTA and that prior to using the OTA functionality, one has to disable "USB selective suspend" for the Bluetooth radio installed on the PC (mine was the ones called "Generic Bluetooth Adapter").  To do so, I opened open Windows Device Manager and Under Bluetooth Radios selected the Bluetooth USB Device and display its properties.  In the Power Management tab, I turned off "Allow the computer to turn off this device to save power".  Then clicked ok and restarted my laptop.


Unplugged the eval board and dongle prior to doing so.


7.

Once rebooted, I repeated steps 4,5,6 for the most part. Reset the TAG3 board so that it would return to programming mode.

Still experiencing a driver issue which may be related incorrect PID/VID assignment.

failed.png


kwang is going to attempt to get this running on his machine to see if he runs into the same issue.

Update:

alexleung0316

kwang ran into similar issues.

We were told that failure to install Speed Test service or any other service is expected as Windows does not have drivers available for this proprietary service.  However, we were also told that it should not cause any problems with running the speed test peer app though.

I still need to walk through the process of adding the device within the speed test application and nobody is home per below:

speed-test.png

Do you see the eval board/speed test program running on the peripheral listed there in the peer app?


View solution in original post

0 Likes
6 Replies