<?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>How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7377/how-to-send-single-bit-data-from-a-nrf-51822ek-slave-on-a-nrf51822ek-master</link><description>Hi, My project is that when a button is pressed on a slave (nrf51822ek), a central (another nrf51822) gets to know which slave has triggered and sends its status 1/0 to a webserver made on php or asp. From this server , data is sent to a mobile app. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2015 06:36:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7377/how-to-send-single-bit-data-from-a-nrf-51822ek-slave-on-a-nrf51822ek-master" /><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26208?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 06:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e4effaf-f4f2-4ca7-b361-5aa12233c1b0</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;The edit you made should really be posted as a new question. If you are seing the bit toggled on MCP, then it is just an UART message you fail to print when you receive the data. Have a look at BLE_GATTS_EVT_WRITE in on_ble_evt or similar and see what function is triggered. Then put a printf there with the data you want (e.g in p_evt_write-&amp;gt;data)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26216?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2015 12:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9405b0e-e1cb-44d7-81c8-cac3a88045d7</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Mohib&lt;/p&gt;
&lt;p&gt;In order to port any development kit example to the evaluation kit, look at the porting guide on &lt;a href="https://devzone.nordicsemi.com/question/21549/how-to-port-nrf51822-development-kit-examples-to-the-nrf51822-evaluation-kit/?answer=21550#post-id-21550"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To make the UART work on the PCA10001 evaluation kit through USB, make sure you have hardware flow control (HWFC) enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26215?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 17:55:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56728b0f-c57a-4ed7-98ad-ff44080850b6</guid><dc:creator>Mohib</dc:creator><description>&lt;p&gt;Thank u very much for the link, but my point is that i am unable to send my own data from peri to central. their is no code of multilink cenral example for pca10001 board . There is code for nrf6310, and when i make changes to work it for pca10001 it does not show any output on hyperterminal whereas i am getting some output by burning the hex of code for pca10001 but unfortunately i dont have its main.c file where i can make changes to send my own data and so i am left with code for nrf6310 only. can i make it work for pca10001 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26214?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 09:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f8731b8-ad25-4315-b9a4-54e621037d5e</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Mohib&lt;/p&gt;
&lt;p&gt;I see from you link that you are using nRF51 SDK 6.0.0. You can find source code for all SDKs in &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/"&gt;developer.nordicsemi.com&lt;/a&gt;. You should find the multilink cenral example under the \Nordic\nrf51_sdk_v6_0_0_43681\nrf51822\Board\nrf6310\s120\experimental&lt;br /&gt;
ble_app_multilink_central in SDK 6.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26213?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2015 05:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e459952-8891-4145-b5a6-8dd4dda233fe</guid><dc:creator>Mohib</dc:creator><description>&lt;p&gt;Hello,  I am experimenting this link &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.0.0/s120/html/a00064.html"&gt;devzone.nordicsemi.com/.../a00064.html&lt;/a&gt;. The code of central is for nrf6310. When i changed code to make it work, for pca10001 board , it does not display anything on hyper terminal . However when i burn this hex file &lt;a href="https://www.dropbox.com/s/2p4qkb6f1j7q8b7/ble_app_multilink_central.hex?dl=0"&gt;www.dropbox.com/.../ble_app_multilink_central.hex&lt;/a&gt; , it worked as intended displaying data being received on hyper terminal but unfortunately we dont have its main.c file so that we can transmit our own data. Can i get the code for this hex or make nrf6310 central code workable for pca10001 somehow ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26212?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2015 12:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f28493d1-5819-4e36-90d0-d9feaace77cc</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Mohib&lt;/p&gt;
&lt;p&gt;If you have enabled UART debugging on the central by defining the ENABLE_DEBUG_LOG_SUPPORT constant, you should see the peer address when the central connects to the peripheral. It is stored in p_event-&amp;gt;event_param.p_gap_param-&amp;gt;params.connected.peer_addr. It is printed out in the device_manager_event_handler (main.c file) when the  DM_EVT_CONNECTION event is received on the central device.&lt;/p&gt;
&lt;p&gt;I have also managed to print this out on &lt;a href="https://devzone.nordicsemi.com/tutorials/6/debugging-with-real-time-terminal/"&gt;Keil RTT debug&lt;/a&gt;, if that is of any interest.&lt;/p&gt;
&lt;p&gt;I have tested this with SDK 8.1 and softdevice S110 8.0.0 and S120 2.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26211?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2015 11:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dadf20c6-218e-4aca-9374-6351eb590b4c</guid><dc:creator>Eirik Aa</dc:creator><description>&lt;p&gt;You will find the address on the central when examening the:
p_ble_evt-&amp;gt;evt.gap_evt.params.adv_report.peer_addr / p_ble_evt-&amp;gt;evt.gap_evt.params.connected.peer_addr &amp;lt;-- Just look for peer_addr
Here you can look at the deive that sendt the  events address.&lt;/p&gt;
&lt;p&gt;If you do not need any receit on the device triggering the btn I would simply go for sending the button press in the advertisement package&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26210?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 18:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44aed18a-404a-4f6f-b5d1-080e7b192c66</guid><dc:creator>Mohib</dc:creator><description>&lt;p&gt;i am using multilink_peripheral and multilink_central projects , hyper terminal shows &amp;quot;Advertising notification&amp;quot; on hyper terminal when central is connected ,but not the device id...Also plz ans the 2nd art of question&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send single bit data from a nrf-51822ek slave on a nrf51822ek-master</title><link>https://devzone.nordicsemi.com/thread/26209?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 16:08:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6751cb-fbb7-48e7-8412-ef8f006518bb</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;You could do this without even being connected. Set up the peripheral to start advertising on button press and let the central scan continuously.&lt;/p&gt;
&lt;p&gt;Or, set them up to connect each other, let the central request notifications. When you press the button (while connected), this should trigger a notification transmission, and the central will automatically read this data. That&amp;#39;s the outline at least&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>