<?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>nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38635/nrf52-ble-peripheral-example---ble_app_blinky-not-showing-led-button-service</link><description>Hi I have run a few peripheral examples ok and now move to evaluation of ble_peripheral also. 
 I&amp;#39;m using this version of the SDK.... 
 
 
 If I program the softdevice and then the application hex file into board using the files shown below the led 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Aug 2019 09:48:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38635/nrf52-ble-peripheral-example---ble_app_blinky-not-showing-led-button-service" /><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/205513?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 09:48:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0923c3ef-eff6-44a1-b37d-d8b60e0d0ad1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;There isn&amp;#39;t that much to it, other than be a bit careful about the interrupt priorities you run your events at.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If your events run at priority 6 or 7 there isn&amp;#39;t much to think about. Critical SoftDevice interrupts and event forwarding to the application will have priority, and will not be impacted.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If your events run a priority 2 or 3 you have to be a bit more careful, as you will supersede events coming from the SoftDevice, and you will not be able to call SoftDevice functions from your application event directly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The remaining interrupt priorities (0, 1, 4 and 5) are unavailable when using a SoftDevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/205377?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 15:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cead1b75-2569-4898-97fb-4562679050c9</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I started to look for some tutorials on integrating application events/processing into the BLE framework but do you have any recommendations on this. I found something using a scheduler for example.&lt;/p&gt;
