<?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>Recieve string and store it in the pstorage</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5812/recieve-string-and-store-it-in-the-pstorage</link><description>I would like to change the device name of the nRF51422 trough a mobile device(Android AND iOS ). The name should be stored even when I disconnect the supply. 
 From a nordic employee i know: iOS/Apple has blocked access to the GAP Service, where the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Mar 2015 13:33:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5812/recieve-string-and-store-it-in-the-pstorage" /><item><title>RE: Recieve string and store it in the pstorage</title><link>https://devzone.nordicsemi.com/thread/20312?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 13:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13776050-933c-4945-8eab-1079829558c2</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;This solved my problem. Thank you very much!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recieve string and store it in the pstorage</title><link>https://devzone.nordicsemi.com/thread/20311?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 13:06:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82e25faf-ada3-43cc-924e-9773ad728973</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;In the UART example, hardware flow control is enabled. If you have no peer UART device connected to the configured UART pins then the code will halt in the beginning when attempting to write string out on UART. If you disable flow control by setting&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define HWFC           false
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in pca10001.h then the example should run and you should see advertising data on the MCP side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recieve string and store it in the pstorage</title><link>https://devzone.nordicsemi.com/thread/20310?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2015 13:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b978cf46-f02a-4ec7-9219-0a413210173a</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;Is it possible, that the ble uart example is not visible for the master control panel? The project builds with success but when I open the master control panel and press scan, then its not visible and I cannot connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recieve string and store it in the pstorage</title><link>https://devzone.nordicsemi.com/thread/20309?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2015 07:51:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7680486-b488-46fd-a839-7c3896cc2c23</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Thank you Annim for your good and valid answer.&lt;/p&gt;
&lt;p&gt;An example of receiving/sending arbitrary strings over BLE is the &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/doc/7.2.0/s110/html/a00061.html"&gt;\nRF51_SDK_7.2.0_cf547b5\examples\ble_peripheral\experimental_ble_app_uart example&lt;/a&gt; in the &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/"&gt;nRF51 SDK&lt;/a&gt;. You can then use the nRF UART app to send/receive the data on the IOS side, the app source code is &lt;a href="https://www.nordicsemi.com/eng/Products/nRFready-Demo-APPS/nRF-UART-App"&gt;here&lt;/a&gt; and it can also be downloaded from App Store. Also available for Android.&lt;/p&gt;
&lt;p&gt;Then there is a pstorage example &lt;a href="https://devzone.nordicsemi.com/question/15271/how-can-i-write-10kb-of-data-to-internal-flash/?answer=17300#post-id-17300"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recieve string and store it in the pstorage</title><link>https://devzone.nordicsemi.com/thread/20308?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 11:25:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e89c20e7-7f26-4ead-9c92-2982566011c3</guid><dc:creator>Annim</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To change the Adv Device name, i &lt;em&gt;guess&lt;/em&gt;, you have to change the adv packet in case of nrf51422, (can be done runtime too, just have to call some set_adv api i believe)why i am not sure because you might be working on ANT.&lt;/p&gt;
&lt;p&gt;Now i think there should be some uart service or say stack stream outlet to push or seek data(serial data), so by having a serial service you can have that string data into your nrf51422. And then after carry out the pstorage store activity and try not putting any for loop delays anywhere, it may block cpu 100%, instead, trust on event based callback approach and always perform any calls in main context, set or unset any flags in callback block, And then perform further based on the state of those flags.&lt;/p&gt;
&lt;p&gt;Hope this make sense. And the above fits regarding nrf51822 with bluetooth softdevice. I am not sure about ANT, but may be analogues to BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>