<?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>Connection mode and custom service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8574/connection-mode-and-custom-service</link><description>Hi,
I want to make a connectable bluettoth transmission. I need 1 service with 3 characteristics, but for now I only want to see my service in app. It is possible to do it without events? Now i send advertising and i can connect to my device.I use for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Aug 2015 09:36:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8574/connection-mode-and-custom-service" /><item><title>RE: Connection mode and custom service</title><link>https://devzone.nordicsemi.com/thread/31356?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2015 09:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f5f02a1-3b05-43df-ab18-b8f7486eb313</guid><dc:creator>Maciej357</dc:creator><description>&lt;p&gt;Ok thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection mode and custom service</title><link>https://devzone.nordicsemi.com/thread/31355?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2015 21:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e247fb-953a-4b85-96f2-54cac26c38cb</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Strange, maybe I did some other modifications that resolved the issue. I will look into it on Monday.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection mode and custom service</title><link>https://devzone.nordicsemi.com/thread/31354?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2015 15:18:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db095e29-445f-4fbe-91f5-aa2b189cf0dc</guid><dc:creator>Maciej357</dc:creator><description>&lt;p&gt;I changed it.No effect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection mode and custom service</title><link>https://devzone.nordicsemi.com/thread/31353?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2015 14:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a2668b2-3502-4b9b-8fac-f8a04fede7f9</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It seems you have commented out &lt;code&gt;#define BLE_STACK_EVT_MSG_BUF_SIZE (sizeof(ble_evt_t) + (GATT_MTU_SIZE_DEFAULT))&lt;/code&gt; in ble_stack_handler_types.h and put in &lt;code&gt;#define BLE_STACK_EVT_MSG_BUF_SIZE 1&lt;/code&gt; in softdevice_handler.h&lt;/p&gt;
&lt;p&gt;Try to change it back.&lt;/p&gt;
&lt;p&gt;Edit 10.08.2015: Your memory settings were incorrect, but I don&amp;#39;t think that causes the issue. Anyways, the ROM size should be 0x28000 not 0x29000. The RAM size should be 0x6000, not 0x8000.&lt;/p&gt;
&lt;p&gt;You need to add&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in ble_stack_init() and add an empty ble_evt_dispatch()&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void ble_evt_dispatch(ble_evt_t * p_ble_evt){}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or else intern_softdevice_events_execute() will not behave correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection mode and custom service</title><link>https://devzone.nordicsemi.com/thread/31352?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 10:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12a5fbd1-fb7d-45e1-ba30-ebd444dd45bd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Should work. Difficult to say what is happening though. Could you test on Master Control Panel for PC? Or maybe sniff the connection with nRF Sniffer to see what is happening? Or, would it be possible to update your question with your complete project together with SoftDevice version and SDK version? If it is private you can also make case in your MyPage and upload it there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>