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

Configue nRF52840 Dongle to receive 240Bytes notifications.

Hi,

I am using pc-ble-driver-4.1.1 to receive BLE peripheral Device 240 Bytes notifications. And I used "pc-ble-driver-4.1.1\examples\heart_rate_collector" as starting point. But "heart_rate_collector" can only receive 20Bytes notification.

How to configure "heart_rate_collector" for this purpose.

Best regards,

Parents
  • Hi,

    The heart rate collector example uses the defines GATT_MTU_SIZE_DEFAULT or BLE_GATT_ATT_MTU_DEFAULT for MTU size (depending on SoftDevice version used.) Default MTU size is 23.

    In order to use larger MTU size, use SoftDevice version higher than 3 and change the code to use a higher MTU size than the mentioned defines (up to maximum 250.) That means where the code refers to the defines, you need to use the higher desired MTU value instead.

    Regards,
    Terje

Reply
  • Hi,

    The heart rate collector example uses the defines GATT_MTU_SIZE_DEFAULT or BLE_GATT_ATT_MTU_DEFAULT for MTU size (depending on SoftDevice version used.) Default MTU size is 23.

    In order to use larger MTU size, use SoftDevice version higher than 3 and change the code to use a higher MTU size than the mentioned defines (up to maximum 250.) That means where the code refers to the defines, you need to use the higher desired MTU value instead.

    Regards,
    Terje

Children
No Data
Related