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

NRF51822 file transfer over LE

I need to transfer few kilobytes of data from slave device over BLE when requested from master device. I tough there is no file transfer profile in LE? What are the options to transfer file over LE?

Parents
  • Hi there

    Is there any examples of option 2 what can be used as an reference?

    I am afraid I don't know about that. You can take a look at the SDK or ask Nordic support.

    And what is maximum payload data per one attribute?

    That would be 20 bytes if you use Write Command or Write Request, The max size of the characteristic is completely irrelevant. You would make it 20 bytes and then copy those 20 bytes to your own memory buffer every time you receive a packet from the peer.

    Essentially this would allow you to use a characteristic as and endpoint for a protocol, disregarding the actual characteristic value.

    Regards,

    Carles

Reply
  • Hi there

    Is there any examples of option 2 what can be used as an reference?

    I am afraid I don't know about that. You can take a look at the SDK or ask Nordic support.

    And what is maximum payload data per one attribute?

    That would be 20 bytes if you use Write Command or Write Request, The max size of the characteristic is completely irrelevant. You would make it 20 bytes and then copy those 20 bytes to your own memory buffer every time you receive a packet from the peer.

    Essentially this would allow you to use a characteristic as and endpoint for a protocol, disregarding the actual characteristic value.

    Regards,

    Carles

Children
No Data
Related