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.

WL1273L bluetooth throughput measurements

Hello,

I'm testing a COM6L-T5 module on the AM335x EVM. I'm running some tests to figure out the performances of the bluetooth connection to a PC running Linux (Mint 13) with a USB-Bluetooth adapter (class 2 + EDR). The AM335x EVM and the PC are in line of sight (distance < 50 cm).

I run two tests:

1) Obexftp file transfer. I run the "obexftpd" server on one side and a "obexftp put" on the other side. With this test I get about 65 kbyte/s as transfer rate (both from pc to evm and evm to pc).

2) L2CAP layer speed test. I run the l2test program on both sides (one listening, the other sending) and I get about 200 kbyte/s from evm to pc and about 260 kbyte/s from pc to evm.

In your experience, are these figures reasonable? Can you suggest other tests I can run for bluetooth throughput measurement?

Thanks for your help.

Best Regards,

Piero

  • Hi Piero,

     

    Yes there will be difference between ftp throughput depending on whether you are doing on obexftpd or through l2test.

     

    Since you are sending the data directly over L2CAP, I2test will be faster. Were as when in obexftpd, on top of L2CAP you have RFCOMM and OBEX overhead. So it will be slower than l2test.

     

    You can take a sniffer(or snoop) log and check the time difference between the first PUT and last OK in the OBEX tab to get the time taken to transfer x Mb file. So now you can calculate the throughput.  

     

    Thanks and Regards,
    Sundeep.
  • Dear Sundeep,

    thanks for your reply, but this is not exactly what I would like to know.

    The key point for me is: are the figures from my test reasonable in respect to the WL1273L performances (Bluetooth 2.1 + EDR specs report 3 Mbps as maximum transfer rate)? In other words, is it performing as expected? Is it common, according to other users' experience, to get about 65 kbyte/s on obexftp file transfers? And what about the L2CAP throughput? Is 200-260 kbyte/s a typical value?

    Another remark: I've seen that a file transfer from a PC running Windows 7 (using the stock bluetooth management tools) is faster (about 200 kbyte/s) than on Linux/obexftp. I suspect that the Windows 7 bluetooth stack is different from the Bluez (Linux) stack and that the implementation of the file transfer doesn't use the obex protocol, but something else... What do you think about this point?

    Thanks for your support.

    Best Regards,

    Piero

  • Hi,
    
    
    L2CAP throughput value you are getting is very good. Obexftp throughput is less. But it depends on the Obexftp version(depends on the MAXIMUM TRANSMISSION UNIT(MTU) supported).
    Yes Windows uses its own Bluetooth stack. And if one device supports less MTU the other devices support better MTU, It will fall to the less MTU.

     

    Regards,
    Sundeep. 
  • Hello Sundeep,

    thanks for your reply, it's very important for me to know which are the expected performances, since I'm going to integrate the wl1273 into custom products and I need some sort of benchmark.

    Best Regards,

    Piero

  •  Hi Piero,

    There is no standard throughput  as such.
    As it varies from stack to stack and also depends on the test environment(on the data traffic in the place). As the 2.4G RF band is used by all the Bluetooth devices and also by WiFi.
    In a shield room you can achieve up to 130 to 150 Kbyte/s.
    Regards,
    Sundeep.