&lt;p&gt;BR Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/205164?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 05:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edfac301-0672-42b4-a255-b65f656af05d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;This looks good to me. For clarity I would insert the compound_char_handles field in ble_lbs_s struct after the button_char_handles field, and before the event handler, but this has no practical impact on the code (it&amp;#39;s just to bundle the char handles together).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Secondly you can also consider renaming the characteristic to something more relevant to the data that you want to send.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The UUID definition looks fine, the main point is to pick a unique 16-bit number for all the new characteristics.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/205127?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 16:52:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24935456-3186-4b43-bd20-0318cac100a8</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I added each code and modified the structure ble_lbs_s.to include float or compound char handles but to start I made a mistake for the type (not using ble_gatts_char_handles) and the compiler gave a warning about an incompatible pointer. Then I compiled with empty callbacks for now. I ran this under debug and also the android end. I just wanted to see if the new UUID was being read ok which appears affirmative and the App runs as expected thereafter. I did not use a unique UUID rather for this test I appended as shown below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;struct ble_lbs_s&lt;br /&gt;{&lt;br /&gt; uint16_t service_handle; /**&amp;lt; Handle of LED Button Service (as provided by the BLE stack). */&lt;br /&gt; ble_gatts_char_handles_t led_char_handles; /**&amp;lt; Handles related to the LED Characteristic. */&lt;br /&gt; ble_gatts_char_handles_t button_char_handles; /**&amp;lt; Handles related to the Button Characteristic. */&lt;br /&gt; uint8_t uuid_type; /**&amp;lt; UUID type for the LED Button Service. */&lt;br /&gt; ble_lbs_led_write_handler_t led_write_handler; /**&amp;lt; Event handler to be called when the LED Characteristic is written. */&lt;br /&gt; &lt;em&gt;&lt;strong&gt;ble_gatts_char_handles_t compound_char_handles;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;};&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So the modified characteristic seems ok so far so next I&amp;#39;ll make some event handling for the data etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks again but I would be pleased for you to comment.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR Martin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define LBS_UUID_BASE {0x23, 0xD1, 0xBC, 0xEA, 0x5F, 0x78, 0x23, 0x15, \&lt;br /&gt; 0xDE, 0xEF, 0x12, 0x12, 0x00, 0x00, 0x00, 0x00}&lt;br /&gt;#define LBS_UUID_SERVICE 0x1523&lt;br /&gt;#define LBS_UUID_BUTTON_CHAR 0x1524&lt;br /&gt;#define LBS_UUID_LED_CHAR 0x1525&lt;br /&gt;&lt;strong&gt;&lt;em&gt;#define COMPOUND_CHAR_UUID 0x1526&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/205045?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 13:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b668f332-3876-401a-bc65-a44ba7adccea</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;Sound good, just let me know if you have more questions &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/204949?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 08:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e57dd0e8-04e1-451c-a56b-2842f41a4471</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Thanks a lot&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn I have added this to my short term list. I&amp;#39;ll feedback how I get on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR Martin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/204927?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 07:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:697991ba-019f-4084-be41-6d98740668c8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;If you take a look at the ble_lbs_init(..) function in ble_lbs.c you can see how the characteristics are set up. As long as you change the UUID to something different you can change the service and characteristic configuration any way you like, and change the size of the services.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an example, to add a new characteristic that supports float just add the following lines of code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// Add float characteristic.
memset(&amp;amp;add_char_params, 0, sizeof(add_char_params));
add_char_params.uuid              = ADD_UNIQUE_16BIT_UUID_HERE;
add_char_params.uuid_type         = p_lbs-&amp;gt;uuid_type;
add_char_params.init_len          = sizeof(float);
add_char_params.max_len           = sizeof(float);
// Read and Notify is typically set when the data flow is from the server (nrf52) to the client (phone)
add_char_params.char_props.read   = 1;
add_char_params.char_props.notify = 1; 

add_char_params.read_access       = SEC_OPEN;
add_char_params.cccd_write_access = SEC_OPEN;

// You need to extend the p_lbs service type to include char handles for your new characteristic
err_code = characteristic_add(p_lbs-&amp;gt;service_handle,
                              &amp;amp;add_char_params,
                              &amp;amp;p_lbs-&amp;gt;float_char_handles);
if (err_code != NRF_SUCCESS)
{
    return err_code;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you have a lot of smaller values you want to send together it makes sense to define them as a struct, and set up your characteristic to send the entire struct in one go. Then you can more effectively send a lot of smaller values at once:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;typedef struct
{
    int int_var;
    float a_float;
    bool and_a_bool;
}compound_type_t;

// Add compound characteristic.
memset(&amp;amp;add_char_params, 0, sizeof(add_char_params));
add_char_params.uuid              = COMPOUND_CHAR_UUID;
add_char_params.uuid_type         = p_lbs-&amp;gt;uuid_type;
add_char_params.init_len          = sizeof(compound_type_t);
add_char_params.max_len           = sizeof(compound_type_t);
add_char_params.char_props.read   = 1;
add_char_params.char_props.notify = 1;

add_char_params.read_access       = SEC_OPEN;
add_char_params.cccd_write_access = SEC_OPEN;

err_code = characteristic_add(p_lbs-&amp;gt;service_handle,
                              &amp;amp;add_char_params,
                              &amp;amp;p_lbs-&amp;gt;compound_char_handles);
if (err_code != NRF_SUCCESS)
{
    return err_code;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After you change this on the peripheral side you also have to change your app code to read/write the characteristics properly. In Java this is a bit fiddly as you have to convert byte buffers to float/int/bool etc, but nothing a google search won&amp;#39;t tell you how to do ;)&lt;/p&gt;
&lt;p&gt;To generate your own unique 128-bit base UUID you can use this site:&lt;br /&gt;&lt;a href="https://www.uuidgenerator.net/"&gt;https://www.uuidgenerator.net/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just remember to pick a version 4 UUID (random), not version 1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/204724?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 11:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20747ad8-411d-4a99-a5bd-6f569732094b</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi Again&lt;/p&gt;
&lt;p&gt;I now have a real requirement to build a demo app which uses the nRF52 kit. So I have revisited this Blinky example again and have been able to build in additional funcionality like handling more buttons and leds. In fact this modified Blinky already does &amp;gt;60% of what I expect to need for&amp;nbsp;the demo. However, this is ok for boolean types but I need to add some more variables (say 6) like integer and possibly float. These would typically just need to be sent from the embedded end.&lt;/p&gt;
&lt;p&gt;I was contemplating adding more functionalty to accomplish this but would like to know your recommendations. For example is it easy to add this to the Blinky example or should I be looking at another example. Of course I have a &amp;quot;Thingy&amp;quot; (nice job) but that is doing a lot and it could me quite sometime to figure out how to extract what I need. So I am trying to&amp;nbsp;work with efficiency in mind and coming from the fact&amp;nbsp;I am not a regular user of the underlying BLE software just now.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/152340?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2018 11:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5c7b5fa-2f55-4bc2-b340-71974aed6c78</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;That&amp;#39;s an interesting find!&lt;/p&gt;
&lt;p&gt;I double checked&amp;nbsp;it myself and see the same issue here. For some reason I only ever click it, and I guess the same goes for the developer ;)&lt;/p&gt;
&lt;p&gt;I reported it to the apps guys, and they opened an issue on the github:&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Blinky/issues/13"&gt;https://github.com/NordicSemiconductor/Android-nRF-Blinky/issues/13&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Knowing their turnaround time we should have a fix out pretty soon &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/152205?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 12:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d65308a-f417-4be4-9fb9-b2f9941b80e1</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;Hi &lt;/span&gt;&lt;span style="background-color:transparent;color:#11171a;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;I think this has helped uncover the issue. What I notice is if I put my finger on the LED slider control and move from left to right or right to left, I don&amp;#39;t see the LED status change. If I tap the slider at either end I see the LED toggle ON/OFF ok ;-)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;You can see these two types of behaviour in the log below. Firstly I tap the slider and you see LED OFF response and then I tap the other end of the slider and the response is LED ON. After that I slide my finger across the slider and then the status does not change, only the ViewPosttime pointer 0 or 1 message is shown.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;It&amp;#39;s quite a small slider on my phone and of course it gives the impression that toggle LED ON/OFFcommand is handled through ok through visual feedback on the slider object.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;D/BlinkyManager: Turning LED OFF...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Writing characteristic 00001525-1212-efde-1523-785feabcd123 (WRITE REQUEST)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gatt.writeCharacteristic(00001525-1212-efde-1523-785feabcd123)&lt;br /&gt;D/BlinkyManager: Data written to 00001525-1212-efde-1523-785feabcd123, value: (0x) 00&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED OFF&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 0&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 1&lt;br /&gt;D/BlinkyManager: Turning LED ON...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Writing characteristic 00001525-1212-efde-1523-785feabcd123 (WRITE REQUEST)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gatt.writeCharacteristic(00001525-1212-efde-1523-785feabcd123)&lt;br /&gt;D/BlinkyManager: Data written to 00001525-1212-efde-1523-785feabcd123, value: (0x) 01&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED ON&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 0&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 1&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 0&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 1&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 0&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 1&lt;br /&gt;D/ViewRootImpl@1cda049[BlinkyActivity]: ViewPostIme pointer 0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for this I will now move forward and add some customisations to the App and embedded control.&lt;/p&gt;
&lt;p&gt;BR Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/152172?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 09:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed692bc3-1dcd-405a-8207-77b3acfe7f9a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;Apparently there is a trick to getting more logging info from the Blinky app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the BlinkyManager.java file, please add the following function to the BlinkyManager class:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;@Override&lt;br /&gt;&lt;/span&gt;&lt;span&gt;public void &lt;/span&gt;log(&lt;span&gt;int &lt;/span&gt;level, &lt;span&gt;@NonNull &lt;/span&gt;String message) {&lt;br /&gt;   &lt;span&gt;super&lt;/span&gt;.log(level, message);&lt;br /&gt;   Log.&lt;span&gt;d&lt;/span&gt;(&lt;span&gt;&amp;quot;BlinkyManager&amp;quot;&lt;/span&gt;, message);&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;Then you should see log messages when the app sends data to the peripheral, and when the writeCharacteristic callback is triggered, which means the data was successfully sent.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The log should look something like this if everything works correctly:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;10-09 11:03:33.038 21893-21893/no.nordicsemi.android.nrfblinky D/BlinkyManager: Turning LED OFF...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;10-09 11:03:33.290 21893-21925/no.nordicsemi.android.nrfblinky D/BlinkyManager: LED OFF&lt;/em&gt;&lt;br /&gt;&lt;em&gt;10-09 11:03:33.928 21893-21893/no.nordicsemi.android.nrfblinky D/BlinkyManager: Turning LED ON...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;10-09 11:03:34.263 21893-21907/no.nordicsemi.android.nrfblinky D/BlinkyManager: LED ON&lt;/em&gt;&lt;br /&gt;&lt;em&gt;10-09 11:03:34.582 21893-21893/no.nordicsemi.android.nrfblinky D/BlinkyManager: Turning LED OFF...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;10-09 11:03:34.849 21893-21907/no.nordicsemi.android.nrfblinky D/BlinkyManager: LED OFF&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Can you give this a try and see if the results are similar?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/152027?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 11:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8d59dc7-d9ce-4723-9e9f-6a7e341ed89b</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Don&amp;#39;t forget I had the observation that nRF Connect App works. Meaning toggling the LED works every time. So I suspect the nRF Blinky App is at fault somehow.&lt;/p&gt;
&lt;p&gt;BR Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151982?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 08:42:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:780ee8d9-3d90-4f54-8b08-8d09d72ceeb3</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;That&amp;#39;s newer than both my kits, so I guess the old kit theory goes out the window ;)&lt;/p&gt;
&lt;p&gt;Do you have the log enabled while running the example?&lt;br /&gt;It would be interesting to know if the command is actually received or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With the log running you should see a message whenever the LED is turned on or off.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151961?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 07:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59731fc5-e6f7-43dc-877a-4784253faa6a</guid><dc:creator>MPH</dc:creator><description>&lt;div class="author"&gt;
&lt;div class="meta"&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/div&gt;
&lt;div class="meta"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="meta"&gt;&lt;span&gt;I have PCA10040, 1.2.4, 2018.12, 682351679 printed on the white sticker on the dev board chip.&lt;/span&gt;&lt;/div&gt;
&lt;div class="meta"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="meta"&gt;&lt;span&gt;BR Martin&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151952?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 06:51:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:132f9e65-72a9-447e-83a8-11e26b6c4a03</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;Can you let me know the version and date string printed on your development kit?&lt;br /&gt;This should be visible on the square, white sticker.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have an older kit that exhibits the issue, and a newer one that does not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151542?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 17:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:314f40dc-baf8-41ac-80d4-9bd0555896f3</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I synced with the develop branch and ran the application in debug mode but the LED behaviour is the same. So the LED is not controlled successfully from the Android App, only occasionally does it work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR Martin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151533?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 16:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0039212a-0dc4-4de5-a9fe-b480eef44bea</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Disabling Instant Run prevents an App Instant Crash, thanks for that. Now I check the latest with the develop branch.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have a good trip.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR Martin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151518?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 15:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf348447-8a83-4a9b-b7fb-6ff2afe72264</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;A comment from the app developer was to disable instant run in the Android Studio settings. Can you try that and see if debugging works?&lt;/p&gt;
&lt;p&gt;Regarding the app he suggested trying the develop branch rather than the master branch, to see if it fixes the issue with the missing LED update:&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Blinky/tree/develop"&gt;https://github.com/NordicSemiconductor/Android-nRF-Blinky/tree/develop&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please give it a go and see if it helps. If it doesn&amp;#39;t I will do more testing on my end to get to the bottom of the issue. Unfortunately I won&amp;#39;t be able to continue this until next week, as I am going on a business trip for the next couple of days.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151245?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 12:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d93a6de-96be-4160-900d-6317820233eb</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Here is a debug log I just recorded in the attached txt file.&lt;/p&gt;
&lt;p&gt;I used Notepad++ to highlight and mark all nrfblinky fyi.&lt;/p&gt;
&lt;p&gt;BR Martin&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/blinkycrash.txt"&gt;devzone.nordicsemi.com/.../blinkycrash.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151220?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 12:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cc1b757-b7a1-43ca-87ae-d68fdc636838</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Quick response = Yes your summary is correct in the last mail.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR Martin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151213?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 11:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:203c0901-e13b-4e94-a41f-ef15fc5803b3</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;Please have a look at the &lt;a href="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6df5d418da594d149eb47b6dde8f0cc0/nrfblinky.png"&gt;attached screenshot&lt;/a&gt;. I simply add nrfblinky in the search field in logcat, setting up a custom filter should not be necessary.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then I can focus on the app related messages easily, and the log doesn&amp;#39;t get overflowed with system messages.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An&amp;nbsp;interesting observation is that I can reproduce the problem with the LED characteristic. Changing the LED in the app doesn&amp;#39;t appear to have any effect on the kit. I need some more time to look into this and discuss it with the developers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To summarize your issues, if you try to use the debugger in Android Studio the app won&amp;#39;t even start?&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t use the debugger it works, but you are unable to control the LED?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151041?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 16:16:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ace5f95-9492-4c11-95e6-a45b402cfeb6</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Not sure about the filter but I set up this in logcat...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1538410446756v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and then the debug log was abbreviated to this...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;10-01 17:12:03.074 2997-3031/? D/ViewRootImpl@64340e2[nrfblinky]: setView = DecorView@d7da730[nrfblinky] TM=true MM=false&lt;br /&gt;10-01 17:12:03.078 2997-3031/? D/ViewRootImpl@64340e2[nrfblinky]: dispatchAttachedToWindow&lt;br /&gt;10-01 17:12:03.099 2997-3031/? D/ViewRootImpl@64340e2[nrfblinky]: Relayout returned: old=[0,0][0,0] new=[32,775][1047,1217] result=0x7 surface={valid=true 543709986816} changed=true&lt;br /&gt;10-01 17:12:03.101 2997-3031/? D/ViewRootImpl@64340e2[nrfblinky]: MSG_WINDOW_FOCUS_CHANGED 1&lt;br /&gt;10-01 17:12:03.127 2997-3031/? D/ViewRootImpl@64340e2[nrfblinky]: MSG_RESIZED_REPORT: frame=Rect(32, 775 - 1047, 1217) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1&lt;br /&gt;10-01 17:12:03.152 2997-3031/? D/ViewRootImpl@64340e2[nrfblinky]: ViewPostIme pointer 0&lt;br /&gt;10-01 17:12:03.161 2997-3031/? D/ViewRootImpl@64340e2[nrfblinky]: dispatchDetachedFromWindow&lt;br /&gt;10-01 17:12:03.190 2997-3031/? W/ViewRootImpl@64340e2[nrfblinky]: Dropping event due to root view being removed: &lt;br /&gt;10-01 17:12:03.190 2997-3031/? E/ViewRootImpl@64340e2[nrfblinky]: mStopped=false mHasWindowFocus=true mPausedForTransition=false&lt;br /&gt;10-01 17:12:05.124 2997-3031/? D/ViewRootImpl@6248433[nrfblinky]: setView = DecorView@ea2fd69[nrfblinky] TM=true MM=false&lt;br /&gt;10-01 17:12:05.128 2997-3031/? D/ViewRootImpl@6248433[nrfblinky]: dispatchAttachedToWindow&lt;br /&gt;10-01 17:12:05.145 2997-3031/? D/ViewRootImpl@6248433[nrfblinky]: Relayout returned: old=[0,0][0,0] new=[32,775][1047,1217] result=0x7 surface={valid=true 543710330880} changed=true&lt;br /&gt;10-01 17:12:05.149 2997-3031/? D/ViewRootImpl@6248433[nrfblinky]: MSG_WINDOW_FOCUS_CHANGED 1&lt;br /&gt;10-01 17:12:05.179 2997-3031/? D/ViewRootImpl@6248433[nrfblinky]: MSG_RESIZED_REPORT: frame=Rect(32, 775 - 1047, 1217) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1&lt;br /&gt;10-01 17:12:05.330 2997-3031/? D/ViewRootImpl@6248433[nrfblinky]: ViewPostIme pointer 0&lt;br /&gt;10-01 17:12:05.344 2997-3031/? D/ViewRootImpl@6248433[nrfblinky]: dispatchDetachedFromWindow&lt;br /&gt;10-01 17:12:05.368 2997-3031/? W/ViewRootImpl@6248433[nrfblinky]: Dropping event due to root view being removed: &lt;br /&gt;10-01 17:12:05.368 2997-3031/? E/ViewRootImpl@6248433[nrfblinky]: mStopped=false mHasWindowFocus=true mPausedForTransition=false&lt;br /&gt;10-01 17:12:07.820 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: setView = DecorView@1d8ee14[nrfblinky] TM=true MM=false&lt;br /&gt;10-01 17:12:07.839 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: dispatchAttachedToWindow&lt;br /&gt;10-01 17:12:07.906 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: Relayout returned: old=[0,0][0,0] new=[32,775][1047,1217] result=0x27 surface={valid=true 543710629888} changed=true&lt;br /&gt;10-01 17:12:07.912 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: MSG_WINDOW_FOCUS_CHANGED 1&lt;br /&gt;10-01 17:12:07.940 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: MSG_RESIZED_REPORT: frame=Rect(32, 775 - 1047, 1217) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1&lt;br /&gt;10-01 17:12:08.803 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: ViewPostIme pointer 0&lt;br /&gt;10-01 17:12:08.956 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: ViewPostIme pointer 1&lt;br /&gt;10-01 17:12:08.963 2997-3031/? D/ViewRootImpl@2625381[nrfblinky]: dispatchDetachedFromWindow&lt;br /&gt;10-01 17:12:49.571 2997-3089/? D/ViewRootImpl@b3a2ec4[nrfblinky]: setView = DecorView@ee32ce2[nrfblinky] TM=true MM=false&lt;br /&gt;10-01 17:12:49.572 2997-3089/? D/ViewRootImpl@b3a2ec4[nrfblinky]: dispatchAttachedToWindow&lt;br /&gt;10-01 17:12:49.584 2997-3089/? D/ViewRootImpl@b3a2ec4[nrfblinky]: Relayout returned: old=[0,0][0,0] new=[0,0][1080,1920] result=0x7 surface={valid=true 543383703552} changed=true&lt;br /&gt;10-01 17:12:49.586 2997-3089/? D/ViewRootImpl@b3a2ec4[nrfblinky]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1&lt;br /&gt;10-01 17:12:49.769 2997-3031/? D/ViewRootImpl@f97cfe4[nrfblinky]: setView = DecorView@1b34049[nrfblinky] TM=true MM=false&lt;br /&gt;10-01 17:12:49.772 2997-3031/? D/ViewRootImpl@f97cfe4[nrfblinky]: dispatchAttachedToWindow&lt;br /&gt;10-01 17:12:49.799 2997-3031/? D/ViewRootImpl@f97cfe4[nrfblinky]: Relayout returned: old=[0,0][0,0] new=[32,624][1047,1368] result=0x7 surface={valid=true 543711801344} changed=true&lt;br /&gt;10-01 17:12:49.801 2997-3031/? D/ViewRootImpl@f97cfe4[nrfblinky]: MSG_WINDOW_FOCUS_CHANGED 1&lt;br /&gt;10-01 17:12:49.889 2997-3031/? D/ViewRootImpl@f97cfe4[nrfblinky]: MSG_RESIZED_REPORT: frame=Rect(32, 624 - 1047, 1368) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1&lt;br /&gt;10-01 17:12:52.044 2997-3031/? D/ViewRootImpl@f97cfe4[nrfblinky]: ViewPostIme pointer 0&lt;br /&gt;10-01 17:12:52.109 2997-3031/? D/ViewRootImpl@f97cfe4[nrfblinky]: dispatchDetachedFromWindow&lt;br /&gt;10-01 17:12:52.306 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: setView = DecorView@85a4393[nrfblinky] TM=true MM=false&lt;br /&gt;10-01 17:12:52.308 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: dispatchAttachedToWindow&lt;br /&gt;10-01 17:12:52.317 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: Relayout returned: old=[0,0][0,0] new=[32,775][1047,1217] result=0x7 surface={valid=true 543304855552} changed=true&lt;br /&gt;10-01 17:12:52.319 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: MSG_WINDOW_FOCUS_CHANGED 1&lt;br /&gt;10-01 17:12:52.334 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: MSG_RESIZED_REPORT: frame=Rect(32, 775 - 1047, 1217) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1&lt;br /&gt;10-01 17:12:53.143 2997-3089/? D/ViewRootImpl@b3a2ec4[nrfblinky]: dispatchDetachedFromWindow&lt;br /&gt;10-01 17:12:54.930 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: ViewPostIme pointer 0&lt;br /&gt;10-01 17:12:55.046 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: ViewPostIme pointer 1&lt;br /&gt;10-01 17:12:55.056 2997-3031/? D/ViewRootImpl@d6fcd[nrfblinky]: dispatchDetachedFromWindow&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Might need to advise on the filter, thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/151025?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 14:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bbacf5b-7fdd-47c3-97b5-386b32943f8f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;Sorry for all the requests, but could you also do a log with the &amp;quot;nrfblinky&amp;quot; filter applied, so that only the app messages are shown?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/150969?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 12:38:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26ef681b-2e17-4ded-93ea-ceb4ef0ec5e6</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Ok this is what I get in the adb log when trying to run Blinky App on my phone......&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;10/01 13:27:58: Launching app&lt;br /&gt;$ adb install-multiple -r -t C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_4.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\resources\instant-run\debug\resources-debug.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_5.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_3.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_0.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_1.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_2.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_7.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\dep\dependencies.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_6.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_8.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\split-apk\debug\slices\slice_9.apk C:\Users\Martin\Documents\GitHub\Android-nRF-Blinky\app\build\intermediates\instant-run-apk\debug\app-debug.apk &lt;br /&gt;Split APKs installed&lt;br /&gt;$ adb shell am start -n &amp;quot;no.nordicsemi.android.nrfblinky/no.nordicsemi.android.blinky.SplashScreenActivity&amp;quot; -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D&lt;br /&gt;Waiting for application to come online: no.nordicsemi.android.nrfblinky | no.nordicsemi.android.nrfblinky.test&lt;br /&gt;Waiting for application to come online: no.nordicsemi.android.nrfblinky | no.nordicsemi.android.nrfblinky.test&lt;br /&gt;Connecting to no.nordicsemi.android.nrfblinky&lt;br /&gt;Capturing and displaying logcat messages from application. This behavior can be disabled in the &amp;quot;Logcat output&amp;quot; section of the &amp;quot;Debugger&amp;quot; settings page.&lt;br /&gt;W/ActivityThread: Application no.nordicsemi.android.nrfblinky is waiting for the debugger on port 8100...&lt;br /&gt;I/System.out: Sending WAIT chunk&lt;br /&gt;I/zygote64: Debugger is active&lt;br /&gt;I/System.out: Debugger has connected&lt;br /&gt; waiting for debugger to settle...&lt;br /&gt;I/System.out: waiting for debugger to settle...&lt;br /&gt;I/System.out: waiting for debugger to settle...&lt;br /&gt;Connected to the target VM, address: &amp;#39;localhost:8601&amp;#39;, transport: &amp;#39;socket&amp;#39;&lt;br /&gt;I/System.out: waiting for debugger to settle...&lt;br /&gt;I/System.out: waiting for debugger to settle...&lt;br /&gt;I/System.out: waiting for debugger to settle...&lt;br /&gt;I/System.out: debugger has settled (1356)&lt;br /&gt;I/zygote64: no shared libraies, dex_files: 1&lt;br /&gt;I/InstantRun: starting instant run server: is main process&lt;br /&gt;D/AndroidRuntime: Shutting down VM&lt;br /&gt;E/AndroidRuntime: FATAL EXCEPTION: main&lt;br /&gt; Process: no.nordicsemi.android.nrfblinky, PID: 26198&lt;br /&gt; java.lang.RuntimeException: Unable to get provider android.arch.lifecycle.ProcessLifecycleOwnerInitializer: java.lang.ClassNotFoundException: Didn&amp;#39;t find class &amp;quot;android.arch.lifecycle.ProcessLifecycleOwnerInitializer&amp;quot; on path: DexPathList[[zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/base.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_dependencies_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_resources_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_0_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_1_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_2_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_3_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_4_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_5_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_6_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_7_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_8_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/lib/arm64, /system/lib64, /system/vendor/lib64]]&lt;br /&gt; at android.app.ActivityThread.installProvider(ActivityThread.java:6581)&lt;br /&gt; at android.app.ActivityThread.installContentProviders(ActivityThread.java:6133)&lt;br /&gt; at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6043)&lt;br /&gt; at android.app.ActivityThread.-wrap1(Unknown Source:0)&lt;br /&gt; at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764)&lt;br /&gt; at android.os.Handler.dispatchMessage(Handler.java:105)&lt;br /&gt; at android.os.Looper.loop(Looper.java:164)&lt;br /&gt; at android.app.ActivityThread.main(ActivityThread.java:6944)&lt;br /&gt; at java.lang.reflect.Method.invoke(Native Method)&lt;br /&gt; at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)&lt;br /&gt; at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)&lt;br /&gt;E/AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn&amp;#39;t find class &amp;quot;android.arch.lifecycle.ProcessLifecycleOwnerInitializer&amp;quot; on path: DexPathList[[zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/base.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_dependencies_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_resources_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_0_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_1_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_2_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_3_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_4_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_5_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_6_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_7_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_8_apk.apk", zip file "/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/lib/arm64, /system/lib64, /system/vendor/lib64]]&lt;br /&gt; at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)&lt;br /&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:379)&lt;br /&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:312)&lt;br /&gt; at android.app.ActivityThread.installProvider(ActivityThread.java:6566)&lt;br /&gt; ... 10 more&lt;br /&gt; Suppressed: java.io.IOException: No original dex files found for dex location (arm64) /data/app/no.nordicsemi.android.nrfblinky-Abaq71A2nyPIFytIPBL22w==/split_lib_resources_apk.apk&lt;br /&gt; at dalvik.system.DexFile.openDexFileNative(Native Method)&lt;br /&gt; at dalvik.system.DexFile.openDexFile(DexFile.java:353)&lt;br /&gt; at dalvik.system.DexFile.&amp;lt;init&amp;gt;(DexFile.java:100)&lt;br /&gt; at dalvik.system.DexFile.&amp;lt;init&amp;gt;(DexFile.java:74)&lt;br /&gt; at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)&lt;br /&gt; at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)&lt;br /&gt; at dalvik.system.DexPathList.&amp;lt;init&amp;gt;(DexPathList.java:157)&lt;br /&gt; at dalvik.system.BaseDexClassLoader.&amp;lt;init&amp;gt;(BaseDexClassLoader.java:65)&lt;br /&gt; at dalvik.system.PathClassLoader.&amp;lt;init&amp;gt;(PathClassLoader.java:64)&lt;br /&gt; at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:43)&lt;br /&gt; at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69)&lt;br /&gt; at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:36)&lt;br /&gt; at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:678)&lt;br /&gt; at android.app.LoadedApk.getClassLoader(LoadedApk.java:711)&lt;br /&gt; at android.app.LoadedApk.getResources(LoadedApk.java:944)&lt;br /&gt; at android.app.ContextImpl.createAppContext(ContextImpl.java:2303)&lt;br /&gt; at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5943)&lt;br /&gt; ... 8 more&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 Ble Peripheral Example - ble_app_blinky not showing led/button service</title><link>https://devzone.nordicsemi.com/thread/150885?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 07:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:432648b2-3c4f-499e-8c78-df6d2a2c1f16</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;Thanks for the update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you&amp;nbsp;capture the ADB log when the Blinky app crashes I can show it to the app developers, and they might have some input.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>