This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF51822 example with datarate > 30 kbps

Hi all,

I am using an nRF51822 Development Kit and I would like to create a simple test code that allows me to send data (no matter what kind of data, also a sequence of numbers from 0 to n is an option) from my development board to the dongle with a data-rate > 30 kbps.

Someone knows how I can quickly modify one of the example codes (eg. the Heart rate monitor demo) in order to achieve this?

I know that there is another similar thread (devzone.nordicsemi.com/.../dealing-large-data-packet-s-through-ble) but I am quite new on this technology and that thread is not enough clear to me. Trying to reproducing what is explained in that thread I am achieving only 2,6 kbps, that correspond to 1 packet of 20 bytes every 7.5 ms. I would like to be able to send up to 6 packets of 20 bytes every 7.5 ms.

Thanks,

Parents
  • The dongle is unfortunately not capable of receiving more than 1 packet per interval, and the throughput will hence be limited. As you can see in this question, both the Central and the Peripheral needs to be able to do multiple packets per interval to actually get high throughput.

    To evaluate throughput you should therefore make sure to use the device that you will actually use in your end-product solution.

    An earlier version of the Master Emulator firmware could however do up to 3-4 packets per interval, so if you'd just like this for testing you can consider trying to install version 3.4.0 of the Master Control Panel and use that one combined with 0.8.0 of the Master Emulator firmware. You can download a previous version by clicking the version number on the download page.

    Edit: Be aware that 0.8.0 will only work with first revision chips (i.e. CA/C0), and if you don't have an old dongle, you will not be able to work around this in that way.

  • Yes, most Android phones should be capable of doing more than 1 packet per interval, but this may vary slightly from device to device.

Reply Children
No Data
Related