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

"Length of data to send exceeds MTU" message on nrfConnect

When I do a DFU on my device (nrf52832 with Zephyr) using nrfConnect, the update is successful, but I get a message in the log stating "Length of data to send exceeds MTU".

I tried Googling about this but found nothing.  Is this something I should be concerned about for production?

Parents
  • Can you upload the log file so I can see what message the device is trying to send? That would help us get a better idea of what exactly is causing it.

    Best regards,

    Simon

  • Please see below. Thanks.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------

    File Name: app_update.bin
    Size: Zero KB
    Firmware Upgrade Started.
    State changed from none to validate
    Central Manager  ready
    Connecting...
    Peripheral connected
    Discovering services...
    Services discovered: 8D53DC1D-1DB7-4CD3-868B-8A527460AA84
    Discovering characteristics...
    Characteristics discovered: DA2E7828-FBCE-4E01-AE9E-261174997C48
    Enabling notifications...
    Notifications enabled
    Device ready
    State changed from validate to upload
    Length of data to send exceeds MTU
    Scanner Off.
    State changed from upload to test
    State changed from test to reset
    Peripheral disconnected
    [Callback] centralManager(central, didDisconnectPeripheral: peripheral, error: The connection has timed out unexpectedly.)
    Disconnected.
    State changed from reset to confirm
    Connecting...
    Peripheral connected
    Discovering services...
    Services discovered: 8D53DC1D-1DB7-4CD3-868B-8A527460AA84
    Discovering characteristics...
    Characteristics discovered: DA2E7828-FBCE-4E01-AE9E-261174997C48
    Enabling notifications...
    Notifications enabled
    Device ready
    State changed from confirm to success
    Success!

Reply
  • Please see below. Thanks.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------

    File Name: app_update.bin
    Size: Zero KB
    Firmware Upgrade Started.
    State changed from none to validate
    Central Manager  ready
    Connecting...
    Peripheral connected
    Discovering services...
    Services discovered: 8D53DC1D-1DB7-4CD3-868B-8A527460AA84
    Discovering characteristics...
    Characteristics discovered: DA2E7828-FBCE-4E01-AE9E-261174997C48
    Enabling notifications...
    Notifications enabled
    Device ready
    State changed from validate to upload
    Length of data to send exceeds MTU
    Scanner Off.
    State changed from upload to test
    State changed from test to reset
    Peripheral disconnected
    [Callback] centralManager(central, didDisconnectPeripheral: peripheral, error: The connection has timed out unexpectedly.)
    Disconnected.
    State changed from reset to confirm
    Connecting...
    Peripheral connected
    Discovering services...
    Services discovered: 8D53DC1D-1DB7-4CD3-868B-8A527460AA84
    Discovering characteristics...
    Characteristics discovered: DA2E7828-FBCE-4E01-AE9E-261174997C48
    Enabling notifications...
    Notifications enabled
    Device ready
    State changed from confirm to success
    Success!

Children
No Data
Related