<?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: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39496/nrf-connect-failed-to-call-gattsexchangemtureply-nrf_error_invalid_param</link><description>Hi Nordic, 
 I&amp;#39;m trying to use a nrf52832 dev kit (v1.1.1) with NRF Connect (v2.5.0 on mac) to communicate to my device (NRF52832). My device has implemented MTU exchange using SDK 15.1.0. However, upon connection, NRF Connect throws an error related</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2019 14:50:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39496/nrf-connect-failed-to-call-gattsexchangemtureply-nrf_error_invalid_param" /><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/177105?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 14:50:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b13d7686-23d8-463f-9f6c-86507bee9bd4</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like one of my colleague are handling your case :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/176957?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 11:14:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63bacc06-dc07-4073-ad39-c15ed317605c</guid><dc:creator>Shrinidhi Bhat</dc:creator><description>&lt;p&gt;Hello. I have created a new case ID 225579 regarding a similar problem.&lt;/p&gt;
&lt;p&gt;Can any Nordic developer help me out here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/167073?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 12:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54de0a77-c538-4ced-bbac-2bb01d6d8db3</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for reporting this, this have been reported to the nRF connect developers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/166324?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 16:02:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:950d66f7-0626-433e-b835-09e494ebff41</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;This works OK with PCA10031 BUT not with any of the 82540 devices ie PCA10059 or 82540 DK, I repeat THIS IS A BUG!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/166303?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 15:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e91add87-0c85-4d57-b972-db4d26ae6072</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;The point is NOT that the MTU should be increased BUT that the negotiation should work correctly,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/166300?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 15:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a5f923-2860-4509-a7f7-92b3413b5001</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;Shurely this is a BUG and should be fixed, my device will try to use an MTU up to 500 bytes, but the NRF connect should negotiate downwards to 247 bytes, it does NOT do so correctly and fail with the above message, I have some devices that will stick to 23 bytes and they work OK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/166001?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 13:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffc0a929-5f06-4846-a20c-d401dd5875d5</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Unfortunately, we won&amp;#39;t be able to add this in the near future. This has been added to our list and will be added sometimes later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/164955?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 14:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da1e298f-27b3-40d4-a643-24e535ef4e7d</guid><dc:creator>nikiizvorski</dc:creator><description>&lt;p&gt;We are making some tests at our office and we need it for that. Is it possible for you to make it a variable? Otherwise different devices have different MTU capabilities right. Can we have it In the next update? Much appreciated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/164911?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 12:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:910d0789-8a5f-4db4-a754-aeb421384a01</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you give me more details on why it is important for you guys that the MTU size are increased?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/164333?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 15:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0bc1a91-3889-4b06-999b-257db88c79a3</guid><dc:creator>nikiizvorski</dc:creator><description>&lt;p&gt;Hey guys we have the same issue, can we require a fix for this? on the next update please. Its very important to us we have a lot of chips that we are using and testing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/164322?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 15:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f9381e-fbcd-4753-a99d-17f0750553b8</guid><dc:creator>nikiizvorski</dc:creator><description>&lt;p&gt;Hey guys we have the same issue, can we require a fix for this? on the next update please. Its very important to us we have a lot of chips that we are using and testing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/153851?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 13:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ddf2fa0-e447-444e-a595-5a21ccac048b</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I talked to one of my colleague and it seems that nRF Connect for Desktop only support MTU size up to 247, which is why you see the error when going above.&amp;nbsp;Theoretically we could have support bigger MTU size, but chose to limit it to reduce buffer sizes in the connectivity firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/153693?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 19:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46bbf6ff-cafe-4482-a767-8cde92022a57</guid><dc:creator>paul</dc:creator><description>&lt;p&gt;Yes, same&amp;nbsp;error message occurs on Windows.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve experimented a bit and found that setting&amp;nbsp;NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 248 in the NRF52&amp;nbsp;with&amp;nbsp;which NRF Connect is connecting (basically, my device under test) triggers the issue. Setting it to 247 seems to make the issue go away. Value in&amp;nbsp;NRF_SDH_BLE_GAP_DATA_LENGTH seems to have no effect.&lt;/p&gt;
&lt;p&gt;Is this a bug in NRF connect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/153611?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 10:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39f1f9fe-1a2d-4397-a2dc-eeccfab84a6e</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tested with nRF Connect on PC? Do you see the same issue there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect: failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)</title><link>https://devzone.nordicsemi.com/thread/153237?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 12:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2f50d4a-1f2a-4aef-8937-1399436fb05b</guid><dc:creator>jean-marc</dc:creator><description>&lt;p&gt;I do have the same problem, setup the server and try to connect with a peripheral.&lt;/p&gt;
&lt;p&gt;Jean-Marc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>