<?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>requestAttMtu gets NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43904/requestattmtu-gets-nrf_error_invalid_param</link><description>I am working on a linux vm 16.04 and playing with the pc-ble-drive-js library. I recently got the board up and running and started looking at the heart_rate_collector example to get my bearings. I already have a solution with our device written in python</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Feb 2019 15:20:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43904/requestattmtu-gets-nrf_error_invalid_param" /><item><title>RE: requestAttMtu gets NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/thread/172343?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 15:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d33148a-6f28-42b0-abb2-97acbf1842a3</guid><dc:creator>dwBreezi</dc:creator><description>&lt;p&gt;Hmm that seems a little odd to me.&amp;nbsp; Is there another way to make the exchange besides changing the default&amp;nbsp;client_rx_mtu in the adapter the mtu size I want?&amp;nbsp; If not that seemed to do the trick just seems like an odd constraint.&amp;nbsp; Thanks for the info though as I was able to get a lower mtu size since I was trying to mimic and iphone app and they use 185 by default.&lt;/p&gt;
&lt;p&gt;Regardless of my confusion thanks for the answer Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: requestAttMtu gets NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/thread/172313?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 13:43:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a2fdcf-bc08-4646-96b5-68635654e380</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Then that could be the problem.&amp;nbsp;One of the requirements is that the supplied mtu value&amp;nbsp;must be equal to Server RX MTU size given in sd_ble_gatts_exchange_mtu_reply if an ATT_MTU exchange has already been performed in the other direction. You will get a&amp;nbsp;NRF_ERROR_INVALID_PARAM if that is not the case (See SoftDevice API documentation for &lt;a href="https://www.nordicsemi.com/DocLib/Content/SoftDevice_API_Doc/S132/v6-1-0/group_ble_gattc_functions#ga269894b0415de8c4ae76343b74f6e655"&gt;sd_ble_gattc_exchange_mtu_request()&lt;/a&gt;&amp;nbsp;for details).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: requestAttMtu gets NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/thread/172171?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 16:20:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d98191b0-723e-4647-aa79-8be68fe9e3e9</guid><dc:creator>dwBreezi</dc:creator><description>&lt;p&gt;Thanks for taking a look Einar.&amp;nbsp; I passed in 222 as my mtu size I am requesting.&amp;nbsp; It is under the current mtu of 247 negotiated and I wanted to use a unique one for testing purposes.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: requestAttMtu gets NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/thread/172170?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 16:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:467239a2-d208-4bed-b080-8a42b38c7ab1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The NRF_ERROR_INVALID_PARAM&amp;nbsp; error comes from &lt;a href="https://www.nordicsemi.com/DocLib/Content/SoftDevice_API_Doc/S132/v6-1-0/group_ble_gattc_functions#ga269894b0415de8c4ae76343b74f6e655"&gt;sd_ble_gattc_exchange_mtu_request()&lt;/a&gt;, and is typically because you have supplied an&amp;nbsp;invalid MTU size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>