<?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>can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second</link><description>Hello 
 
 we are thinking of using the nrf52832 (sdk 16.0, s132) , which we are a bit familiar with by now. 
 We have a project in which we need to transmit data to 150 unit via BLE, we do not think of pairing with the receiveing units. 
 
 we are thinking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jun 2020 09:26:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second" /><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/256141?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 09:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5933706b-19b2-4a19-acdd-be7af5010d22</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="90084" url="~/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second/256082"]I am a bit confused.. when referring to a 255 byte of data size in a packet, are we referring to a beacon packet or a broadcasting packet (does it metter? are they both runing over the 3 advertising channels? ) ?[/quote]
&lt;p&gt;I can&amp;#39;t get what you mean under &amp;#39;broadcasting packet&amp;#39;, but any packed can&amp;#39;t be longer than 255 bytes - it&amp;#39;s a hardware limitation. You can set channel mask to advertise only on a single channel.&lt;/p&gt;
[quote userid="90084" url="~/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second/256082"]When talking about time slots do you mean after pairing has been made ( i guess it is configured within the GATT)&amp;nbsp; ?[/quote]
&lt;p&gt;I mean a custom protocol that would use radio directly - no GATT and pairing, you can define timings and packet content as you wish (again, not longer than 255 bytes). The drawback is lack of security (if you&amp;#39;re concerned with it) and higher complexity of development.&lt;/p&gt;
[quote userid="90084" url="~/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second/256082"]If I wish to send a 255 byte packet from my nrf52832, how many packets like that I can broadcast in one second ? I think I need at least 15, to 3 different units groups ids ?[/quote]
&lt;p&gt;With BLE advertising, you&amp;#39;re limited with minimal interval that is 20 msec - you can send about 50 messages in a second (with extended advertisings, a message can consist of more than one packet, up to 1650 bytes).&lt;/p&gt;
[quote userid="90084" url="~/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second/256082"]and is there an sdk example or certain softdevice that support Bluetooth instead of ble&amp;nbsp; ?[/quote]
&lt;p&gt;BLE is Bluetooth Low Energy, under Bluetooth 5.0 I mean its low energy variant. We&amp;#39;re not talking about classic Bluetooth - it&amp;#39;s not supported by nrf52.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/256082?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 06:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1b9ac23-7c83-468f-9476-d256bdb223c9</guid><dc:creator>ziv123</dc:creator><description>&lt;p style="background:white;line-height:18.0pt;margin:0cm 0cm 18.0pt 0cm;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;Hi&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;text-align:start;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;&lt;span&gt;I am a bit confused.. when referring to a 255 byte of data size in a packet, are we referring to a beacon packet or a broadcasting packet (does it metter? are they both runing over the 3 advertising channels? ) ?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;When talking about time slots do you mean after pairing has been made ( i guess it is configured within the GATT)&amp;nbsp; ? &lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;I am not planning on pairing because I want to send the message from one unit to all the rest (its like an initiating central to many peripheral) and I don&amp;#39;t want to loos time on scanning Acks and such.&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;If I wish to send a 255 byte packet from my nrf52832, how many packets like that I can broadcast in one second ? I think I need at least 15, to 3 different units groups ids ?&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;is it preferable to use Bluetooth 5.0 if i have no power supply issues ?&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;text-align:start;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;if Bluetooth is preferable then why and does it have a brodcast mode like beacon or other to transmit data to all listeners?&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;text-align:start;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;and is there an sdk example or certain softdevice that support Bluetooth instead of ble&amp;nbsp; ?&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm 18.0pt 0cm;text-align:start;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;line-height:18.0pt;margin:18.0pt 0cm .0001pt 0cm;text-align:start;"&gt;&lt;span style="color:#11171a;font-family:&amp;#39;Helvetica&amp;#39;,sans-serif;font-size:10.5pt;"&gt;Ziv&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255457?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 09:46:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e353a8aa-9b4e-4c28-8b3f-eab301699b76</guid><dc:creator>Dmitry</dc:creator><description>[quote userid="90084" url="~/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second/255409"]well i was thinking of grouping 50 messages in a packet (not sure how long this packet needs to be in that case)[/quote]
&lt;p&gt;A single packet cannot be longer than 255&amp;nbsp;bytes - you can group up to 8 devices into a message, but in case of a single error, the whole message will be lost.&lt;/p&gt;
[quote userid="90084" url="~/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second/255409"]what did you mean by different time slots for each receiver[/quote]
&lt;p&gt;When using own protocol, you can divide 1 second into 150 timeslots, sending a message for each device with different access address at exact point of time.&lt;/p&gt;
[quote userid="90084" url="~/f/nordic-q-a/62656/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second/255409"] i don&amp;#39;t have a shared clock or something like that[/quote]
&lt;p&gt;I don&amp;#39;t know your case in detail, an easiest way is to listen continuously until first packet with receiver&amp;#39;s access address arrived, then start RX&amp;nbsp;every time a bit ahead of its next timeslot (knowing that there should be exactly 1000 ms from start to start).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255409?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 07:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c86e59-a114-4cec-a5ea-673feb6e4471</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;hi Dmitry&lt;/p&gt;
&lt;p&gt;well i was thinking of grouping 50 messages in a packet (not sure how long this packet needs to be in that case) and then send 3 messages in one second, but i guess there can be some deviation which is best .. what did you mean by different time slots for each receiver, it is an asynch communication, i don&amp;#39;t have a shared clock or something like that, how is that possible to have different time slots for each receiver group to start listening at the correct time within the every second ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255362?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 21:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4936e960-a668-4c16-84da-318462448a39</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Bluetooth 5 is a good idea - not only because of longer messages, but because you can offload your data to secondary channels and not spam too much at primary ones. Remember, the longer your message, the higher probability to have a bit error somewhere and loose the whole packet.&lt;/p&gt;
&lt;p&gt;Grouping messages by 3 in a packet, you will need to send 50 messages per second, not a problem.. but think about other side - every device should listen continuously, receive and analyze each message, taking radio and CPU busy most of the time. Maybe it worth to think about custom protocol with different time slots for each receiver. Though if your devices are not battery-powered, it&amp;#39;s not an issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255344?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 16:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc3df102-f12a-438f-a441-8b8cb933ab8b</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;yes, that sounds like a good idea.&lt;/p&gt;
&lt;p&gt;If you can&amp;#39;t pack it all into a single message, perhaps you could divide the receivers into a number of groups - and apply this scheme &lt;em&gt;per group&lt;/em&gt;. eg, 10 groups of 15 (an nRF52832 can do 20 connections at once, IIRC)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255343?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 16:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e7d42f2-1566-48c1-bf8e-e359718b7455</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So that&amp;#39;s not &amp;quot;broadcasting&amp;quot;, then - is it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255339?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 16:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11c2e95d-a39a-40c8-82ff-dde71e338420</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;thinking about it ...&lt;/p&gt;
&lt;p&gt;an elegant solution could be to send one message, each unit receives the same message but takes its own relevant data by byte position or some &amp;quot;pre-unit id&amp;quot; info .. need to check the maximum number of bytes possible to deliver via ble or bleutooth 5&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255336?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 16:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22669414-38c7-483e-862d-151a2bfa77c8</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;this is not what i asked... i know when you send a beacon everybody in the area can scan for it but i want to send different messages to different units, which i design as well, i don&amp;#39;t want to create the pear to pear connection because i asume that will take to much time, each unit will read its own id in the message&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but the main unit needs to be sending 150 different messages in one seconds that was my question&lt;/p&gt;
&lt;p&gt;regarding the dupilcate.. i send the same question one for hardware and one for software i thought it goes to different supporter engineers from nordic&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can an nrf52 series SOC transmite a ble message to 150 units in one second ?</title><link>https://devzone.nordicsemi.com/thread/255334?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 15:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ad79c38-f646-4c2e-a712-37a6bf29532d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;If you&amp;#39;re &lt;em&gt;broadcasting&lt;/em&gt;, as a beacon, then you have no idea how many devices are listening - it is essentially unlimited.&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;AHA: it is a duplicate - not just the forum losing replies:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/62657/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/62657/can-an-nrf52-series-soc-transmite-a-ble-message-to-150-units-in-one-second&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>