<?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>about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36408/about-broadcast-nrf52840-sdk15-0</link><description>hello, i have a question about broadcast mode : 
 can the broadcast mode be used in parallel with the ble mode? 
 thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jul 2018 12:59:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36408/about-broadcast-nrf52840-sdk15-0" /><item><title>RE: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140399?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 12:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005ddb3d-d417-493d-81e8-fa7061f79e90</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;That is correct. To send exactly at the same time, you must use some proprietary radio protocol, such as the esb examples (which is&amp;nbsp;a different&amp;nbsp;protocol than BLE).&lt;/p&gt;
&lt;p&gt;The disadvantage with this is that the esb devices has to be listening at the time when you are transmitting. This is possible, but it takes a lot more current than using BLE, because they have to have the radios on the entire time. That does not mean that you can&amp;#39;t do it, but if the device runs on a battery, it will be drained faster.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140358?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 09:38:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72953b9d-9976-4fbe-acff-5d1f99118e9c</guid><dc:creator>lmouelo</dc:creator><description>&lt;p&gt;&amp;nbsp;ok thanks you and&amp;nbsp;so to send exactly at the same time (broadcast) I can&amp;#39;t use ble, I have to use the role of radio ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140356?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 09:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d730ec6e-534e-49e5-8943-7f866ad58bda</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The time between each communication event between the master/central and the slave/peripheral is called the connection interval. It is typically set near the top of the main.c file in our examples. The defines are:&lt;/p&gt;
&lt;p&gt;MIN_CONN_INTERVAL&lt;/p&gt;
&lt;p&gt;MAX_CONN_INTERVAL&lt;/p&gt;
&lt;p&gt;and are given in units of 1.25 ms.&lt;/p&gt;
&lt;p&gt;If you control both devices, central and peripheral, you can set&amp;nbsp;MIN_CONN_INTERVAL =&amp;nbsp;MAX_CONN_INTERVAL, and also equal in both of the devices. (The devices will disconnect if they can&amp;#39;t agree on a connection interval).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The minimum allowed connection interval in BLE is 7.5ms ( = 4 units of 1.25ms).&lt;/p&gt;
&lt;p&gt;I am not sure whether you will be able to squeeze 4 connections with a connection interval of 7.5ms on one central, but you can give it a go. 10ms should be fine I believe. Do some testing, and you will figure out pretty fast whether the connections will be maintained or not.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So a standard broadcast message is not possible in BLE. You can look into using the esb examples that we have, where several devices can listen on the same channel, and hence you can do broadcasting with this. Check out the examples:&lt;/p&gt;
&lt;p&gt;SDK\examples\proprietary_rf\esb_prx&lt;/p&gt;
&lt;p&gt;SDK\examples\proprietary_rf\esb_ptx&lt;/p&gt;
&lt;p&gt;if you are interrested.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140342?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 08:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4ef1343-068a-4452-8896-9d37358e2fb3</guid><dc:creator>lmouelo</dc:creator><description>&lt;p&gt;what&amp;nbsp; is this time between each sends on the different peripherals?&lt;/p&gt;
&lt;p&gt;it&amp;#39;s always the same time ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140333?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 08:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e801177-9be7-4ef5-8548-fdb42109fd86</guid><dc:creator>lmouelo</dc:creator><description>&lt;p&gt;okay so to send exactly at the same time (broadcast) I can&amp;#39;t use ble, I have to use the radio role?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140328?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 07:48:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae5635d8-fa04-465e-826b-e5647d1b6027</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;There is no such thing as &amp;quot;broadcast&amp;quot; in BLE. But you can forward the data to the 4 peripherals. The reason for why a broadcast doesn&amp;#39;t work is because the central has a specific timeslot for each peripheral, where that peripheral will turn on the radio in receiver mode, and these timeslot do not overlap.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you look into the examples:&lt;/p&gt;
&lt;p&gt;SDK\examples\ble_central\ble_app_multilink_central for the central&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;SDK\examples\ble_peripheral\ble_app_blinky for the peripheral(s)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can see that the central has a sort of &amp;quot;broadcast&amp;quot; where it sends a message to all of the peripherals on a button press. I say &amp;quot;broadcast&amp;quot; because it doesn&amp;#39;t send one message that all the peripherals picks up at the same time, but it sends the message to each peripheral.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140323?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 06:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:716f7955-49a4-4e3b-bb04-ba353ba0dd18</guid><dc:creator>lmouelo</dc:creator><description>&lt;p&gt;then I have a central card that receives data from 4 peripheral cards continuously and I want the central to send data once in a while to all peripheral cards at the same time (broadcast) as to receive the data, is this possible? thanks in advance&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140250?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 14:54:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d372379-63ad-43ee-9d45-9f7fe0eda97d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What exactly do you mean with &amp;quot;broadcast mode&amp;quot;? A BLE beacon? Or advertisements in general?&lt;/p&gt;
&lt;p&gt;Either way, this should be possible.&lt;/p&gt;
&lt;p&gt;Please see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/18129/beacon-and-ble-device"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was a bit confused by your second post. I am not sure I quite understand what you mean with broadcast. Do you mean advertise? You can send advertisement packets, but the other devices will have to listen with their radio at that point in time. peripherals typically don&amp;#39;t listen when they are not expecting any packets. You can do this, but listening like this takes a lot of power, and is not ideal for battery powered devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A better solution would be to send the message to the central, which can forward the packet to the other peripherals.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Peripherals works in a way that they turn off the radio when they are not using it. When they are in a connection, they will communicate with the other device when a connection interval has passed, and then turn it off again, until another connection interval has passed again. Hence they will not have their radio in listening mode and be able to hear advertising packets.&lt;/p&gt;
&lt;p&gt;When two devices are in a connection, the messages are only meant for the device that it is connected to, and other BLE devices will not pick them up. The exception is advertising and scanning. Advertising is something a peripheral does to tell other devices that they are available for connection. Scanning is what the central does to pick up these advertising packets. Scanning is a more current consuming procedure, which is why phones often are the central in a connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let me know what you mean with broadcast mode. Maybe I misinterpreted what you meant.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: about broadcast (nrf52840, sdk15.0)</title><link>https://devzone.nordicsemi.com/thread/140074?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2018 13:43:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d348814e-4e87-499b-ac09-7bc365c8763f</guid><dc:creator>lmouelo</dc:creator><description>&lt;p&gt;Sorry, I&amp;#39;m correcting what I meant: &lt;br /&gt;I have a central and 4 peripheral and the peripherals send data to the central, is it possible to parallel the central in central/broadcast&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>