<?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>RSC sample for nRF8001 redbear ble shield arduino</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12778/rsc-sample-for-nrf8001-redbear-ble-shield-arduino</link><description>I have an arduino connected to a redbear BLE shield.
the BLE shield uses nordic nRF8001 chip. 
 How could I implement RSC ? (running speed and cadence)
I would like to test it with the nordic app for ios and android: nRF Toolbox (the app has an option</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 02 Apr 2016 23:08:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12778/rsc-sample-for-nrf8001-redbear-ble-shield-arduino" /><item><title>RE: RSC sample for nRF8001 redbear ble shield arduino</title><link>https://devzone.nordicsemi.com/thread/48571?ContentTypeID=1</link><pubDate>Sat, 02 Apr 2016 23:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3427a22f-3800-4813-b01c-8236fb227cbf</guid><dc:creator>Gaucho</dc:creator><description>&lt;p&gt;i went forward:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/74040/nrfgo-studio-arduino-rsc/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSC sample for nRF8001 redbear ble shield arduino</title><link>https://devzone.nordicsemi.com/thread/48570?ContentTypeID=1</link><pubDate>Sat, 26 Mar 2016 22:28:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad29edd9-8688-4259-adf3-0e95763c3124</guid><dc:creator>Gaucho</dc:creator><description>&lt;p&gt;I downloaded and installed nRFgo studio from nordic website, then i downloaded and installed the &amp;quot;Bluetooth developer studio&amp;quot; from the Bluetooth SIG website.
the developer studio allows to create the xml file for nRFgo studio.
To do this, i installed the plugin for arduino found on Bluetooth SIG website.
I just did the drag and drop (in the developer studio) to use the RSC, then i used the plugin to generate the xml file for nRFgo studio.&lt;/p&gt;
&lt;p&gt;The generated files includes a .bat file that should be called to obtain the services.h file.
The name of the bat file is: generate_arduino_code.bat&lt;/p&gt;
&lt;p&gt;note: I had to manually run the command line included in the .bat file, because the exe path was not in the system path. Anyway, at the end i obtained all the files:
runningspeedandcadence.ino
runningspeedandcadence.h
runningspeedandcadence.cpp
services.h
services.lock
ublue_setup.gen.out.txt
deviceinformation.h
deviceinformation.cpp
nrf8001.xml&lt;/p&gt;
&lt;p&gt;Then i opened the .ino file on arduino and i tried to verify the project.&lt;/p&gt;
&lt;p&gt;I obtained many errors caused by constants containing not allowed character &amp;quot;-&amp;quot;
I just replaced &amp;quot;-&amp;quot; with &amp;quot;_&amp;quot;  in the entire project.&lt;/p&gt;
&lt;p&gt;the original constants name were:
PIPE_DEVICE_INFORMATION_IEEE_11073-20601_REGULATORY_CERTIFICATION_DATA_LIST_SET
PIPE_DEVICE_INFORMATION_IEEE_11073-20601_REGULATORY_CERTIFICATION_DATA_LIST_SET_MAX_SIZE&lt;/p&gt;
&lt;p&gt;Actually the Project can be verified without errors.
I uploaded it on the arduino mega (with the BLE shield on) and  then, as suggested in the arduino plugin readme file (plugin for bluetooth developer studio), i tried to search the Bluetooth devices with my ipad with &amp;quot;nRF toolbox&amp;quot; app for ios.
Unfortunately no device can be found by the ipad.&lt;/p&gt;
&lt;p&gt;note: flashing the heartrate example found in the nordic BLE SDK for arduino, everything work as expected, demonstrating that my setup for arduino is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSC sample for nRF8001 redbear ble shield arduino</title><link>https://devzone.nordicsemi.com/thread/48569?ContentTypeID=1</link><pubDate>Sat, 26 Mar 2016 08:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77b7884d-bbb8-496c-a27e-4ee636de5df1</guid><dc:creator>Gaucho</dc:creator><description>&lt;p&gt;Thank you.
I will start studying Nordic btle sdk for arduino&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSC sample for nRF8001 redbear ble shield arduino</title><link>https://devzone.nordicsemi.com/thread/48568?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2016 13:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f41841c5-f774-4a60-8d14-c5cf8cf8345a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;See also: &lt;a href="https://devzone.nordicsemi.com/question/69565/btle-treadmill/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSC sample for nRF8001 redbear ble shield arduino</title><link>https://devzone.nordicsemi.com/thread/48567?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2016 13:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be0df4b-1879-4560-8496-e222cb6a8a8e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You use &lt;strong&gt;nRFgo Studio&lt;/strong&gt; to create the appropriate setup for the RSC profile.&lt;/p&gt;
&lt;p&gt;You write code to derive the running speed and cadence from whatever sensor(s) you have, and to feed that information into the BT &amp;quot;Pipes&amp;quot;.&lt;/p&gt;
&lt;p&gt;Have you looked at the &lt;strong&gt;Nordic Bluetooth low energy SDK for Arduino&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino"&gt;github.com/.../ble-sdk-arduino&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>