<?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 send a packet of bytes through connection peripheral mode ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47885/how-to-send-a-packet-of-bytes-through-connection-peripheral-mode</link><description>Hi, 
 I would like to send multiple peripherals with each packet of bytes(244) to a central. I am using the blinky example from \nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_blinky where I can only send a byte each time. Does anyone encounter</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jun 2019 08:30:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47885/how-to-send-a-packet-of-bytes-through-connection-peripheral-mode" /><item><title>RE: How to send a packet of bytes through connection peripheral mode ?</title><link>https://devzone.nordicsemi.com/thread/190431?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 08:30:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:381fc6ac-c73b-49ab-91cb-9741064580f7</guid><dc:creator>Sigurd</dc:creator><description>[quote user="skysim"]Is it possible to achieve the nordic sending some data byte within some period of time without pressing any thing?[/quote]
&lt;p&gt;&amp;nbsp;Yes, use a app_timer (see &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial"&gt;this guide&lt;/a&gt;) and call&amp;nbsp;ble_nus_data_send() in the timeout handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a packet of bytes through connection peripheral mode ?</title><link>https://devzone.nordicsemi.com/thread/190400?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 03:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5edd5e12-170f-42f2-a0b4-8b2d659abed3</guid><dc:creator>Bluesky</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Now I am using&amp;nbsp;&lt;span&gt;ble_app_uart_c and ble_app_uart but I couldn&amp;#39;t send the data byte without pressing anything from keyboard. Is it possible to achieve the nordic sending some data byte within some period of time without pressing any thing?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a packet of bytes through connection peripheral mode ?</title><link>https://devzone.nordicsemi.com/thread/190003?ContentTypeID=1</link><pubDate>Thu, 30 May 2019 01:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:893fc437-188a-4583-965a-495a41918ba7</guid><dc:creator>Bluesky</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I used ble_app_uart_c and ble_app_uart where I need to type some command&amp;nbsp;so that my packet data will send to central. Is there any way that I can advertise my packet load without typing anything from the command prompt within some period of time.besides, I have to send 8 peripheral data to a central where I tried with 2 peripherals but I always need to reset to change to another peripheral.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1559201685233v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;There is a&amp;nbsp;&lt;span&gt;original simple API &amp;quot;ble_advdata_set&amp;quot; which is easier to use. If I want to have the same function of this API what should I do?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1559197540542v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a packet of bytes through connection peripheral mode ?</title><link>https://devzone.nordicsemi.com/thread/189929?ContentTypeID=1</link><pubDate>Wed, 29 May 2019 14:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fdc9f61-9471-4863-91e2-f709167d3160</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;LED characteristic used in&amp;nbsp;&lt;span&gt;ble_app_blinky example is configured&amp;nbsp;to have a fixed length of 1. If you need characteristics&amp;nbsp;that are configured&amp;nbsp;for max payload, I suggest taking a look at the ble_app_uart example instead.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>