nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

nRF Connect Device Manager <-> implement SMP-Server on nRF52840 running SDK 16

Hi 

I have a board nRF52840 configured with some QSPI with filesystem configured

I would like to manage the file system from an app and I saw that - nRF Connect Device Manager, can do this but it requires an SMP server that looks like it is only implemented on Zephyr

List files, upload and download files, from the device to the smartphone

Is it possible to port or are there already implemented an SMP- server on the native code running on the nRF 52840 with SDK 16

Are there any other examples on file transfer ?

Best Regards

Tommy F Kristensen

Parents
  • Hi,

    I'm not aware of any implementation of SMP server for nRF5 SDK.

    As an alternative, you may have a look at the Object Transfer Service Server Application. You will need to implement some logic around file listing, reading and writing, but I think this approach may be simpler than porting the full SMP server implementation.

    Best regards,
    Jørgen

  • Hi Tommy,

    The image transfer demo is also a good alternative to start out with. This example uses a custom GATT service similar to Nordic UART Service, compared to OTS which sends the data over a separate L2CAP channel. L2CAP may have slightly higher throughput than GATT (which works on top of L2CAP), but the maximum throughput gain may not be worth the added complexity (see for instance GATT vs Raw LL data in table 2 in Bluetooth Low Energy data throughput).

    GATT should be well supported in both iOS and Android, for both older and newer phone models. However, note that the supported features in different phones may greatly affect the achievable throughput (support for 2Mbit PHY, increased ATT MTU size, Data Length Extension (DLE), etc), see examples in this table. We have applications available for both Android and iOS

    Best regards,
    Jørgen

  • Hi Jørgen

    Thanks for your answer, I will try to use the Image transfer demo even that it is slightly more complex. 

    It looks like it should be a good stating point to send and receive files from/to the BLE device,  

    as it includes some examples on how to transfer a files and send commands to the device.

    Functions like, ble_its_send_file(), that would automatically send the file in chunks to the Android app

    I like this example as is has code both for the nRF52840 chip and the Android.

    Is there made sample code for IOS(Iphone) ?

     Best Regards

    Tommy F Kristensen

Reply
  • Hi Jørgen

    Thanks for your answer, I will try to use the Image transfer demo even that it is slightly more complex. 

    It looks like it should be a good stating point to send and receive files from/to the BLE device,  

    as it includes some examples on how to transfer a files and send commands to the device.

    Functions like, ble_its_send_file(), that would automatically send the file in chunks to the Android app

    I like this example as is has code both for the nRF52840 chip and the Android.

    Is there made sample code for IOS(Iphone) ?

     Best Regards

    Tommy F Kristensen

Children
No Data
Related