<?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>Using an nRF52 Dev Kit to communicate to an Android phone via BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82511/using-an-nrf52-dev-kit-to-communicate-to-an-android-phone-via-ble</link><description>I am very new to this product and Bluetooth technology in general. I am trying to determine what I have done wrong. I have purchased the nRF52 dev kit and downloaded and installed the Segger Embedded Studio. I have downloaded and installed the nRF5_SDK_17</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Dec 2021 11:18:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82511/using-an-nrf52-dev-kit-to-communicate-to-an-android-phone-via-ble" /><item><title>RE: Using an nRF52 Dev Kit to communicate to an Android phone via BLE</title><link>https://devzone.nordicsemi.com/thread/342681?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 11:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f06e93e2-ba47-4bd9-92ca-a06d8dedbfbb</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The output file will indeed not include the SoftDevice. To get one full output file you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_mergehex.html"&gt;nRF Command Line Tools mergehex command&lt;/a&gt; to merge .hex files. The SoftDevice .hex files can be found under /&lt;strong&gt;YOUR_SDK_FOLDER/components/softdevice&amp;nbsp;&lt;/strong&gt;you can then merge your project&amp;#39;s output file with the SoftDevice to have one .hex file.&lt;/p&gt;
&lt;p&gt;Regarding your application, please check out the battery service that is included in numerous example projects in the nRF5 SDK, for example the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_hrs.html"&gt;heart rate application&lt;/a&gt;, where the device sends heart rate notifications every second and battery level notifications every 2 seconds. If you use just the battery level notifications, you can set the interval between this to whatever you&amp;#39;d like and set the device to sleep in the meantime. Waking up every X second/minute to notify the central of its battery level.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using an nRF52 Dev Kit to communicate to an Android phone via BLE</title><link>https://devzone.nordicsemi.com/thread/342605?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 20:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3719967f-2925-4903-811f-48ba8d30068f</guid><dc:creator>AllenS</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;The ble_app_uartdid compile in the Segger Studio and the output hex file was only 47K.&amp;nbsp; The application did not work when the hex file was placed on the USB Drive for the Dev Kit.&amp;nbsp; However,&amp;nbsp; the precompiled version that was sent with the SDK, the hex file size is 498K.&amp;nbsp; When I put that hex file into the Dev Kit USB Drive, it worked.&amp;nbsp; That brings up the question, why did the S132 not compile with the project and how do I make it do that?&amp;nbsp; Also, my project requires to come up from a sleep mode, send out the battery level and then go back to sleep.&amp;nbsp; I wanted to make the interval time programmable from 5 to 9 seconds.&amp;nbsp; Is there an example project of something similar that I could look at for ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using an nRF52 Dev Kit to communicate to an Android phone via BLE</title><link>https://devzone.nordicsemi.com/thread/342491?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 09:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d0625c1-e05d-4aa2-b021-e7714c2774e5</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;When using SEGGER Embedded Studios and our example projects, it&amp;#39;s not necessary to flash the SoftDevice separately. I would recommend using the nRFConnect app on your Android phone, as nRFgo Studio is very old at this point.&lt;/p&gt;
&lt;p&gt;After that building and flashing most BLE peripheral example projects in the nRF5 SDK v17.1.0 should be able to connect to an Android phone using nRFConnect. I would suggest the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html"&gt;ble_app_uart&lt;/a&gt;&amp;nbsp;example, which lets you print messages to a UART terminal from the phone using the Nordic UART Service?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>