<?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>implementing custom service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109776/implementing-custom-service</link><description>product details: 
 nRF52840 custom board 
 nRFConnectSDK 2.2.0 
 we want to implement custom service interacting with the Android app. 
 Where we will receive on command from Android app and we will do some processing and sending the data back to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jul 2024 12:45:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109776/implementing-custom-service" /><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/492461?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 12:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db3aa7c5-3b96-4dd6-84dc-a7fcfb62d433</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Serial recovery is perfomed&amp;nbsp;within the bootloader which does not run concurrently with the main app, so&amp;nbsp;I wouldn&amp;#39;t expect the DFU process to interfere with your regular UART comminucation.&amp;nbsp;&lt;/p&gt;
[quote user="Srikara"]interface ot iMX the same UART will not be there for BLE peripheral UART purpose[/quote]
&lt;p&gt;It is up to the application to decide what data to relay over the BLE link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/492434?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 11:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c2cfb7-9a5d-4a22-a8ac-328b05e99bb6</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;we need UART for DFU. For DFU he suggested serial recovery and other method. I need to test that in our board. Serial recovery I have tested in DK.&lt;/p&gt;
&lt;p&gt;Also we want to have one option of BLE peripheral UART. This we have tested in DK and in OUR board. But when we interface ot iMX the same UART will not be there for BLE peripheral UART purpose and DFU.&lt;/p&gt;
&lt;p&gt;As of now you can ignore DFU, as we are verifying serail recovery method.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/492240?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 12:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9779a4f-4488-4559-bc3e-b5f1e3eaac43</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Could you give a brief summary of what you need the UART for? I understand from the discussion that you use it as an interface between the nRF5 and IMX, but I&amp;#39;m not sure what else you need it for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/491515?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 08:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a427296-0097-4e79-ad00-7e4bb694d769</guid><dc:creator>Srikara</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/109776/implementing-custom-service/491320"]These sound like custom requirements for Bluetooth LE operations.&lt;br /&gt;I suggest that you take the DevAcademy Bluetooth Course and learn how to implement your own Bluetooth LE applications so you can make it custom to match your requirements.[/quote]
&lt;p&gt;Actually what i mean to say is uart0 is already engaged with iMX, and also uart0 is getting used in peripheral UART.&lt;/p&gt;
&lt;p&gt;So for both to work together it is not possible right?&lt;/p&gt;
&lt;p&gt;Because we have only one uart is exposed in our custom HW.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/491320?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 12:10:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383bc1ec-3192-490f-8268-2a03c5605a1b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Srikara"]&lt;p&gt;If he is sending request from android app, he will receive response to android app.&lt;/p&gt;
&lt;p&gt;for example: read command is sent&lt;/p&gt;
&lt;p&gt;then all the nearby RFID tags details will be sent to android app&lt;/p&gt;
&lt;p&gt;If he is sending from iMX he will be received to iMX&lt;/p&gt;
&lt;p&gt;for example: read command is sent&lt;/p&gt;
&lt;p&gt;then all the nearby RFID tags details will be sent to&amp;nbsp;iMx&lt;/p&gt;
&lt;p&gt;Like read we have lot of commands so usage may be iMX/Android app.&lt;/p&gt;
&lt;p&gt;This is our requirement. Will this can be done? If so How we will do it.&lt;/p&gt;[/quote]
&lt;p&gt;These sound like custom requirements for Bluetooth LE operations.&lt;br /&gt;I suggest that you take the DevAcademy Bluetooth Course and learn how to implement your own Bluetooth LE applications so you can make it custom to match your requirements.&lt;/p&gt;
&lt;p&gt;EDIT:&lt;br /&gt;And when I say &amp;quot;custom&amp;quot;, I mean that we do not have any samples that does exactly this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/491227?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 07:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86e68bb2-e007-4b68-9de6-f79d0db4629b</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;we need both, same customer may send the data from iMX and android app.&lt;/p&gt;
&lt;p&gt;If he is sending request from android app, he will receive response to android app.&lt;/p&gt;
&lt;p&gt;for example: read command is sent&lt;/p&gt;
&lt;p&gt;then all the nearby RFID tags details will be sent to android app&lt;/p&gt;
&lt;p&gt;If he is sending from iMX he will be received to iMX&lt;/p&gt;
&lt;p&gt;for example: read command is sent&lt;/p&gt;
&lt;p&gt;then all the nearby RFID tags details will be sent to&amp;nbsp;iMx&lt;/p&gt;
&lt;p&gt;Like read we have lot of commands so usage may be iMX/Android app.&lt;/p&gt;
&lt;p&gt;This is our requirement. Will this can be done? If so How we will do it.&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/109776/implementing-custom-service/491224"]&lt;p&gt;You have two alternatives, and I am not sure which one you need. Here they are, with suggested solutions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Receive data over UART from iMX and send directly over BLE without changing data:
&lt;ol&gt;
&lt;li&gt;Run Peripheral UART sample as is. Minor changes needed.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Receive data over UART from iMX. Do operations with data on nRF. Then send something else over BLE.
&lt;ol&gt;
&lt;li&gt;Learn how to implement Bluetooth applications from &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/"&gt;DevAcademy Bluetooth course&lt;/a&gt;. Specifically its &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-4-bluetooth-le-data-exchange/topic/blefund-lesson-4-exercise-3/"&gt;Lesson on Bluetooth and UART&lt;/a&gt; will be useful for you.&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;[/quote]
&lt;p&gt;Based on our requirement&amp;nbsp;i think this is not useful i Believe.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/491224?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 07:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b00f4ada-ed8e-4492-90e0-2832cfba4ec2</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Srikara"]&lt;p&gt;This code is merging of two nRF connect SDK sample applications.&lt;/p&gt;
&lt;p&gt;C:\ncs\v2.2.0\nrf\samples\bluetooth\peripheral_uart&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;C:\ncs\v2.2.0\zephyr\samples\drivers\uart\echo_bot&lt;/p&gt;[/quote]
&lt;p&gt;The peripheral_uart sample already does UART for your.&lt;br /&gt;I do not think merging these two samples makes much sense.&lt;/p&gt;
&lt;p&gt;You have two alternatives, and I am not sure which one you need. Here they are, with suggested solutions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Receive data over UART from iMX and send directly over BLE without changing data:
&lt;ol&gt;
&lt;li&gt;Run Peripheral UART sample as is. Minor changes needed.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Receive data over UART from iMX. Do operations with data on nRF. Then send something else over BLE.
&lt;ol&gt;
&lt;li&gt;Learn how to implement Bluetooth applications from &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/"&gt;DevAcademy Bluetooth course&lt;/a&gt;. Specifically its &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-4-bluetooth-le-data-exchange/topic/blefund-lesson-4-exercise-3/"&gt;Lesson on Bluetooth and UART&lt;/a&gt; will be useful for you.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Do I understand correctly? Does my suggestions make sense?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/491208?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 04:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c659974e-8d52-47c0-a0de-ec8a87633d73</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry, ithink misunderstood.&lt;/p&gt;
&lt;p&gt;I am asking about second picture where it is UART interface to iMX.&lt;/p&gt;
&lt;p&gt;In this case UARTE0 is needed and it uses uart0 and in actual communication case also&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define UART_DEVICE_NODE DT_CHOSEN(zephyr_shell_uart)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;struct device *uart_dev = DEVICE_DT_GET(UART_DEVICE_NODE);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;uart0 is used.&lt;/p&gt;
&lt;p&gt;So we want both BLE and uart communication need to be worked.&lt;/p&gt;
&lt;p&gt;Please gothrough the code i ahve shared. YOu will have a clue what i am asking.&lt;/p&gt;
&lt;p&gt;This code is merging of two nRF connect SDK sample applications.&lt;/p&gt;
&lt;p&gt;C:\ncs\v2.2.0\nrf\samples\bluetooth\peripheral_uart&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;C:\ncs\v2.2.0\zephyr\samples\drivers\uart\echo_bot&lt;/p&gt;
&lt;p&gt;these two together should work on uart communication.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/491168?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 15:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a49ddae4-5fec-43c1-b508-3713fe4908eb</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Srikara"]Still we need&amp;nbsp;CONFIG_NRFX_UARTE0=y with CDC_ACM interface to iMX and also UART interface?[/quote]
&lt;p&gt;I do not think you need UARTE drivers to do CDC_ACM, no.&lt;/p&gt;
[quote user="Srikara"]Is this both possible in single application. Currently as you suggested we&amp;nbsp;are in process to move UART method to serial recovery method. But before that making our code work with BLE over UART has become priority. So requesting this in paralllel to other ticket.[/quote]
&lt;p&gt;MCUmgr only supports one interface at a time for its DFU, unfortunally. It is probably possible to work around this somehow, but I do not think it will be easy.&lt;br /&gt;I think that generally, it will be easier to make the app if you have different application code for the UART device and the CDC ACM device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/490980?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 03:34:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4319078a-9c50-46c6-a713-2f7b676ade9c</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1719458925994v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;we have two different products where in 1 it goes as USB CDCACM.&lt;/p&gt;
&lt;p&gt;In another we have UART interface. In this we want to tap the data to BLE connected to Android app/ios app. In the same we want UART communication to iMX.&lt;/p&gt;
&lt;p&gt;Ofcourse currently testing this with laptop instead of iMX where UART driver send data to COM(testing with tera term). Final thing will be iMX.&lt;/p&gt;
&lt;p&gt;Is this both possible in single application. Currently as you suggested we&amp;nbsp;are in process to move UART method to serial recovery method. But before that making our code work with BLE over UART has become priority. So requesting this in paralllel to other ticket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;adding to the above query, UARTE is taking uart0 i think.&lt;/p&gt;
&lt;p&gt;Just now found nelw lines from:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;config&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRFX_UART0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;bool&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;UART0 driver instance&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;depends on&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;$(&lt;/span&gt;&lt;span&gt;dt_nodelabel_has_compat,uart0,&lt;/span&gt;&lt;span&gt;$(&lt;/span&gt;&lt;span&gt;DT_COMPAT_NORDIC_NRF_UART&lt;/span&gt;&lt;span&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;select&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRFX_UART&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;config&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRFX_UARTE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;bool&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;config&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRFX_UARTE0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;bool&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;UARTE0 driver instance&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;depends on&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;$(&lt;/span&gt;&lt;span&gt;dt_nodelabel_has_compat,uart0,&lt;/span&gt;&lt;span&gt;$(&lt;/span&gt;&lt;span&gt;DT_COMPAT_NORDIC_NRF_UARTE&lt;/span&gt;&lt;span&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;select&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRFX_UARTE&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;C:\ncs\v2.2.0\zephyr\modules\hal_nordic\nrfx\kconfig&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So will uart0 is available for BLE and also COM/shell connection.&lt;/p&gt;
&lt;p&gt;for shell/data communication we are using below&amp;quot;&lt;/p&gt;
&lt;p&gt;#define UART_DEVICE_NODE DT_CHOSEN(zephyr_shell_uart)&lt;br /&gt;struct device *uart_dev = DEVICE_DT_GET(UART_DEVICE_NODE);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Peripheral UART uses:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;static&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;device&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;uart&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;DEVICE_DT_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;DT_CHOSEN&lt;/span&gt;&lt;span&gt;(nordic_nus_uart));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Both can be used in same application?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Sorry for multiple edits.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I thought one thing, so added the UART code to BLEperipheral UART code which i tested on nRF52840 DK.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;On to the same I tested echo_bot code seperately to test serial code.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;ow I merged both, and see only BLE code works as it took over the UART first.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In main.c the code in #if 1 ... #endif belongs to serial.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Attaching here.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BLEperipheraUART.zip"&gt;devzone.nordicsemi.com/.../BLEperipheraUART.zip&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/490841?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 10:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c315b0d-cbac-4de7-8cb3-4debb62d7ece</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;We are talking about multiple devices now.&lt;br /&gt;Are you able to make a drawing of communication lines here, so I do not misunderstand?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/490830?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 09:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41a093d7-a064-4c0d-b84e-c55df6b86150</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As you know was busy with serail recovery testing did not spend time on this.&lt;/p&gt;
&lt;p&gt;Now on DK i am able to test the peripheral UART using nRF Tool box.&lt;/p&gt;
&lt;p&gt;In peripheral UART we are using&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Enable the UART driver&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_ASYNC_API&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRFX_UARTE0&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SERIAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;now my query is initially i want to port this to our custom board with CDC_ACM.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;also we have the UART implemented and custom driver is used where we are able to communicate to UART and get the data also.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Still we need&amp;nbsp;CONFIG_NRFX_UARTE0=y with CDC_ACM interface to iMX and also UART interface?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/488777?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 01:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ce55264-efd4-427f-99d5-6ed77ca6d4fe</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;ok sure. Will check that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/488503?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 12:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfdb68aa-583c-4e65-b647-b4ec052594ab</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;For the android app, it is mostly up to you.&lt;/p&gt;
&lt;p&gt;However, we have the source code for the nRF Toolbox open source: &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox"&gt;https://github.com/NordicSemiconductor/Android-nRF-Toolbox&lt;/a&gt;. You can use this as inspiration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/488450?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 09:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abac342e-5065-4499-8325-8084358e9bee</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;with NRF tool box it works fine.&lt;/p&gt;
&lt;p&gt;Now this peripheral UART we want to port to other application (which we were discussing in private ticket.).&lt;/p&gt;
&lt;p&gt;Now my team head want this app to be ported to our app and also the android app to support this.&lt;/p&gt;
&lt;p&gt;Can we suggest the steps to be proceeded to create android app to handle this(we may do it from scratch or already we have some app and we want to add this.)&lt;/p&gt;
&lt;p&gt;Usually there will be commands sent on RX characteristic and will receive the data from nRF.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/488308?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 11:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a12601-48e7-490d-9061-fbdc0fed0f36</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;The code I shared is meant for two different DKs, one for each sample.&lt;/p&gt;
&lt;p&gt;You can also use the UART Peripheral sample together with the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-toolbox"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-toolbox&lt;/a&gt;, which should make it easy to test.&lt;/p&gt;
&lt;p&gt;Does this answer your questions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/488265?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 09:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb0fb7e0-c82c-408e-a7df-fb8e721cdf35</guid><dc:creator>Srikara</dc:creator><description>[quote userid="112768" url="~/f/nordic-q-a/109776/implementing-custom-service/488263"]Also i am able to send in the RX characteristic only test and able to see that data in COM port connection(Teraterm)[/quote]
&lt;p&gt;able to send any data but able to see only test data not byte. But in the RTT logs i can see data is received. Also when send ign data from nRF to android app the data sent is failed.&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718097502261v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Sorry. One more point, as per the link you shared i have just build the code without any modifications mentioned in the documentaion.&lt;/p&gt;
&lt;p&gt;Will that be need for this to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/488263?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 09:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:885b6c86-9c88-4415-a3d1-cea47b1e935a</guid><dc:creator>Srikara</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/109776/implementing-custom-service/487883"]developer.nordicsemi.com/.../quote]
&lt;p&gt;Thank you. I have used this peripheral UART. built and falshed onto nRF52840DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Foolowed the steps mentioned in testing column.&lt;/p&gt;
&lt;p&gt;Did not understand the point 8.&lt;/p&gt;
&lt;p&gt;Also i am able to send in the RX characteristic only test and able to see that data in COM port connection(Teraterm)&lt;/p&gt;
&lt;p&gt;to send the data from nRF DK to nRF Connect app pont 12 is not working. I am not seeing any thing happening on the android app side. How to verify the notification?&lt;/p&gt;
[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/487883?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2024 11:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af32a887-2d63-44e1-a782-4cdbebdd629c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Srikara"]Like in&amp;nbsp; nRF 5 sdk , do we have any sample which supports UART over BLE.[/quote]
&lt;p&gt;Yes&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_uart/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_uart/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Srikara"]Do we need Descriptor and NOTIFY&amp;nbsp; in WRITE case/ READ case.[/quote]
&lt;p&gt;Android -&amp;gt; nRF: WRITE, do not use notify&lt;br /&gt;nRF -&amp;gt; Android: READ, use notify&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/487827?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2024 06:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d201c42-280a-4279-a261-57c72062a19c</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;Like in&amp;nbsp; nRF 5 sdk , do we have any sample which supports UART over BLE.&lt;/p&gt;
&lt;p&gt;We want to recive the request from the Android app and then send the data to app.&lt;/p&gt;
&lt;p&gt;THe data is read from UART in nRF.&lt;/p&gt;
&lt;p&gt;One more thing is&lt;/p&gt;
&lt;p&gt;1.We will receive request from Android app(actually read RFID data)&lt;/p&gt;
&lt;p&gt;2.we will be sending the data to Android app--&amp;gt; this data may be continuous(this will be RFID tags data)&lt;/p&gt;
&lt;p&gt;For this i feel two characteristics needed.&lt;/p&gt;
&lt;p&gt;. service&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;.--- Read Chracteristic&amp;nbsp; &amp;nbsp;----READ&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --- write characteristic&amp;nbsp; &amp;nbsp; ---- WRITE&lt;/p&gt;
&lt;p&gt;Do we need Descriptor and NOTIFY&amp;nbsp; in WRITE case/ READ case.&lt;/p&gt;
&lt;p&gt;can you suggest on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/483224?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 11:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54b3df17-cead-4c9a-b5ed-038395baf876</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Srikara"]Ok Ok got it. You are saying in the settings we can select to see all the device instead of running with SMP server.[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;And if you make your own phone app later you can make that phone app sort for your UUID specifically&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/483189?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 08:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e734bdcc-2efe-485f-a994-f364c10cbf4a</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;Ok Ok got it. You are saying in the settings we can select to see all the device instead of running with SMP server.&lt;/p&gt;
&lt;p&gt;Will test that, may not be now as busy in other project/issues. \&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/483188?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 08:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65bc2a88-ed5c-414f-9a4b-0ab6c01604b1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Srikara"]But for the FW upgrade if we are using nRF Device manager app it will shortlist by the DFU service right?[/quote]
&lt;p&gt;Yes, but in the settings for the app you can choose to list all devices instead, and then choose device, even if it is listing the DFU service or not.&lt;/p&gt;
&lt;p&gt;Does that answer your question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/483152?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 05:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1544f889-3712-45e7-9618-098e8179b163</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry for the late response. I was on leave for last 2weeks. I was able to understand how to add custom service. But Now how to add the two services and in the advertisemnet packet i may need to have both DFU service and the custom service as the app will intiate the connection if the custom service is implemented. But for the FW upgrade if we are using nRF Device manager app it will shortlist by the DFU service right? ot is there any other way we can do DFU over BLE.:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;devzone.nordicsemi.com/.../ncs-dfu&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implementing custom service</title><link>https://devzone.nordicsemi.com/thread/481059?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 11:42:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf0b4be4-a0cc-48bc-8a74-041ee90bb040</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Did you look at the course I linked to?&lt;/p&gt;
&lt;p&gt;Were you able to add a custom service?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>