<?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>Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59192/communicate-two-nrf52-devices-without-pairing</link><description>I want to communicate with two nRF52 devices without pairing? 
 It is possible? Yes means kindly give the realtive examples. 
 Maximum data length... 
 Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Mar 2020 08:22:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59192/communicate-two-nrf52-devices-without-pairing" /><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240556?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 08:22:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffcb56cc-1b28-4722-8354-d76cf5105604</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;if so, check out the ble_app_uart example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240541?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 05:30:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a55658c0-06b7-4183-8c4e-ea7d50a08835</guid><dc:creator>Ask313</dc:creator><description>&lt;p&gt;Also give related example...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240537?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 04:40:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc2ba6e-829b-47ca-91db-04f1c4234af8</guid><dc:creator>Ask313</dc:creator><description>&lt;p&gt;Edvin&lt;/p&gt;
&lt;p&gt;Yes,that packet must be transferred. Now we don&amp;#39;t need encryption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240496?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 15:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bde7c212-2abc-46ff-98cf-31f193986127</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes. That is correct.&lt;/p&gt;
&lt;p&gt;In order to have a secure connection (encrypted) you need to pair. If you bond, the pairing data will be stored and used the next time, so you will only have to do it the very first time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am still not sure if we understand each other correctly. When you say that:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Ask313"]Also, it will must be in secure.[/quote]
&lt;p&gt;&amp;nbsp;Do you mean that the packets must be transferred, or that it has to be encrypted?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you mean encrypted, please have a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_gls.html" rel="noopener noreferrer" target="_blank"&gt;ble_app_gls example&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240444?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 13:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:483c4b98-1018-499a-a142-2ab8517e5b5e</guid><dc:creator>Ask313</dc:creator><description>&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;i saw that link.. In that link they mentioned bonding function works for already paired devices.&lt;/p&gt;
&lt;p&gt;So i need to pair the device at least once? it&amp;#39;s correct?&lt;/p&gt;
&lt;p&gt;Give any example related to this...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240375?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 09:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34022880-f136-4492-b7c6-bd62c1b5cc92</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;You should use bonding, so that you don&amp;#39;t have to manually insert the passkey every time you connect (only the first time).&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t really see any questions. Do you have any?&lt;/p&gt;
&lt;p&gt;Did you open the link that I sent in the first reply?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240335?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 04:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed0ad73b-302a-4848-800c-c95a4eb097cb</guid><dc:creator>Ask313</dc:creator><description>&lt;p&gt;Dear Edvin,&lt;/p&gt;
&lt;p&gt;My project is control the motor or light or something through BLE(nRF52832).&lt;/p&gt;
&lt;p&gt;The BLE will receive command from Android. So every time BLE we don&amp;#39;t&amp;nbsp; need to pairing with Android.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if we give command from Android it will receive at anytime.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The BLE(device) always powered. So give your comments it will help for our project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240269?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 13:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4b1da28-2a69-4e99-ae80-597b98648607</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Check out the link that I sent.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Ask313"]Also, it will must be in secure.[/quote]
&lt;p&gt;&amp;nbsp;And&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Ask313"]I need to communicate two devices without pairing...[/quote]
&lt;p&gt;&amp;nbsp;Are oposites. You want pairing. Perhaps you want bonding. Please read the answer marked as answer (marked in green) in the link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240267?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 13:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8189a679-3d72-4de3-a1bd-832537b94b5a</guid><dc:creator>Ask313</dc:creator><description>&lt;p&gt;Dear Edvin,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. Sorry for the confusion.&lt;/p&gt;
&lt;p&gt;I need to communicate two devices without pairing...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For Example:&lt;/p&gt;
&lt;p&gt;I want to send a command from Device (A) to (B)&amp;nbsp; (or) (B) to (A) at any time. So, i don&amp;#39;t need pairing access for every time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, it will must be in secure.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Two nRF52 devices without Pairing?</title><link>https://devzone.nordicsemi.com/thread/240262?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 12:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ff9a020-c1ca-459f-8236-d1cac7eca7c3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It is definitely possible, but I suspect you are confusing pairing and connecting?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please check out this thread answered by my colleague a while back:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11939/connecting-bonding-pairing-and-whitelists"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/11939/connecting-bonding-pairing-and-whitelists&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It describes the difference between pairing and connecting. After seeing this, do you mean pairing or connecting?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Maximum data length ... Depends on whether you are connected or not.&lt;/p&gt;
&lt;p&gt;If you actually was talking about connection, and not pairing, I suggest you check out the example ble_app_uart from:&lt;/p&gt;
&lt;p&gt;SDK16.0.0\examples\ble_peripheral\ble_app_uart&lt;/p&gt;
&lt;p&gt;Maximum data length depends on what you are connected to (what length the other device can provide). If you connect to another nRF they can use the maximum length allowed by the BLE specification, 244 bytes of payload.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>