<?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>BLE OTS object transfer service throughput</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72240/ble-ots-object-transfer-service-throughput</link><description>hello 
 I&amp;#39;m currently developing a system that requires a nrf5280 to transfer data to an android phone through ble. 
 I&amp;#39;ve based my application on the Object transfer service example in NRF5 sdk ,which is working well when transfering 912 bytes every</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Mar 2021 00:33:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72240/ble-ots-object-transfer-service-throughput" /><item><title>RE: BLE OTS object transfer service throughput</title><link>https://devzone.nordicsemi.com/thread/302270?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 00:33:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:205da5b8-3e19-45a2-aa1f-e349f44068a2</guid><dc:creator>Lucas12345</dc:creator><description>&lt;p&gt;hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;no I sadly couldn&amp;#39;t find one so I had to make an andoid application in andoid studio.&lt;/p&gt;
&lt;p&gt;To read from a perpheral nrf device running OTS you need to connect to GATT then setup an l2cap channel using&lt;/p&gt;
&lt;pre class="api-signature no-pretty-print" dir="ltr"&gt;BluetoothSocket.createL2capChannel (int psm) with a psm of 25&lt;br /&gt;&lt;br /&gt;then send an OP code to the devices OACP characteristic using indication to request data to be sent over l2cap.&lt;br /&gt;finally read from the l2cap channel and repeat.&lt;br /&gt;&lt;br /&gt;one issue with this is that BluetoothSocket.createL2capChannel (int psm) is only available in android 10 or newer.&lt;br /&gt;&lt;br /&gt;that&amp;#39;s why ive switched to something based on nordic uart service instead.&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre class="api-signature no-pretty-print" dir="ltr"&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTS object transfer service throughput</title><link>https://devzone.nordicsemi.com/thread/302061?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 08:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:596c50ea-c37d-4bd6-958c-c29af487d25e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_ots.html"&gt;Experimental: Object Transfer Service Server Application&lt;/a&gt;&lt;span&gt;. and&amp;nbsp;&lt;a title="Experimental: Object Transfer Service client Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_ots_c.html?cp=7_1_4_2_0_10"&gt;Experimental: Object Transfer Service client Example&lt;/a&gt;, but they cannot support nRF Toolbox. Also, see my colleague&amp;#39;s explanation in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/62587/bluetooth-discovery-problem-with-ots-example/255407#255407"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I could report your request to the internal, but no promise. Thanks for the suggestion.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTS object transfer service throughput</title><link>https://devzone.nordicsemi.com/thread/302015?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 19:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcebd99e-f976-43b6-a733-c687d02f2b58</guid><dc:creator>goldwake</dc:creator><description>&lt;p&gt;Did you manage to find an OTS example on android? I would love to quickly experiment with this before delving into writing code. &lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;, it would be great if there was an OTS application in NRF toolbox. Do you know if there are any plans for one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTS object transfer service throughput</title><link>https://devzone.nordicsemi.com/thread/298891?ContentTypeID=1</link><pubDate>Wed, 10 Mar 2021 07:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12e4f19e-a892-4d14-9f98-402bfea1b4d5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Glad to know you find the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTS object transfer service throughput</title><link>https://devzone.nordicsemi.com/thread/298791?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 15:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cece8cb9-4de2-4a39-bc0f-19c71e3923c5</guid><dc:creator>Lucas12345</dc:creator><description>&lt;p&gt;Hi thanks for your help. I&amp;#39;ve tried adjusting those parameters and initially it didn&amp;#39;t work but then I tried disabling nrf log and it worked haha. Turns out excessive logging can cause problems.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTS object transfer service throughput</title><link>https://devzone.nordicsemi.com/thread/297545?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 14:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f86ca73-9296-4625-b654-b3600bf233e0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can enable 2M PHY, and also&amp;nbsp;increase&amp;nbsp;MTU and the maximum packet length&amp;nbsp;(both&amp;nbsp;&lt;/span&gt;&lt;span&gt;NRF_SDH_BLE_GAP_DATA_LENGTH&amp;nbsp;&lt;/span&gt;&lt;span&gt;and NRF_SDH_BLE_GATT_MAX_MTU_SIZE&lt;/span&gt;&lt;span&gt;) - in combination with the shortest connection interval, you should get a throughput close to the phone&amp;#39;s limit. You can refer to this&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_att_mtu.html"&gt;ATT_MTU Throughput Example&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>