<?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>BLE advertising : Minimum packet length ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35782/ble-advertising-minimum-packet-length</link><description>Hello, 
 I&amp;#39;m a beginner on BLE protocol and i would like to send data during approximately 4us,stop it during the same time and transmit signal again during 4us and so on. 
 This mean that advertising packet will be less than 1byte (8us). Is it possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Jul 2018 14:57:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35782/ble-advertising-minimum-packet-length" /><item><title>RE: BLE advertising : Minimum packet length ?</title><link>https://devzone.nordicsemi.com/thread/138560?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 14:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99906554-88f8-4b2e-bc19-b495ce1a9b50</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;There is nothing on a smartphone that operates at that rate. Modern smartphones have BLE v4, maybe BLEv5, traditional bluetooth BR/EDR, some phones have ANT, most have NFC, 802.11b,g,a,an, ac (ie, WiFi). They also have 2G/3G/4G/LTE modems but you won&amp;#39;t be able to access them.&amp;nbsp; They just serve to provide a data path that you don&amp;#39;t really control.&lt;/p&gt;
&lt;p&gt;Anyway, nothing on a smartphone operates at 120kHz for the minimum basic time slot or packet length (as the case may be since these are a mix of random access and time division protocols).&lt;/p&gt;
&lt;p&gt;If you really have to have 8usec bursts of data you will have to do some custom device that you hang off of the USB port on the smartphone. You will likely have to come up with your own protocol for the transmission or repurpose an existing one. Since it is custom you can probably do a wideband solution then you can send well formatted data in that 8usec burst with synchronization, channel equalization and FEC data.&lt;/p&gt;
&lt;p&gt;But again this well be custom hardware at both ends.&amp;nbsp; You can&amp;#39;t get a stock SoC like nRF to do this.&lt;/p&gt;
&lt;p&gt;I think if we had a better idea of your application we could assist. But your requirements are a little vague. Normally if you are sampling data at 120kHz you would just buffer and periodically broadcast en masse the accumulated data. That you actually can do with BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE advertising : Minimum packet length ?</title><link>https://devzone.nordicsemi.com/thread/138431?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 07:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbb06d1d-c6dc-4894-8c9b-8c2466da69a8</guid><dc:creator>Altron</dc:creator><description>&lt;p&gt;Thanks :)&lt;/p&gt;
&lt;p&gt;As i said i don&amp;#39;t want to establish connection between 2 devices. Do you have a idea of how can i turn on a sensor with a perdiodical signal at 120KHz through the smartphone, no matter the communication protocol (WIFI or BLE) and the transmitted data frame ?&lt;/p&gt;
&lt;p&gt;The receiver (sensor) can only detect this signal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE advertising : Minimum packet length ?</title><link>https://devzone.nordicsemi.com/thread/137832?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 09:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdac0c71-d5e8-440c-9282-3bdb7ec488a1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I understand what you want to do, but it is not possible. For any given packet there is typically this timing:&lt;/p&gt;
&lt;p&gt;startup radio : 150us&lt;/p&gt;
&lt;p&gt;preamble and address (2Mbps): 20us&lt;/p&gt;
&lt;p&gt;packet content (2Mbps): (4us for each 8bit)&lt;/p&gt;
&lt;p&gt;crc (2Mbps): 8us&lt;/p&gt;
&lt;p&gt;Then you typically&amp;nbsp;want to switch direction to receive an ack (not counting if there may be&amp;nbsp;retransmissions due to packet loss).&lt;/p&gt;
&lt;p&gt;So in total it may take around 500us putting it all together sending one data packet in a proprietary way (you can&amp;#39;t do it this fast in BLE).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE advertising : Minimum packet length ?</title><link>https://devzone.nordicsemi.com/thread/137716?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 14:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1330e514-0fa2-49d7-b839-865c90ebb16c</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;BLE broadcasts a preamble and sync word prior to the packets as do most wireless protocols.&lt;/p&gt;
&lt;p&gt;These alone are longer than 8usec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE advertising : Minimum packet length ?</title><link>https://devzone.nordicsemi.com/thread/137655?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 11:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a622ebd8-32d6-431c-9424-477654da1348</guid><dc:creator>Altron</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;But i don&amp;#39;t want to establish connection between 2 devices. I just need to make advertising during 7us or less and stop it after as a pulse signal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE advertising : Minimum packet length ?</title><link>https://devzone.nordicsemi.com/thread/137651?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 11:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:454dfebc-e295-4c3c-beff-b7988b3a7ced</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, in BLE the minimum connection interval is 7.5ms. So you need to buffer up data into 7.5ms chunks.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>