<?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>Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56718/quickest-path-to-ble-data-exchange</link><description>Hi, 
 Given the too many examples in the nRF5 SDK that are provided to implement BLE and the unclear documentation on how to best proceed, what would you say is the quickest path to begin development of a bidirectional data transmission in a BLE embedded</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Feb 2020 10:09:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56718/quickest-path-to-ble-data-exchange" /><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/233477?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 10:09:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf3ef7c3-1bbc-4005-80c6-1f125ab4fa4a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;No problem, just let me know when you have more info to share &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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/233412?ContentTypeID=1</link><pubDate>Sun, 09 Feb 2020 18:35:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a81ee1-98f3-4e85-981e-123a0be11bd3</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn. Sorry for MY delayed reply. I am also&amp;nbsp;traveling this week. I&amp;#39;ll get back to you with full answers to your questions in a few days. Thanks for the clarification on my&amp;nbsp;second question. I will use the relay example and test that when I return. Thanks again for your help!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kevin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/232969?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 08:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:322b768f-db9a-4575-a16e-b52aea965458</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;Sorry for the slow response, I have been doing some travel lately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried this again after updating my iPhone 7 to iOS 13.3.1, and I still can&amp;#39;t spot the issue. I will ask around and see if we have an iPhone XS Max in the office to test with.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried the standard ble_app_uart example on your boards to see if it works OK?&lt;/p&gt;
&lt;p&gt;Do you have any means of capturing a sniffer trace when the problem occurs?&lt;br /&gt;Then it would be easier to investigate what is happening.&amp;nbsp;&lt;/p&gt;
[quote user="kevyk"]Also, unrelated: when I run the UART&amp;nbsp;project on two different Taiyo boards, shouldn&amp;#39;t they auto connect? Right now they don’t auto connect when running the sample on 2 boards.[/quote]
&lt;p&gt;Hi, do you mean two boards running my example?&lt;/p&gt;
&lt;p&gt;The idea is to use the relay example on one board, and the ble_app_uart example on the other. Then the relay board should automatically connect to the ble_app_uart board.&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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/232567?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 13:05:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adc5af32-8525-4ca7-beb1-f8315daacc9f</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Any thoughts about the BUSY error? Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/232036?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 09:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:571bc4c5-7165-46aa-a333-9343fb5a0604</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Hi T.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m running the latest iOS on an iPhone XS Max - v13.3. There was no 3rd device connected. I just launched the BLE example from SES running it on my Taiyo Yuden board then ran nRF&amp;nbsp;Toolbox on the phone. When I connect from the UART tool to the BLE board, it connects then pops up with the error.&amp;nbsp;Unfortunately I don&amp;rsquo;t have any other dev boards other than ones from Taiyo. The exact message sequence is:&lt;/p&gt;
&lt;pre&gt; app_timer: RTC: initialized.
 app: BLE UART central example started.
 app: Connecting to target C2A4069DD176
 app: Peripheral connected
 app: ATT MTU exchange completed.
 app: Ble NUS max data length set to 0xB6(182)
 app: ERROR 17 [NRF_ERROR_BUSY] at line 292, PC is 0x0003014D in &amp;#39;...rt-relay-master/app_nus_server.c&amp;#39; &lt;/pre&gt;
