<?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>Serialization (connectivity software.)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72860/serialization-connectivity-software</link><description>Hi everybody, 
 I have been reading the serialization documentation ( infocenter.nordicsemi.com/index.jsp and I am not very clear about some points. 
 
 What is it for and what should it contain the firmware connectiviy? 
 If i create my own GATT service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Mar 2021 10:47:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72860/serialization-connectivity-software" /><item><title>RE: Serialization (connectivity software.)</title><link>https://devzone.nordicsemi.com/thread/300353?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 10:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40a9bca7-9e9f-4227-9eb0-65c539ece542</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="josantoniojl"]So, I wanted to know, what to write in the connectivity software.[/quote]
&lt;p&gt;The connectivity software can be used almost directly. You may have to configure UART pins and clock source (if it differs from the defaults used for the DK project.)&lt;/p&gt;
[quote user="josantoniojl"]And if the GATT will be used in the connectivity chip.[/quote]
&lt;p&gt;I am afraid I do not quite understand what you mean. GATT is part of the BLE stack, and the SoftDevice has an API for working with GATT both as &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v7.2.0%2Fgroup___b_l_e___g_a_t_t_s.html"&gt;server&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v7.2.0%2Fgroup___b_l_e___g_a_t_t_c.html"&gt;client&lt;/a&gt;.&lt;/p&gt;
[quote user="josantoniojl"]Also, in terms of performance it will be better to write a BLE application on the nRF?[/quote]
&lt;p&gt;Probably yes. The nRF series SoCs do have enough resources to run more than just the stack. It would free up some resources on the main MCU, and reduce the amount of data transfer over the serial interface. Also it means you can use libraries from our SDK for handling e.g. bonding.&lt;/p&gt;
&lt;p&gt;That being said, my best advice is to look at the options, what the SoftDevice API provides, what our SDK adds in terms of BLE related libraries, and what you need for your product. Then decide whether to use the SoftDevice API directly from the main MCU, or to implement some of the BLE application layer on the nRF, and rather use your own serial protocol for exchanging the necessary information between main MCU and nRF. Both are viable options.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serialization (connectivity software.)</title><link>https://devzone.nordicsemi.com/thread/300209?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 16:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa014f54-4e25-49d7-8011-a5b8e75af500</guid><dc:creator>josantoniojl</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;I will use the NRF as coprocessor. The principal one is an stm32 processor.&lt;/p&gt;
&lt;p&gt;And yes at the beginning I thought write a BLE application on the nRF. But reading the documentation the recommendation is to serialize the SoftDevice.&lt;/p&gt;
&lt;p&gt;But I&amp;rsquo;m still having the same doubt, in the documentation its says :&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="604"&gt;
&lt;p&gt;In addition to the SoftDevice, the connectivity chip must be programmed with the connectivity software. You can find the source code and the project file of the example in the following folder: &amp;lt;InstallFolder&amp;gt;\examples\connectivity (select the project for the protocol that you want to use).&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;So, I wanted to know, what to write in the connectivity software. And if the GATT will be used in the connectivity chip.&lt;/p&gt;
&lt;p&gt;Can you answered me these two questions?&lt;/p&gt;
&lt;p&gt;Also, in terms of performance it will be better to write a BLE application on the nRF?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Jos&amp;eacute;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serialization (connectivity software.)</title><link>https://devzone.nordicsemi.com/thread/300193?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 15:04:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0b4c4d3-aeac-438e-a690-a65e0a7e60f0</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The serialization is for if you want our SoftDevice (BLE stack) to run on one microcontroller (MCU), but the application (calling the SoftDevice API) running on a different MCU.&lt;/p&gt;
&lt;p&gt;GATT services are on the Application layer.&lt;/p&gt;
&lt;p&gt;If you want to run everything on a single nRF MCU, then you should not use serialization at all, but rather just call the SoftDevice API directly.&lt;/p&gt;
&lt;p&gt;Also, if you do need to split your product in two, using an nRF as network chip, it often makes more sense to write a BLE application on the nRF, with a higher-level serial interface than what SoftDevice serialization gives you. That way you do not need to re-implement the BLE related SDK libraries on the other MCU. If that other MCU is an nRF, then you should probably rather use a more powerful nRF MCU in the first place, and use the SoftDevice directly.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>