<?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>Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39767/reading-sensor-data-from-nrf52-in-ios</link><description>So I am using nrf52832 and making a whole new app in ios. My objective of the app is to get the sensor data (specially motion sensor data and accelerometer data) which is connected to nrf52832. So far I have reached the stage where I can scan the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Oct 2018 08:09:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39767/reading-sensor-data-from-nrf52-in-ios" /><item><title>RE: Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/thread/154623?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 08:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4849a4c-5dbb-4f50-9c3a-d32b5b0cac20</guid><dc:creator>Soul Blaze</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;&amp;nbsp;Thank you so much for taking in time to help me. I was successfully able to complete what I was searching for from days.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;&amp;nbsp;I did have a look at how it worked but it was completely in some other direction and also I wasn&amp;#39;t able to connect the dots. So I figured out by understanding the documentation of Core Bluetooth and GATT. What I came to know is that it uses UART over BLE which Core Bluetooth Framework already has it inbuilt. Apart from that Characteristic UUID and Service UUID must be known before communicating with the sensor inorder to get values from it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/thread/154291?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 13:06:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7d1dd93-bb96-4cfd-b4ff-2d3e903d10f7</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I would suggest downloading the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/Nordic-Thingy-52/Thingy-52-SDK-zip/61951"&gt;Nordic thingy FW&lt;/a&gt; &amp;amp; taking a look at that first. &lt;a href="https://github.com/NordicSemiconductor/Nordic-Thingy52-FW"&gt;The documentation &lt;/a&gt;provided here could also be helpful. Then, I would download the &lt;a href="https://github.com/NordicSemiconductor/IOS-Nordic-Thingy"&gt;Thingy app source code&lt;/a&gt; (written in Swift 4.0) &amp;amp; see how the smartphone side implements this. In essence,&amp;nbsp;exactly what&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; said. It might also be useful to take a look at some of the easy tutorials on devzone (&lt;a href="https://devzone.nordicsemi.com/b/blog/"&gt;this&lt;/a&gt;&amp;nbsp;&amp;amp; &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;this&lt;/a&gt;).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Even though the Nordic SDK &amp;amp; Thingy SDK are written in C, I believe you can learn a lot by understanding what the main code snippets are doing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/thread/154287?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 12:38:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e0dbdb-6b36-4945-9873-3fe540200ab3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;I said &amp;quot;look at&amp;quot; - not &amp;quot;copy&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/thread/154280?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 12:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b9b8eea-a5b5-458e-8203-2c431153d2db</guid><dc:creator>Soul Blaze</dc:creator><description>&lt;p&gt;Yes, I did but the framework of Nordic Thingy is different than the one I am using and results in code clashes which is why I am trying to avoid that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/thread/154257?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 11:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:631e735b-0484-4b18-8cf1-cc160ff6da48</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You will either have to define your own custom&amp;nbsp;service, or adopt something &amp;quot;generic&amp;quot; - such as the Nordic UART Service (NUS).&lt;/p&gt;
&lt;p&gt;Have you looked at&amp;nbsp;how the Nordic Thingy does it ... ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/thread/154253?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 11:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f60996de-e93b-452d-84a0-808657fafe56</guid><dc:creator>Soul Blaze</dc:creator><description>&lt;p&gt;Thank you so much for writing and helping me out. It really was neecessary for me to check if I was on&amp;nbsp;going proper.&lt;br /&gt;I searched on the same thing and it seems Characteristics value was indeed the right track,&amp;nbsp;but I wish to get accelerometer data and motion sensor data neither of which have a UUID registered as primary service. How do I go ahead with that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading sensor data from nrf52 in ios</title><link>https://devzone.nordicsemi.com/thread/154216?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 08:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4def4931-f913-4ff1-8931-b45a69ce3853</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The whole point of Bluetooth is that it is standardised, and not dependant on the target hardware.&lt;/p&gt;
&lt;p&gt;So your iOS app neither knows nor cares&amp;nbsp;about the Nordic chip.&lt;/p&gt;
&lt;p&gt;What your iOS app interacts with is GATT - so that&amp;#39;s where you need to be focussing you searches.&lt;/p&gt;
&lt;p&gt;eg,&amp;nbsp;&lt;a href="https://www.google.co.uk/search?q=ios+swift+gatt"&gt;https://www.google.co.uk/search?q=ios+swift+gatt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>