<?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>Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12/is-there-a-serial-port-profile-for-ble</link><description>Is there any equivalent to the SPP profile from Bluetooth Classic? I&amp;#39;ve always used this as a way to transmit custom data using Bluetooth, but I can&amp;#39;t seem to find anything equivalent for BLE.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2017 00:04:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12/is-there-a-serial-port-profile-for-ble" /><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/50?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 00:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e537266a-0df0-4b52-8ff8-a2bd2335f9e3</guid><dc:creator>Carlos Delfino</dc:creator><description>&lt;p&gt;Hi @Ole Morten, the suggested link is broken. please, have other link?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/49?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 09:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b4c85a-fc37-42aa-9b67-8d8f16647eb7</guid><dc:creator>Gokhan</dc:creator><description>&lt;p&gt;Hello. Is there this application note for nRF52832 Development Kit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/54?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2013 08:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e17568ff-8279-4e7c-9785-17c05c0a581e</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Just for completeness, the application note mentioned is available here: &lt;a target="_blank" href="https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip" rel="nofollow"&gt;https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/56?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2013 08:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6b3b288-70f0-46f3-b232-feb53dd839cb</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Just for completeness, the application note mentioned is available here: &lt;a target="_blank" href="https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip" rel="nofollow"&gt;https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/45?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2013 12:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a67b31fa-de38-415e-acc1-83d9a3f031b9</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The application note is now out! Get it here: &lt;a target="_blank" href="https://www.nordicsemi.com/eng/nordic/download_resource/24020/2/80193304" rel="nofollow"&gt;https://www.nordicsemi.com/eng/nordic/download_resource/24020/2/80193304&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/44?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2013 12:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:240a07bc-4caa-4064-9d2a-78593c53d0b1</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Sorry for the delay in answering this. Unfortunately no news on the schedule for the app note.&lt;/p&gt;
&lt;p&gt;As for your questions on host support, Henning, they may be better suited in a separate question. It won&amp;#39;t be covered by the app-note. However, to answer it briefly most new OS-es from now seems to expose native GATT APIs, making it easy to connect to BLE devices and using their services. It won&amp;#39;t give you a normal serial port, but APIs that still should be quite easy to use. This is applicable for Windows 8, iOS from version 5 and Android from 4.3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/55?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2013 08:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace266cc-d55b-4ab4-8640-80908dcb5129</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Unfortunately no ETA, but for an actual working example of a custom service you can take a look at the UART application available here:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/nrf-uart-app#reply-402" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/nrf-uart-app#reply-402&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/53?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2013 08:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bba1c7d-4c29-40e9-9ec6-26e77f5540cc</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Unfortunately no ETA, but for an actual working example of a custom service you can take a look at the UART application available here:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/nrf-uart-app#reply-402" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/nrf-uart-app#reply-402&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/43?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2013 19:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42d81e02-eb78-402b-ab12-f9fdba524254</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;Very useful information. However - one of the reasons SPP is so attractive is on the host side (PC, smartphone,,):
Here you don&amp;#39;t need to use and know special libraries to get connected to SPP. Its the usually well known serial port library which is supported in all compilers and languages.&lt;/p&gt;
&lt;p&gt;Can you comment what is needed on the host side for this BLE solution? I know this may be too broad a scope to answer. Personally I am in Windows.&lt;/p&gt;
&lt;p&gt;Will this  aspect be mentioned in the upcoming app note?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/52?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2013 18:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ae995a6-7771-4a6d-8048-5a144d660993</guid><dc:creator>Philip</dc:creator><description>&lt;p&gt;&amp;quot;application note explaining how to build a custom service for the S110&amp;quot;&lt;/p&gt;
&lt;p&gt;This would be tremendously valuable.  A basic example using the softdevice gatt functions would make this a lot easier.  Although the BPS example is simple, it doesn&amp;#39;t provide enough information to extrapolate the order of operations needed to setup the custom GATT details.&lt;/p&gt;
&lt;p&gt;Any ETA?  Shoot, a code snippit showing the services_init() function would probably be enough to help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/42?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2013 13:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84b608e7-e9d0-44fb-b7d2-ed406c541270</guid><dc:creator>sd</dc:creator><description>&lt;p&gt;Hi Ole. Any news on that services app note? ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/51?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2013 19:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3f6f17a-9e07-4639-9a3b-311a114ae559</guid><dc:creator>KPE</dc:creator><description>&lt;p&gt;Thanks again for your prompt replies - they are incredible helpful :-)&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try to extend the battery service and see if I can make something useful out of it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/46?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2013 18:21:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c4cc529-31dc-41a0-87e9-63f9f94d8b5e</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Unfortunately, I can&amp;#39;t really give any promises on schedule yet, especially not now in the time of holidays and variants.&lt;/p&gt;
&lt;p&gt;In the mean time, this question, which I answered earlier may give some good hints:
&lt;a target="_blank" href="http://devzone.nordicsemi.com/index.php/what-is-the-most-efficient-way-to-transfer-data-over-ble" rel="nofollow"&gt;http://devzone.nordicsemi.com/index.php/what-is-the-most-efficient-way-to-transfer-data-over-ble&lt;/a&gt;
The general tip is to structure things similar to the SDK services, make an init method that adds the service and all its characteristics, an event handler to handle events coming from the S110 and then all methods you need to do whatever is special for your service. As I said to the other person, the battery service is probably the simplest in the SDK, and should be a good starting point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/47?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2013 17:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4469d8e-73e7-43c8-91f4-030710477e59</guid><dc:creator>KPE</dc:creator><description>&lt;p&gt;Ole Morten - thanks for the hints on how to setup the connection interval etc.
I&amp;#39;m now able to control the connection rate, so the next step is to actually try and implement a custom service. When do you expect an example to be ready?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/48?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2013 12:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:527767b6-0ea1-4e67-89c2-21c9ca7974d9</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Thanks for your ultra fast reply. I&amp;#39;ll take alook at it again. Could you also provide me with some hints on making a custom service (with custom data). I need to send around 1KB/sec, but I wasn&amp;#39;t able to acheive this rate with my first BLE attempt. So I&amp;#39;ve moved to Gazelle, but BLE might be a better choice in the long run.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/57?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2013 12:15:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5053e11c-3c0d-4668-9a11-f7d3c04b5066</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The primary factor deciding how fast the S110 will be able to send data is the connection interval. Please take a look on this:
&lt;a target="_blank" href="http://devzone.nordicsemi.com/index.php/what-is-connection-parameters" rel="nofollow"&gt;http://devzone.nordicsemi.com/index.php/what-is-connection-parameters&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To change it, the SDK includes a module called ble_conn_params, which will send update request based on the defines in the top of main.c of the application. It could be worth looking into. If you still can&amp;#39;t make it work the way you want, I&amp;#39;d recommend you to create a new question, attaching your code so that we can take a look.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/58?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2013 12:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49a7bb06-7215-4d50-8d6a-612e4fe1f202</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;I&amp;#39;m looking forward to this. I tried this approach, but I wasn&amp;#39;t able to send data fast enough. It seems like there&amp;#39;s a limit on the number of updates pr. second, and the max length of the data returned. I&amp;#39;d love to have an example that shows how to do custom services.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a serial port profile for BLE?</title><link>https://devzone.nordicsemi.com/thread/41?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2013 20:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3456b6f-b8b0-4ec2-83c3-133e8e49195f</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;No, there isn&amp;#39;t really any SPP equivalent. However, with BLE, it is important to understand that all the profile and service support is entirely in the application space. This is opposed to the situation in Bluetooth Classic, where it seems to me that all profiles used in the application actually had to be natively supported by the stack used.&lt;/p&gt;
&lt;p&gt;This means that with BLE, there isn&amp;#39;t really a need for a serial port service to transmit custom data, since you can easily make your custom service, that is specially tailored for the data your application needs to transfer. This avoids the need for cramming all kinds of data into serial packages, and most often this leads to much cleaner data handling strategies and hence applications.&lt;/p&gt;
&lt;p&gt;We&amp;#39;re working on an application note explaining how to build a custom service for the S110, and I&amp;#39;ll add a link here as soon as it&amp;#39;s published. For now, I&amp;#39;d recommend taking a look at the battery service (ble_bas.c, ble_bas.h), and trying to understand it at least partially and building from there.&lt;/p&gt;
&lt;p&gt;Edit: The application note is now out; &lt;a href="https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip"&gt;nAN-36&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>