<?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>NRF52810 data i/o characteristic help sought</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81252/nrf52810-data-i-o-characteristic-help-sought</link><description>The peripheral application I&amp;#39;m working on implements a service which must handle multi-byte incoming messages from a central device and would welcome a pointer to any example code that demonstrates how I might code this. (I am working on a ublox BMD-330</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Nov 2021 16:08:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81252/nrf52810-data-i-o-characteristic-help-sought" /><item><title>RE: NRF52810 data i/o characteristic help sought</title><link>https://devzone.nordicsemi.com/thread/337142?ContentTypeID=1</link><pubDate>Tue, 02 Nov 2021 16:08:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e87ad494-1dce-47d8-b2fe-cc282fd33adb</guid><dc:creator>pmguy</dc:creator><description>&lt;p&gt;Thanks for the reply, Edvin.&lt;/p&gt;
&lt;p&gt;The MIDI code was indeed based on the &lt;strong&gt;ble_app_template&lt;/strong&gt; example in your sdk.&amp;nbsp; Originally I did look in the sdk for the example code I wanted but I obviously failed to spot what I was looking for in the uart example!&amp;nbsp; I&amp;#39;ll take a look there as soon as I have managed to get my project to build (configuring the project for AES-128 ECB only is proving very difficult!).&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Pete&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 data i/o characteristic help sought</title><link>https://devzone.nordicsemi.com/thread/337097?ContentTypeID=1</link><pubDate>Tue, 02 Nov 2021 12:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:433400e8-41bd-4054-a0d3-d3d4cb9735d8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Since the MIDI code on NovelBits was not provided by us, I don&amp;#39;t dare to say why it works with one byte, but doesn&amp;#39;t work with two bytes. May I suggest you to look into the ble_app_uart example from our SDK. It looks like the midi example provided on novelbits.io is also based on the SDK, so I guess you already have it. I am not saying you need to use ble_app_uart in the end, but perhaps you can compare the two samples, and see how ble_app_uart handles the initialization and the events where the messages contain more than one byte.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>