<?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>How to inject sending time in packet in peripheral BLE module?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57529/how-to-inject-sending-time-in-packet-in-peripheral-ble-module</link><description>I&amp;#39;m trying to inject the time when the advertising packet is sent to the central BLE module, but I&amp;#39;m struggling to add &amp;quot;sending time&amp;quot; data into the advertising_data_set function. 
 I will sniff this advertising packet with wireshark and I want to check</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Mar 2020 13:56:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57529/how-to-inject-sending-time-in-packet-in-peripheral-ble-module" /><item><title>RE: How to inject sending time in packet in peripheral BLE module?</title><link>https://devzone.nordicsemi.com/thread/239147?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 13:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5b3b544-8ac6-40ff-8025-a07ae06dd9ce</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you continue the discussion&amp;nbsp;in this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58122/nrf52850-empty-pdu-initialization"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/58122/nrf52850-empty-pdu-initialization&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to inject sending time in packet in peripheral BLE module?</title><link>https://devzone.nordicsemi.com/thread/236683?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 05:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adc20b1c-bfc6-4879-9f43-d17e07c1e5b8</guid><dc:creator>Thinking_HyunSoo</dc:creator><description>&lt;p&gt;So far, I can transmit data in advertising packet. But the problem is once peripheral and central BLE devices are connected, they transmit empty PDU each other, and there is no way to put data in the empty PDU. then I cannot get time value for TOA or TDOA..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to inject sending time in packet in peripheral BLE module?</title><link>https://devzone.nordicsemi.com/thread/236052?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 16:04:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05f74772-d781-49e6-9f47-c57386ffb718</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am sorry for the long delay, I have been quite busy lately. I see that you have discussed this in&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57994/nrf52840-packet-transmitting-time-measurement-for-toa-or-tdoa"&gt; other Devzone tickets&lt;/a&gt; in the meantime. Have you made any progress on this?&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: How to inject sending time in packet in peripheral BLE module?</title><link>https://devzone.nordicsemi.com/thread/233487?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 11:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20a4ecac-2f8c-40e2-9883-73573807428f</guid><dc:creator>Thinking_HyunSoo</dc:creator><description>&lt;p&gt;HI, thanks for replying&lt;/p&gt;
&lt;p&gt;please never mind about wireshark issue.&lt;/p&gt;
&lt;p&gt;So far I understood how to add custom data to adv_data. Then how can I get the sending time of advertising packet from peripheral beacon? I want to store sending time data in adv_data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to inject sending time in packet in peripheral BLE module?</title><link>https://devzone.nordicsemi.com/thread/233474?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 10:05:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bca12d8-6f1a-4a74-b0a1-586bc8bfa892</guid><dc:creator>Simon</dc:creator><description>[quote user=""]I&amp;#39;m trying to inject the time when the advertising packet is sent to the central BLE module, but I&amp;#39;m struggling to add &amp;quot;sending time&amp;quot; data into the advertising_data_set function.[/quote]
&lt;p&gt;&amp;nbsp;Could you try to add the field&amp;nbsp;&lt;em&gt;p_manuf_specific_data&lt;/em&gt; in the struct&amp;nbsp;&lt;em&gt;adv_data. &lt;/em&gt;There you can add your custom data, such as &amp;quot;sending time&amp;quot; data. Take a look at the function&amp;nbsp;&lt;em&gt;advertising_init()&amp;nbsp;&lt;/em&gt;in the example ..\&lt;em&gt;nRF5_SDK_16.0.0_98a08e2\examples\ble_peripheral\ble_app_beacon\main.c&lt;/em&gt;, where you can see how to add manufacturer-specific data to your advertising packet. Make sure to not exceed the maximum amount of data, as specified &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19982/manufacturing-specific-data"&gt;here&lt;/a&gt;, then you may have to remove &lt;em&gt;name_type&lt;/em&gt; or &lt;em&gt;flags.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;I will sniff this advertising packet with wireshark and I want to check the time that i sent in the sniffed packet. then I can get the sending time and arriving time of the advertising packet.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am not sure what you are trying to say here. Are you struggling to sniff the packet using Wireshark, and need some help to get it working? If so, could you be more specific about the problems?&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></channel></rss>