<?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>Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48204/hi-i-am-trying-to-increase-the-transfer-speed-using-the-uart-ove-ble-application</link><description>I need to increas the speed using the UART ove BLE application. 
 I try to add new characheristics to the Nordic UART Service. 
 I have added the UUID for this new charactheristic 
 #define BLE_UUID_NUS_RX2_CHARACTERISTIC 0x0004 /**&amp;lt; The UUID of the RX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jun 2019 15:24:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48204/hi-i-am-trying-to-increase-the-transfer-speed-using-the-uart-ove-ble-application" /><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191438?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 15:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7792e91e-301d-4478-a95d-d6fa554b35b3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The more important question was&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you read &amp;amp; follow through the tutorials?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191435?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 15:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3fa5790-adaf-4b3b-af84-0827ed7aa79a</guid><dc:creator>jrubiralta</dc:creator><description>&lt;p&gt;Sorry&lt;pre class="ui-code" data-mode="c_cpp"&gt;void read_events_poll(void){
	
	__ALIGN(4) uint8_t evt_buffer[NRF_SDH_BLE_EVT_BUF_SIZE];
	ble_evt_t * p_ble_evt;
	uint16_t     evt_len = (uint16_t)sizeof(evt_buffer);

	ret_code_t ret_code = sd_ble_evt_get(evt_buffer, &amp;amp;evt_len);
	if (ret_code != NRF_SUCCESS)
		return;
	p_ble_evt = (ble_evt_t *)evt_buffer;
	nrf_section_iter_t  iter;
	for (nrf_section_iter_init(&amp;amp;iter, &amp;amp;sdh_ble_observers);
		 nrf_section_iter_get(&amp;amp;iter) != NULL;
		 nrf_section_iter_next(&amp;amp;iter))
	{
		nrf_sdh_ble_evt_observer_t * p_observer;
		nrf_sdh_ble_evt_handler_t    handler;

		p_observer = (nrf_sdh_ble_evt_observer_t *)nrf_section_iter_get(&amp;amp;iter);
		handler    = p_observer-&amp;gt;handler;

		handler(p_ble_evt, p_observer-&amp;gt;p_context);
	}
}

