<?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>S130 potential unstability case</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8949/s130-potential-unstability-case</link><description>This code do a test triangle with 3 boards on mbed (using BLE API). I have digged in BLE_API and it looks like if instability was in S130. Have you this kind of test in internal ? 
 I want to help, do you have a code like that on pure SDK style that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Aug 2016 14:23:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8949/s130-potential-unstability-case" /><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32962?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 14:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14652adf-c00e-48d1-85d3-e20d82a33c57</guid><dc:creator>Gaucho</dc:creator><description>&lt;p&gt;@Fabien Comte I have the same error ERROR_BLEGATTS_SYS_ATTR_MISSING. Can you please help me to understand more? read here: &lt;a href="https://github.com/ARMmbed/mbed-os/issues/2446"&gt;github.com/.../2446&lt;/a&gt; or also here: &lt;a href="https://github.com/RedBearLab/nRF51822-Arduino/issues/74"&gt;github.com/.../74&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32964?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2015 10:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe9657b8-eda9-4702-b705-499590451cd5</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I rewritted my test &amp;quot;SDK style&amp;quot; and it works. But it&amp;#39;s slow...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32963?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 12:51:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c874d1cd-7746-4113-a389-cf535e580630</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Fabien,&lt;/p&gt;
&lt;p&gt;mbed is ideal for simple application and quick prototyping. I would suggest you to continue your development with our SDK.&lt;/p&gt;
&lt;p&gt;For you application, I think you can start first with the ble_app_uart example we provided in &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/"&gt;the SDK&lt;/a&gt;. The counterpart for central can be found &lt;a href="https://github.com/NordicSemiconductor/ble_app_uart_c_S120"&gt;here&lt;/a&gt;.
The central part was made for S120 but you shouldn&amp;#39;t have a big problem porting it to S130.&lt;/p&gt;
&lt;p&gt;What the example does is to forward what received on serial port to BLE via a notification.&lt;/p&gt;
&lt;p&gt;You need to add the part that the central device when receiving the notification beside forwarding it to UART, will again update its own TX characteristics and notify the new value to its central (if it&amp;#39;s a new packet). So that all 3 devices will be updated with the new value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32961?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 07:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa63040-e397-4eaa-bf81-9b6b141731d2</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;a board can notify to central until this board become central too (at the same time as its device role), then the error appears.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32960?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 07:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e13040b-9bcb-438b-a50a-dcfbabac7c9b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;13313 is for ERROR_BLEGATTS_SYS_ATTR_MISSING&lt;/p&gt;
&lt;p&gt;this is the code in mbed that call function&lt;/p&gt;
&lt;p&gt;error_t error = (error_t) sd_ble_gatts_hvx(gapConnectionHandle, &amp;amp;hvx_params);
if (error != ERROR_NONE) {
switch (error) {
case ERROR_BLE_NO_TX_BUFFERS: /*  Notifications consume application buffers. The return value can be used for resending notifications. */
case ERROR_BUSY:
returnValue = BLE_STACK_BUSY;
break;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;            case ERROR_INVALID_STATE:
                returnValue = BLE_ERROR_INVALID_STATE;
                break;
                
            case ERROR_BLEGATTS_SYS_ATTR_MISSING:
                printf(&amp;quot;%d\r\n&amp;quot;, error);
                returnValue = BLE_ERROR_INVALID_STATE;
                break;

            default :
                ASSERT_INT( ERROR_NONE,
                            sd_ble_gatts_value_set(connectionHandle, attributeHandle, &amp;amp;value),
                            BLE_ERROR_PARAM_OUT_OF_RANGE );
                break;
        }
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;does anyone have an idea how to fix error ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32958?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 07:26:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cdfc63e-2ef8-4d16-a9b4-cc26faa0f798</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;inside write function of nrf5xgattserver.cpp, call of sd_ble_gatts_hvx returns 13313 (decimal)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32957?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 07:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abdb9560-843f-4349-85f1-2654856e30c6</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;It&amp;#39;s tiny ble boards (&lt;a href="http://www.seeedstudio.com/wiki/Tiny_BLE)"&gt;www.seeedstudio.com/.../Tiny_BLE)&lt;/a&gt; connected and powered by usb on a hub.
I never lost serial connection to pc, the broken connection is radio test between boards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 potential unstability case</title><link>https://devzone.nordicsemi.com/thread/32959?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 06:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ce332e-0dd8-48b7-ae7e-f5eb46f393c5</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi Fabien, have you stacked all of the boards on top of each other? If so you need to disconnect the serial pins from the stack. ( So that they are not connected between the boards)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>