&lt;p&gt;Any thoughts as to what this error is trying to indicate?&lt;/p&gt;
&lt;p&gt;Also, unrelated: when I run the UART&amp;nbsp;project on two different Taiyo boards, shouldn&amp;#39;t they auto connect? Right now they don&amp;rsquo;t auto connect when running the sample on 2 boards.&lt;/p&gt;
&lt;p&gt;Thanks, Kevin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/232021?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 09:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfe2d74b-0906-4c0a-88bf-a8e9b3166be2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;Which iOS version and phone are you using?&lt;/p&gt;
&lt;p&gt;Did you have a ble_app_uart device connected to the relay when the error occured?&lt;/p&gt;
&lt;p&gt;I just tested the nRF Toolbox app on an iPhone 7 running iOS 12.4, and didn&amp;#39;t see this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have an nRF52DK or nRF52840DK to test with for comparison?&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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/231763?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 21:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5de18c07-1366-4377-ab39-81aec649ee4e</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;This might just be dumb user error on my part but when I try to connect to nRF Toolbox&amp;#39;s UART, app_nus_server.c crashes on line 292 with a Busy Error:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt; app: ERROR 17 [NRF_ERROR_BUSY] at line 292, PC is 0x0003014D in &amp;#39;...rt-relay-master/app_nus_server.c&amp;#39; &lt;/pre&gt;
&lt;p&gt;It seems to be trying to change some aspect of the PHY. Perhaps some incompatibility with the iOS app itself? Thoughts?&lt;/p&gt;
&lt;p&gt;I am running this on a Taiyo Yuden nRD52832 board using S132 on SES but I don&amp;#39;t think that would matter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/231750?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 18:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35cf8ebc-6564-44a9-8011-48c74d8f602f</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;You absolutely ROCK&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn.&amp;nbsp;&lt;/span&gt;&lt;span class="tlid-translation translation" lang="no"&gt;&lt;span class="" title=""&gt;Tusen takk!&amp;nbsp;&lt;/span&gt;&lt;/span&gt;That little sample will likely&amp;nbsp;save me countless hours of unwinding the, IMHO, convoluted codebase Nordic provides for these amazing BLE parts.&lt;/p&gt;
&lt;p&gt;If I ever make it to Norway, I owe you a lunch. &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;Take care,&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/231701?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 14:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78602454-e646-4708-8ddd-264852c4a8da</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;Please find my example here:&lt;br /&gt;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-app-uart-relay"&gt;https://github.com/NordicPlayground/nrf52-ble-app-uart-relay&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Give it a go and see how it works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried to pull the peripheral/server and central/client parts of the examples into separate files to avoid making the main file too cluttered, and implemented a simple relaying mechanism to pass data from one link to the other.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is controlled from main.c and can be changed if you like.&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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/231169?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b212a386-77a4-4f6c-8371-477c32f26ef5</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn. Yes, if you could get me started with a working merged&amp;nbsp;ble_app_uart and ble_app_uart_c sample, that would be greatly appreciated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/231165?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca3834c7-5db5-4acb-82a6-8b517a669c00</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;The UART example is very popular because it shows&amp;nbsp;how to implement a simple proprietary profile that can be easily expanded to cover a multitude of use cases.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The HRS and RSCS services are standard services only meant to be used for those use cases specifically.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In other words I think an example based on the UART service will be more valuable in the long run &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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230865?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 13:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bebf31db-476c-4f23-b72f-095677d82dcd</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn. A generic data sample code&amp;nbsp;example would help a lot to at least get started. Thank You so much!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have the relay sample working relaying heart rate data from one device to the&amp;nbsp;relay in the middle then on to an iPhone app. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Should&amp;nbsp;you&amp;nbsp;modify the&amp;nbsp;&lt;em&gt;ble_app_hrs_rscs_relay&lt;/em&gt; sample instead of trying to combine the two UART samples - would that be easier? Or, in fact, is that not&amp;nbsp;appropriate because I need bidirectional data flow from all 3&amp;nbsp;&lt;/span&gt;devices (BLE Device A, BLE Device B, iPhone app)? Maybe combining the two UART code bases is more appropriate as you mention. Not sure...&lt;/p&gt;
&lt;p&gt;Tusen takk!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230836?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 12:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d846d826-4dc0-4456-9c79-fea79fae34c2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;I agree the service setup is not very straight forward. Ideally there would be some tool or script to simplify the process, like the Bluetooth SIG tried with the Bluetooth Developer Studio, but that tool never saw a lot of popularity and was eventually&amp;nbsp;discontinued.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The main challenge of using the &lt;em&gt;ble_app_hrs_rscs_relay&lt;/em&gt; sample is that you need to change the services to use a proprietary 128-bit UUID, rather than a 16-bit short one, but you can obviously have a look at the NUS files to see how this is done.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, there is a lot of hrs/rscs related code in these services that you probably don&amp;#39;t care about in a proprietary example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I should be able to put together a small example showing how to merge &lt;em&gt;ble_app_uart&lt;/em&gt; and &lt;em&gt;ble_app_uart_c&lt;/em&gt; into one, giving you an easier starting point, but I can&amp;#39;t promise anything until some time next week.&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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230714?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 16:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e281390-cb80-4d70-997b-653dcd0ebf11</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Thanks. I think the best approach would be to use the&amp;nbsp;&lt;em&gt;ble_app_hrs_rscs_relay &lt;/em&gt;example.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a little surprised how non-turnkey the BLE codebase is for non standard services and characteristics. Ideally to make it easiest for new development, there should be a library of files that are easy to add new services and characteristics and have the corresponding data easy to access from app code as well. Given the&amp;nbsp;Nordic samples, it is of course doable but requires much more time and work to understand&amp;nbsp;the Nordic codebase when this part should be pretty simple and plug and play.&lt;/p&gt;
&lt;p&gt;Will I find it to be a challenge to add more characteristics or services to the &lt;em&gt;ble_app_hrs_rscs_relay&lt;/em&gt;&amp;nbsp;sample?&lt;/p&gt;
&lt;p&gt;Also, what sample code on the iOS app side would be a good place to start if using the&amp;nbsp;&lt;em&gt;ble_app_hrs_rscs_relay&lt;/em&gt;&lt;span&gt;&amp;nbsp;sample? Is there anything available for the relay info. I don&amp;#39;t see anything in nRF Toolbox.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks again for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230493?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 08:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8963405-abdc-45f3-908e-55b3bf91151b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;Essentially you have to copy all the client specific code from the &lt;em&gt;ble_app_uart_c&lt;/em&gt; example into the &lt;em&gt;ble_app_uart&lt;/em&gt; examples, yes, or vice versa.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You would also have to change the&amp;nbsp;NRF_SDH_BLE_PERIPHERAL_LINK_COUNT, NRF_SDH_BLE_CENTRAL_LINK_COUNT and NRF_SDH_BLE_TOTAL_LINK_COUNT defines in sdk_config.h to allow for more links than what the examples support out of the box.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is no example out of the box showing how to do this unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The closest in the SDK would be the &lt;em&gt;ble_app_hrs_rscs_relay&lt;/em&gt; example in the &lt;em&gt;examples/ble_central_and_peripheral/experimental&lt;/em&gt; folder.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This example essentially does the same thing, but uses different services.&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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230283?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 09:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0897575-3bfc-479f-b24f-43940fb7ab9e</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Excellent&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn. Thank You. So on Device B I need to manually mix the relevant code from the&amp;nbsp;&lt;em&gt;ble_app_uart&lt;/em&gt; and &lt;em&gt;ble_app_uart_c&amp;nbsp;&lt;/em&gt;examples, right? Is&amp;nbsp;there an existing code base that already does this so I don&amp;#39;t have to reinvent the wheel, perhaps&amp;nbsp;an example starting project inside of Nordic for the dual&amp;nbsp;capability of Device B?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks so much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230248?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 09:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d7d44f5-b01f-43a6-9f95-dadf4dc4147e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;It sounds to me like you need one device (B?) to be connected to both device A and the phone at the same time, while device A only needs to connect to device B.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In this case device B will need to be both central and peripheral at the same time, acting as a central towards device A, and as a peripheral to the phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The client/server relationship is actually independent of the central/peripheral relationship, but the most common configuration is to have the central be the client and the peripheral be the server, and when using the NUS service this is the configuration I would recommend.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you are looking at a total system where you have a phone being the central/client towards device B.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Device B is a peripheral/server towards the phone while also being a central/client towards device A.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Device A is a peripheral/server towards device B.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The phone would be able to use the standard apps, and device A could use the &lt;em&gt;ble_app_uart&lt;/em&gt; example, while device B would have to use a combination of the &lt;em&gt;ble_app_uart&lt;/em&gt; and &lt;em&gt;ble_app_uart_c&lt;/em&gt; examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can send data whenever you want on both the client and server side of the link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The client would use write commands to send data, while the server would use notifications.&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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230185?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 23:00:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e29e4790-cd3b-4e7d-8421-bdab763039b4</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn. It&amp;nbsp;occurs&amp;nbsp;to me that the&amp;nbsp;starting projects I need are: a two device BLE communications system where a&amp;nbsp;device (either device) can say &amp;quot;I have some data for you&amp;quot; and can push their data to the other device (likely using an&amp;nbsp;interrupt on the Rx end). At the same time, each device can also send a &amp;quot;pull&amp;quot; data request to&amp;nbsp;the other device when it has some data ready for the other end (again probably in an interrupt&amp;nbsp;notification&amp;nbsp;situation). This would all be irrespective of who is the central and who is the peripheral - either can be I think, however one device also&amp;nbsp;needs bidirectional&amp;nbsp;communications with the iPhone sending and receiving data as needed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;IOW: Device A (or B) has some data for Device B (or A) and sends out a push notification. Device B (or A) responds &amp;quot;OK I&amp;#39;m listening&amp;quot; and starts receiving&amp;nbsp;the data. Later on, Device A (or B) needs some data from Device B (or A) and sends out a &amp;quot;please&amp;nbsp;fulfill data&lt;/span&gt;&amp;quot; request. Device B (or A) then sends out the requested data. In this situation I&amp;#39;m not sure who is the central and who is the peripheral and it might not&amp;nbsp;matter, however one of the devices, say Device B needs to also be able to send and receive data to the iPhone app.&lt;/p&gt;
&lt;p&gt;So I am looking for two good starting embedded projects for such communications setup. What would you recommend given all the sample apps?&lt;/p&gt;
&lt;p&gt;Make sense? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230164?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 19:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa9fd7e6-13fd-466a-9bcb-65f0b06c9ecc</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Thanks Darren. Actually Device 1 will transmit data to Device 2. Device 2 will receive Device 1&amp;#39;s data and do some calculations and transmit to the iPhone. However we need bidirectional data channels open between all devices, ideally. So Device 1 will Tx and Rx to 2 and Device 2 will Tx and Rx to Device 1. And Device 2 will also Tx and Rx to the iPhone. In this situation, what would you say are good&amp;nbsp;starting projects for Device 1 and Device 2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230161?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 18:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3946c71-ff1d-446f-a74d-022e2ca880b0</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Hi Kevin,&lt;/p&gt;
&lt;p&gt;Are you going to be&amp;nbsp;transfering the data between a mobile device and a Nordic device or between two Nordic devices?&lt;/p&gt;
&lt;p&gt;If the former is correct then you want to use the Nordic chip as a Peripheral/Server and the mobile device as the Central/Client.&amp;nbsp; If it&amp;#39;s the latter then one Nordic chip will be the Peripheral/Server and the other a Central/Client.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230150?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 17:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e2bf5f-68c4-4f76-b390-f1417b2a4279</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Thanks again. I guess that&amp;#39;s my question. When would one want to start with the server code&amp;nbsp;and when would one want to start with the client code if both examples transmit data both ways?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/230056?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 12:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e34a4f5-5ebf-46e2-af84-56d593c0bfc8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;It is quite common to use a mobile phone as the NUS central/client, and the nRF52 as the peripheral/server, but in the case that you want to use an nRF52 device on both sides of the link we also provide a client example for the nRF52.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This example is set up to connect to any peripheral nearby, allowing you to send NUS data between the two devices.&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: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/229978?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 04:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce6c16de-fb98-4282-9325-51819c6f7c54</guid><dc:creator>Kevin Kachikian</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn. Can you tell me the utility and difference between the&amp;nbsp;BLE Peripheral/UART/Serial Port Emulation over BLE that you&amp;nbsp;recommend and&amp;nbsp;BLE Central/Nordic UART Service Client?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Quickest path to BLE data exchange...</title><link>https://devzone.nordicsemi.com/thread/229843?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 12:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff60f5aa-fd5e-4e0b-9094-0622165a2c57</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;I would say the &lt;em&gt;ble_app_uart&lt;/em&gt; example is the best place to start if you are looking for a simple two directional proprietary BLE example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It sets up a simple service (NUS) with one characteristic for TX and one for RX, allowing you to send strings of variable length from the client to the server and vice versa.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The ble_app_uart example also integrates nicely with our Android and iOS phone apps, allowing you to test the phone connectivity without having to develop the app yourself.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can read more about the example &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_nus_eval.html?cp=7_1_4_2_2_25"&gt;here&lt;/a&gt;.&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>