int main(void)
{
    bool erase_bonds;

    // Initialize.
    uart_init();
    log_init();
    timers_init();
    buttons_leds_init(&amp;amp;erase_bonds);
    power_management_init();
    ble_stack_init();
    gap_params_init();
    gatt_init();
    services_init();
    advertising_init();
    conn_params_init();

    // Start execution.
    // printf(&amp;quot;\r\nUART started.\r\n&amp;quot;);
    NRF_LOG_INFO(&amp;quot;Debug logging for UART over RTT started.&amp;quot;);
    advertising_start();

    // Enter main loop.
    for (;;)
    {
		read_events_poll();
		sd_app_evt_wait();
    }
}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191434?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 15:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4ba6b93-35ab-43ec-9412-8ded47c37220</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Did you read &amp;amp; follow through the tutorials?&lt;/p&gt;
&lt;p&gt;How to properly post source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5367._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191430?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 15:02:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1793b83-870d-4125-b9d0-b40dfef58f41</guid><dc:creator>jrubiralta</dc:creator><description>&lt;p&gt;Helo, I have added 2 charactheristcs. I write the 3 charactheristics in the phone. I read the ble event poll in the main application and normaly only one charactheristic arrives. Some times arrives 2 charactheristics and somtime arrives 3 charactheristics. &amp;nbsp; &lt;br /&gt;Can i write more than 1 charactheristic at a time?&lt;br /&gt;&lt;br /&gt;void read_events_poll(void){&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;__ALIGN(4) uint8_t evt_buffer[NRF_SDH_BLE_EVT_BUF_SIZE];&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ble_evt_t * p_ble_evt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;uint16_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt_len = (uint16_t)sizeof(evt_buffer);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ret_code_t ret_code = sd_ble_evt_get(evt_buffer, &amp;amp;evt_len);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (ret_code != NRF_SUCCESS)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;p_ble_evt = (ble_evt_t *)evt_buffer;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;nrf_section_iter_t&amp;nbsp; iter;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (nrf_section_iter_init(&amp;amp;iter, &amp;amp;sdh_ble_observers);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; nrf_section_iter_get(&amp;amp;iter) != NULL;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; nrf_section_iter_next(&amp;amp;iter))&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;nrf_sdh_ble_evt_observer_t * p_observer;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;nrf_sdh_ble_evt_handler_t&amp;nbsp;&amp;nbsp;&amp;nbsp; handler;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;p_observer = (nrf_sdh_ble_evt_observer_t *)nrf_section_iter_get(&amp;amp;iter);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;handler&amp;nbsp;&amp;nbsp;&amp;nbsp; = p_observer-&amp;gt;handler;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;handler(p_ble_evt, p_observer-&amp;gt;p_context);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; // Enter main loop.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (;;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;read_events_poll();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;sd_app_evt_wait();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idle_state_handle();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191149?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f3b9aba-cd6b-4a32-8ddc-e8c51f8fb98e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you read the tutorials on adding custom services &amp;amp; characteristics?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s in there ...&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191144?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bf55250-d663-44fa-84ef-599bfff3a47a</guid><dc:creator>jrubiralta</dc:creator><description>&lt;p&gt;Ok, i woul like to try it, How can i increase the memoty stach?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191143?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0c909de-98eb-41bb-8ac7-3d9f7dc4aa9a</guid><dc:creator>jrubiralta</dc:creator><description>&lt;p&gt;Ok,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191142?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:43:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21de4e97-de5e-445c-96d5-059a8bd7158f</guid><dc:creator>jrubiralta</dc:creator><description>&lt;p&gt;Ok,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191141?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e2ce1ae-3ca3-4b8d-a3fa-402abf09a499</guid><dc:creator>jrubiralta</dc:creator><description>&lt;p&gt;Ok,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191128?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c5a9ffa-cc3b-410d-8445-63fb099af0ab</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;No -&amp;nbsp;I don&amp;#39;t think that&amp;#39;s going to work.&lt;/p&gt;
&lt;p&gt;You still only have the same single BLE radio link - adding more characteristics doesn&amp;#39;t increase the capacity of the BLE link!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191125?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:08:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ed3f81-d278-48bf-bfb2-47919a0e367d</guid><dc:creator>jrubiralta</dc:creator><description>&lt;p&gt;In normal opperation, the transfer speed is enauth.&lt;/p&gt;
&lt;p&gt;When i need to update my firmware, i need biger speed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I want to write several charactheristic at the same time to reduce the time to answer the ACK to the phone.&lt;/p&gt;
&lt;p&gt;With one RX charactheristic, i can send 240 bytes.&lt;/p&gt;
&lt;p&gt;With 4 RX charactheristics, i can send 240 * 8 = 1920 bytes.&lt;/p&gt;
&lt;p&gt;The BLE Data rate is 1Mb. This means that i can send several charactheristics at the same time.&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry, mi device id nrf52832&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, i am trying to increase the transfer speed using the UART ove BLE application</title><link>https://devzone.nordicsemi.com/thread/191116?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 12:51:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38c09437-9440-4dd5-aaf2-b43be34e9b6f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;span class="mceItem mceNonEditable mceQuote" id="mceQuote2"&gt;...&lt;/span&gt;&lt;/p&gt;
[quote userid="80347" url="~/f/nordic-q-a/48204/hi-i-am-trying-to-increase-the-transfer-speed-using-the-uart-ove-ble-application"]I need to increas the speed using the UART ove BLE[/quote]
&lt;p&gt;From what? To what?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Remember that the specific design goal of BLE, as the name suggests, is&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&lt;em&gt;Low&lt;/em&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Energy -&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;not high-speed or high-volume data transfer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Often, it is the phone which limits the throughput.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="80347" url="~/f/nordic-q-a/48204/hi-i-am-trying-to-increase-the-transfer-speed-using-the-uart-ove-ble-application"]I try to add new characheristics[/quote]
&lt;p&gt;How would that help?&lt;/p&gt;
&lt;p&gt;That seems to be an entirely unrelated question to the topic title?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>