<?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>Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50385/pairing-bonding-data-communication-problem</link><description>Hi, every developers, 
 I am testing the example of ble_app_hrs_c and ble_app_hrs using 2 nRF52840 (in SDK 15.3.0 VERSION). 
 My goal is that data communication with two DK in pairing state. The data to be sent is not a heart rate or a battery level but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Aug 2019 13:29:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50385/pairing-bonding-data-communication-problem" /><item><title>RE: Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/thread/202168?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 13:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74d00ad5-4a6c-4756-be6f-dec3446e8df8</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Take a look at this ticket:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47930/uart-ble-example---data-size-limit"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47930/uart-ble-example---data-size-limit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/thread/202057?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 08:37:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:097776fd-37b0-48cc-8628-019c22f41161</guid><dc:creator>sjheo</dc:creator><description>&lt;p&gt;Hi, Simon. Your kind answer was helpful to me.&lt;/p&gt;
&lt;p&gt;I checked the ble_app_blinky example and modified the function you mentioned.&lt;/p&gt;
&lt;p&gt;Now, I can data communication with paired two modules.&lt;/p&gt;
&lt;p&gt;But, I knew through the modification than the maximum data length with sd_ble_gatts_hvx function is 20 byte.. I am a little sad because I need to send more data at once for my project.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your help and I&amp;#39;ll make more changes for me!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/thread/202010?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 00:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5863749c-8585-4498-a488-df16a62e44a8</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;&lt;span&gt;The functions pm_peer_data_load() and pm_peer_data_store() are not&amp;nbsp;use to send/receive data between the devices (central and peripheral). The functions are used to store information in flash memory, like bonding information, GATT data and address resolution.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In order to send data from a server (e.g. &lt;em&gt;ble_app_hrs&lt;/em&gt;) to a client (e.g. &lt;em&gt;ble_app_hrs_c&lt;/em&gt;) over BLE, you have to notify the data (attribute value). This can be done by using the function&amp;nbsp;&lt;em&gt;sd_ble_gatts_hvx()&amp;nbsp;&lt;/em&gt;in ble_gatts.h&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In order to send data from a client to a server over BLE, you have to&amp;nbsp;write the data (e.g. a characteristic value). This can be done by using the function&amp;nbsp;&lt;em&gt;sd_ble_gattc_write() &lt;/em&gt;in ble_gattc.h.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/thread/201708?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 01:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:685bf81b-0b48-4b17-80cb-174729cb5b86</guid><dc:creator>sjheo</dc:creator><description>&lt;div class="jhH5U r-ij6off1Go4SQ"&gt;
&lt;div class="tw-src-ltr" id="tw-ob"&gt;
&lt;div class="oSioSc"&gt;
&lt;div id="tw-target"&gt;
&lt;div class="g9WsWb" id="kAz1tf"&gt;
&lt;div class="tw-ta-container tw-nfl" id="tw-target-text-container"&gt;
&lt;p&gt;Hi, Simon&lt;/p&gt;
&lt;p&gt;I want the two modules to be paired via the peer manager to send and receive data.&lt;/p&gt;
&lt;p&gt;However, the two functions mentioned in the text (pm_peer_data_load and pm_peer_data_store) that update and retrieve the data received from the peer, not related to transport the data.&lt;/p&gt;
&lt;p&gt;So, I asked if you know about the functions that send and receive data from the two paired modules.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the multilink_central example, do I need to send data to paired peers like the lbs(Led Button Service) handler?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/thread/201705?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 00:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d0c6592-5be1-42cb-a027-c6f058bcc4ef</guid><dc:creator>Simon</dc:creator><description>[quote user="sjheo"]Do you know anything about functions that send and receive data?[/quote]
&lt;p&gt;&amp;nbsp;Could you elaborate more?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/thread/201379?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 00:51:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73abe927-76ad-4e15-89d8-f15cc602707d</guid><dc:creator>sjheo</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your response. Yes, as you say, through nrfjprog --eraseall, the error is gone, so it does.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you know anything about functions that send and receive data?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing(bonding) data communication PROBLEM</title><link>https://devzone.nordicsemi.com/thread/201360?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 20:04:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b00a33a6-7e1b-4391-9c6c-1ab3f5dbd5b0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The number&amp;nbsp;&lt;span&gt;4102 (0x1006) indicates that you got the error PM_CONN_SEC_ERROR_PIN_OR_KEY_MISSING, which means that encryption failed because&amp;nbsp; the peripheral has lost the LTK for this bond.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Try erasing the flash of both chips through &lt;em&gt;nrfjprog --eraseall, &lt;/em&gt;then build, program and run the examples once again. I think this will make the devices able to bond successfully.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>