<?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>nRF52840 doesn&amp;#39;t jump into write event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42911/nrf52840-doesn-t-jump-into-write-event</link><description>Hi,guys 
 I got a problem. I tried to create a service to control led over BLE, when i finished, it can advertise, everything was ok. But when i tried to write 0x01 to control led, nothing happend, then i debugged and i found it doesn&amp;#39;t jump into the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Jan 2019 14:28:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42911/nrf52840-doesn-t-jump-into-write-event" /><item><title>RE: nRF52840 doesn't jump into write event</title><link>https://devzone.nordicsemi.com/thread/168282?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 14:28:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:311d1eb2-0849-4941-a5c4-ba944306c04c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Did you get any logging information when debugging? Do you know where in the code your example is hanging? Are you testing the example by connecting your smartphone to the device via nRF Connect for Mobile?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 doesn't jump into write event</title><link>https://devzone.nordicsemi.com/thread/167877?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 11:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ee719ee-e7e7-4345-bc04-1f7df81b89b4</guid><dc:creator>Big_John</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6177.h.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/init.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/char.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;I followed the &amp;quot;ble_app_blinky&amp;quot; example to create a project, I debugged the example, it worked well and jumped into write event . But when i debugged my own project, the breakpoint i set on the line of&amp;nbsp; &amp;quot;on_write&amp;quot;function was invalid. I already set the optimization level 0. I really don&amp;#39;t know why, I also met this kind of situation when create some projects, maybe i missed something. All the code of service.c file and .h file are pasted. Hoping you can give me some information. Thank you.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 doesn't jump into write event</title><link>https://devzone.nordicsemi.com/thread/167690?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 14:58:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c2dd292-9548-4d61-ab36-eff19f3759dd</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you already taken a look at the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-0-0/ble_sdk_app_blinky"&gt;ble_app_blinky&lt;/a&gt;&amp;nbsp;ble_peripheral application? I would compare your code to the blinky code to see if you are doing the same. It could be a good idea to test the blinky code too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>