<?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>Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97010/write-bluetooth-relay-app-for-android</link><description>Hello, 
 im new in programming for Bluetooth. 
 I would start it to create a Bluetooth App for Android to control a relay. 
 The old App for this is not obtainable anymore. 
 I think im right that its a nRF51822 chip on it how you can see in the picture</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Mar 2023 08:22:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97010/write-bluetooth-relay-app-for-android" /><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/413433?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 08:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45836556-d260-4a8e-86ad-3d0a4110f87e</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Which is the board that you are working on? Also, which sample are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/413345?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 21:59:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f765c7d4-ee43-4d75-aafb-81f73f9d9f18</guid><dc:creator>BitBiter</dc:creator><description>&lt;p&gt;Yes, but before i can write a firmware, i must find out, how to control the 4 relays.&lt;br /&gt;From others i know it can do with two hex strings (on/off). But is here the same?&lt;br /&gt;I dont know, and i think i must find it out first.&lt;br /&gt;I got a connection with the Android App NRF Connect, but every 5 Seconds it disconnected.&lt;br /&gt;In the Logs can you see that a Timout is set to 5000ms, but how can I disable this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRF Connect, 2023-03-03
FOREVER30144 (D7:86:94:18:DB:BF)
D	22:37:38.743	gatt.close()
D	22:37:38.745	wait(200)
V	22:37:38.946	Connecting to D7:86:94:18:DB:BF...
D	22:37:38.946	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = UNKNOWN (0))
D	22:37:39.406	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	22:37:39.406	Connected to D7:86:94:18:DB:BF
V	22:37:39.422	Discovering services...
D	22:37:39.422	gatt.discoverServices()
D	22:37:39.426	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	22:37:39.807	Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
D	22:37:39.898	[Callback] Services discovered with status: 0
I	22:37:39.898	Services discovered
V	22:37:39.903	Generic Access (0x1800)
- Device Name [R W] (0x2A00)
- Appearance [R] (0x2A01)
- Peripheral Preferred Connection Parameters [R] (0x2A04)
Generic Attribute (0x1801)
Unknown Service (0000ffe0-0000-1000-8000-00805f9b34fb)
- Unknown Characteristic [N W WNR] (0000ffe2-0000-1000-8000-00805f9b34fb)
&amp;#160;&amp;#160;&amp;#160;Client Characteristic Configuration (0x2902)
- Unknown Characteristic [W WNR] (00000002-0000-1000-8000-00805f9b34fb)
D	22:37:39.903	gatt.setCharacteristicNotification(0000ffe2-0000-1000-8000-00805f9b34fb, true)
I	22:37:39.974	Connection parameters updated (interval: 50.0ms, latency: 0, timeout: 5000ms)
D	22:37:43.888	[Callback] Connection state changed with status: 19 and new state: DISCONNECTED (0)
W	22:37:43.888	Connection terminated by peer (status 19)
I	22:37:43.888	Disconnected
D	22:37:43.958	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/412400?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 06:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7521f0f4-39dd-42eb-980d-eb5faab88709</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Hope the information helps.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/412244?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 11:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1042739e-a60f-4936-95d7-f1e2a331a0be</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Should have menioned in my post: The NRF connect app in Android and iOS are very different from the NRF connect app for desktop.&lt;/p&gt;
&lt;p&gt;The NRF connect apps on mobile devices allow inspecting service UUIDs and allow sending/recveiving arbitrary bytes. I don&amp;#39;t think that you can do that with the desktop app, at least not without additional hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/412214?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 10:04:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a4ff9ad-8469-4209-a0e8-55415110455f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;The nRF51 series, as I mentioned earlier, is quite old, so it is only supported by the nRF5 SDK.&amp;nbsp;Also, please note that the highest version of nRF5 SDK that supports nRF51 series programming is the &lt;strong&gt;nRF5SDK v12.3.0&lt;/strong&gt;. So please be careful to download that version from our website. You can find some interesting sample applications and examples when you download the nRF5SDK from our website:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-software/nRF5-SDK/Download?lang=en#infotabs:~:text=12.3.0,nRF5%20SDK"&gt;https://www.nordicsemi.com/Products/Development-software/nRF5-SDK/Download?lang=en#infotabs:~:text=12.3.0,nRF5%20SDK&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please take a look at the examples available on this SDK:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/examples.html?cp=9_5_10_4"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/examples.html?cp=9_5_10_4&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unlike what @&lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Jörg Fischer&lt;/a&gt;&amp;nbsp;mentioned, you cannot use the entire nRF Connect for Desktop application, because it is meant for mainly the nRF52 series onwards and also mainly intended for the nRF Connect SDK. But you can use the &amp;quot;Programmer&amp;quot; app within this application with the help of which you can write a firmware onto the board.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/412087?ContentTypeID=1</link><pubDate>Sat, 25 Feb 2023 16:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0e3f471-b08c-4e57-b4fb-3dd7169484bf</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;You can always try the nrf connect app for android / ios. But it will take quite a bit of guesswork and/or luck to operate the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/412085?ContentTypeID=1</link><pubDate>Sat, 25 Feb 2023 16:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f433399b-e136-4f29-a24c-adc3ed1919b6</guid><dc:creator>BitBiter</dc:creator><description>&lt;p&gt;Thx but my first problem is, how to connect?&lt;/p&gt;
&lt;p&gt;The App for this doesn&amp;#39;t exist anymore, and there are no connections possibility to get access via J-Link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write Bluetooth Relay App for Android</title><link>https://devzone.nordicsemi.com/thread/411979?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 13:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec5579cb-5c51-4534-b304-7d5e671c5873</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Do you wish to program with the nRF51 chip shown in the picture? This is an old chip and we currently have the nRF52 and nRF53 series as well. Also, for the nRF51 you will have to use our old SDK (nRF5 SDK).&lt;/p&gt;
&lt;p&gt;We have some BLE guides on our website:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy"&gt;https://devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy&amp;nbsp;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>