<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF Connect Device Manager &amp;lt;-&amp;gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83639/nrf-connect-device-manager---implement-smp-server-on-nrf52840-running-sdk-16</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jan 2022 16:47:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83639/nrf-connect-device-manager---implement-smp-server-on-nrf52840-running-sdk-16" /><item><title>RE: nRF Connect Device Manager &lt;-&gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/thread/350506?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 16:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d106bc89-686b-4eae-b897-741173e51409</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, I&amp;#39;m not aware of any such calculations. I would recommend you to use the highest settings that you can fit with your available RAM space.&lt;/p&gt;
&lt;p&gt;According to the &lt;a href="https://github.com/NordicPlayground/Android-Image-Transfer-Demo#android-image-transfer-demo"&gt;table in the Android application repository&lt;/a&gt;, ~1200kbps should be achievable with Samsung Galaxy S8, but this would probably require 2Mbit PHY, 247 byte ATT MTU, &lt;span&gt;251 byte DLE, and appropriate connection event length depending on your connection interval.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Device Manager &lt;-&gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/thread/348775?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 15:24:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:371ca665-80dd-498a-8f68-d8222119eea0</guid><dc:creator>Tommy F Kristensen</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen&lt;/p&gt;
&lt;p&gt;Thanks for fast response, that will be great to have a reference for implementing the file transfer application on IOS.&lt;/p&gt;
&lt;p&gt;I have had success porting to my solution, but&amp;nbsp; changing the&amp;nbsp;NRF_SDH_BLE_GATT_MAX_MTU_SIZE and&amp;nbsp;NRF_SDH_BLE_GAP_DATA_LENGTH, takes up a lot of RAM for the softdevice.&lt;/p&gt;
&lt;p&gt;Are there made any experiments/calculations on what parameters that give the largest improvements compared to the RAM usage.&lt;/p&gt;
&lt;p&gt;Currently I have updated the parameters to following:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_BLE_GATT_MAX_MTU_SIZE&amp;nbsp;125&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_BLE_GATT_MAX_MTU_SIZE 112&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have seen transferrates on about&amp;nbsp; 29-59kbps on 13kb jpeg file&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Im using a Samsung S8, what can I expect ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tommy F Kristensen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Device Manager &lt;-&gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/thread/348729?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 13:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15680d61-47be-4bb6-89fa-d525eb34f006</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Tommy F Kristensen"]Is there made sample code for IOS(Iphone) ?[/quote]
&lt;p&gt;Yes, I see that it is not linked on the firmware GitHub page, but I did post a link in my previous reply: &lt;a href="https://github.com/NordicPlayground/iOS-Image-Transfer-Demo"&gt;https://github.com/NordicPlayground/iOS-Image-Transfer-Demo&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Device Manager &lt;-&gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/thread/348630?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 07:42:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56b92e1c-313e-4077-8845-ca760016d7a5</guid><dc:creator>Tommy F Kristensen</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your answer, I will try to use the Image transfer demo even that it is slightly more complex.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like it should be a good stating point to send and receive files from/to the BLE device,&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as it includes&amp;nbsp;some examples on how to transfer a files and send commands to the device.&lt;/p&gt;
&lt;p&gt;Functions like,&amp;nbsp;ble_its_send_file(), that would automatically send the file in chunks to the Android app&lt;/p&gt;
&lt;p&gt;I like this example as is has code both for the nRF52840 chip and the Android.&lt;/p&gt;
&lt;p&gt;Is there made sample code for IOS(Iphone) ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best Regards&lt;/p&gt;
&lt;p&gt;Tommy F Kristensen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Device Manager &lt;-&gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/thread/348122?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 16:48:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a20c45f-ff44-459f-8a1d-e909785eb2e6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Tommy,&lt;/p&gt;
&lt;p&gt;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&amp;nbsp;may not be worth the added complexity (see for instance GATT vs Raw LL data in table 2 in&amp;nbsp;&lt;a title="Bluetooth Low Energy data throughput" href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_data_throughput/ble_data_throughput.html?cp=4_7_4_0_16"&gt;Bluetooth Low Energy data throughput&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;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 &lt;a href="https://github.com/NordicPlayground/Android-Image-Transfer-Demo#android-image-transfer-demo"&gt;this table&lt;/a&gt;. We have applications available for both &lt;a href="https://github.com/NordicPlayground/Android-Image-Transfer-Demo"&gt;Android&lt;/a&gt; and &lt;a href="https://github.com/NordicPlayground/iOS-Image-Transfer-Demo"&gt;iOS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Device Manager &lt;-&gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/thread/347909?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 07:14:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7d203f5-6897-44bb-81c8-b03f043c9546</guid><dc:creator>Tommy F Kristensen</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your answer&lt;/p&gt;
&lt;p&gt;I have been looking into&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo"&gt;https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo&lt;/a&gt;, I think this also uses the object transfer but are using the 2Mbit transfer if possible.&lt;/p&gt;
&lt;p&gt;Is is a durable example to start on for file transfer(will it work on both Android and IOS , new and old mobiles ?)&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Tommy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Device Manager &lt;-&gt; implement SMP-Server on nRF52840 running SDK 16</title><link>https://devzone.nordicsemi.com/thread/347771?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 13:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cfee4e5-dfda-47f7-99fc-26b615af0d73</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not aware of any implementation of SMP server for nRF5 SDK.&lt;/p&gt;
&lt;p&gt;As an alternative, you may have a look at the&amp;nbsp;&lt;a title="Experimental: Object Transfer Service Server Application" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_ots.html?cp=8_5_1_4_2_2_31"&gt;Object Transfer Service Server Application&lt;/a&gt;. 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.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>