Skip to content

jimmywong2003/nrf5-packet-error-rate-measurement-on-ble-connection

Repository files navigation

BLE_Throughput_Test_with_PER

Example on BLE Throughput Test with Packet Error Rate

This demo is to show the relationship between packet error rate and throughput of BLE. It is based on two examples together.

It uses the Adafruit ILI9341 2.8 320x240 LCD to show the packet error rate.

Packet Error Rate

The packet error ratio (PER) is the number of incorrectly received data packets divided by the total number of received packets. A packet is declared incorrect if at least one bit is erroneous. In this example, it counts the difference between number of TX packets send and number of RX (CRC OK) packets to estimate the PER.

Image of PER

How to do the demo

Press the button 4 at the peripheral device to toggle on/off the throughput test with PER.

Image LCD

Requirements

  • 2 x nRF52840 DK
  • Adafruit ILI9341 2.8 320x240
  • Segger Embedded Studio
  • nRF5_SDK_v15.3.0